FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Check out latest tag for scheduled pipelines

Merged Sebastiaan ten Pas requested to merge 10-scheduled-docker-builds into main
All threads resolved!

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

Pipeline #591220 passed

Pipeline passed for 95ebfefc on 10-scheduled-docker-builds

Test coverage 96.00% (0.00%) from 3 jobs

Merged by Sebastiaan ten PasSebastiaan ten Pas 5 months ago (Sep 17, 2024 6:39am UTC)

Loading

Pipeline #631050 passed with warnings

Pipeline passed with warnings for b54e8c81 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Mike Knee requested changes

    requested changes

  • added 1 commit

    • 572a1df6 - refactor: move scheduled-builds to .gitlab folder

    Compare with previous version

  • Sebastiaan ten Pas resolved all threads

    resolved all threads

  • Sebastiaan ten Pas requested review from @mk2155

    requested review from @mk2155

  • added 1 commit

    • 95ebfefc - fix: scheduled-builds.yml reference in example gitlab file

    Compare with previous version

  • Mike Knee approved this merge request

    approved this merge request

  • mentioned in commit b54e8c81

  • Please register or sign in to reply
    Loading