Check out latest tag for scheduled pipelines
Part of #10 (closed)
The main
branch can contain unreleased code. This merge request will make sure that for scheduled pipeline builds we automatically check out the last tag revision so that we run the build
job and the example build
job on that revision. This is because we need to pick a target branch or tag for our scheduled pipelines and this is not dynamic, meaning that we can't say: pick the last tag. We have to select a static tag or branch. It makes sense to pick the main
branch in that case.
I created a scheduled pipeline as a test. The pipeline results can be found here:
I deleted the scheduled pipeline to make sure we don't run it again until this code has been approved and merged.
Note that after we merge this MR, we still need to set up the scheduled pipeline again. My proposal would be to set this up for every Monday 4:30am (exactly 24 hours after the weekly scheduled pipeline of the Docker Images repo).
Merge request reports
Activity
assigned to @st981
requested review from @mk2155
- Resolved by Sebastiaan ten Pas
added 1 commit
- 572a1df6 - refactor: move scheduled-builds to .gitlab folder
requested review from @mk2155
added 1 commit
- 95ebfefc - fix: scheduled-builds.yml reference in example gitlab file
added teamIdentity workflowReview Required labels
removed workflowReview Required label
removed teamIdentity label
mentioned in commit b54e8c81