Skip to content

Add a on_stop job to cleanup as-if-foss branch

Lin Jen-Shin requested to merge 412717-cleanup-as-if-foss-branch into master

What does this MR do and why?

Add a on_stop job to cleanup as-if-foss branch, and then have a subsequent job to delete the environment because we're relying on that to automatically clean up the branch and we no longer need the environment. Note that we cannot delete the environment in the stopping job because we can only delete the environment after it's stopped and that means the stopping job needs to finish first.

This also optimize prepare-as-if-foss-env

In a separate commit so please don't squash.

How to validate

Related to #412717 (closed)

Edited by Lin Jen-Shin

Merge request reports