Repository navigation
chore(ci): Move release jobs to tart runners - #1318
Draft
leoromanovsky wants to merge 1 commit into
Draft
leoromanovsky wants to merge 1 commit into
leoromanovsky wants to merge 1 commit into
Conversation
prepare-release and push-release-trigger-tag still asked for macos:sequoia runners, which no longer pick up jobs, so both stayed pending forever. Run them on .tart-runner like the other macOS jobs. The tart image has no commit-headless, so build the 2.0.3 release from source with gimme.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The
prepare-releasejob for the flags release (job 2283042813) stays pending. No runner matches its tags,macos:sequoiaandspecific:true.f6843a1 moved the build and test jobs to
macos:tart. The release jobs kept the old tags. In the last 100 finished pipeline jobs, every macOS job ran on "Macos Tart Hypervisor".push-release-trigger-taghas the same tags. If we fix onlyprepare-release, the release stops again after the release-prep PR merges tomain.The same problem occurred in
dd-openfeature-provider-swift. DataDog/dd-openfeature-provider-swift#48 fixed it there.Changes
prepare-releaseandpush-release-trigger-tagextend.tart-runner. Theirmacos:sequoiatags are removed.prepare-releaseuses.pre-tartinstead of.pre, the same as the other tart jobs..install-commit-headlesssnippet. The tart image has nocommit-headless. The snippet builds v2.0.3 from source withgimmeandgo install. It runs only when the binary is missing..tart-aws-credentialssnippet. It exports the VM's AWS credentials beforeauthanywhereruns..nightly-varsnow uses the same snippet in place of its inline copy..nightlyno longer setsmacos:sequoiatags. Every job that extends.nightlysets its own tags, so these tags had no effect.Decisions
release_publisher.dartsends the commits on stdin. v3 removed that input. The old runner image had v2.0.1. v2.0.3 has the same CLI and fixes for empty and deleted files. I built it locally and checked thatpushaccepts-T,--branch,--head-sha,--create-branch, and stdin commits.ddoghq/ci-platform-machine-images. A change there needs a separate review and an image rebuild. Thecommand -vguard skips the build when a later image includes the binary.authanywhereneeds it on tart. The Swift provider needed the same export for Vault. The export does nothing when the credentials are already in the environment..infra-retrynow applies to the release jobs. It retries only on runner system failures, stuck jobs, and scheduler failures. A retry starts from a clean VM.Testing
ci/lint, dry run ondevelop) passes.prepare-releaseresolves to themacos:tarttag.prepare-releasefrom this branch. Its rules allow only pushes todevelop, release branches, andv4. The first real check is a manual run after this merges.