GSA-TTS / gitlab-runner-cloudgov

Code for running GitLab CI/CD jobs on cloud.gov
Other
3 stars 0 forks source link

Add flags to keep GLR-W/S from being cleaned #40

Closed zjrgov closed 2 months ago

zjrgov commented 2 months ago

🎫 Addresses issue: #39

Flags to skip worker/service cleanup.

🛠 Summary of changes

When triggering a manual pipeline you can add these variables to cleanup of workers and/or services. The variables are PRESERVE_WORKER, and PRESERVE_SERVICES respectively. The CUSTOM_ENV_… gets appended by the runner.

zjrgov commented 2 months ago

@rahearn yeah that's the idea--manual cleanup. The cleanup is relatively easy and much quicker.

The alternative right now is manually disabling cleanup in the script and redeploying the runner which is slow and global so potentially disruptive.

zjrgov commented 2 months ago

@rahearn feel OK with me expanding #34?

rahearn commented 2 months ago

@rahearn feel OK with me expanding #34?

Yes!