Skip to content

CI: Override charts trigger review app lifespan

Mitchell Nielsen requested to merge ci-charts-trigger-stop-env into master

What does this MR do?

CI: Override charts trigger review app lifespan

Overrides the review app lifespan in the Charts trigger pipelines, down from 2 days to 1 hour. These pipelines are typically used as a smoke test for changes in the CNG project and do not need to live the full two days in most cases. This will help alleviate resource usage in our Charts CI clusters.

Depends on gitlab-org/charts/gitlab!3499 (merged).

Related issues

Related to gitlab-org/charts/gitlab#4226

Test plan

Downstream trigger pipeline: https://gitlab.com/gitlab-org/charts/gitlab/-/pipelines/1080593692

Environment shows automatically stopping in ~1 hour:

image

And then the stop_* jobs indeed ran ~1 hour later instead of the 2-day default.

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
  • New dependencies are managed with dependencies.io
Edited by Mitchell Nielsen

Merge request reports