Repository navigation
ci(release)!: one vX.Y.Z tag per release, built per network - testneton tag push, mainnet by promotion - #154
Merged
Merged
Conversation
… on tag push, mainnet by promotion
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.
Summary
Replaces
release.ymlwith a release flow that builds onevX.Y.Ztag per release, once per network. The hyperbridge coprocessor is a compile-time feature, so testnet and mainnet need different binaries from the same tag.-rc.Ntags are retired. The binary reports<crate version>-<sha>to telemetry and--version, so the tag is now what operators actually see.Behaviour
vX.Y.ZX.Y.Z-testnet,testnet-latestenvironment=mainnet,version=X.Y.ZX.Y.Z,latestenvironment=testnetA tag push always targets testnet. Mainnet is only ever a manual promotion.
Gates
orbinum-nodecrate version, read at the tag rather than the checkout.X.Y.Z-testnetto exist.docker-publishwaits for themainnetenvironment reviewer. Pushinglatestis mainnet's rollout through Watchtower.github-releaseruns afterdocker-publish, so a rejected promotion cannot leave a final release for an image that was never pushed.Fixes over the previous workflow
-rcas a release yet forcedENV=testnet. Av0.2.0push would have publishedlatest,0.2.0and0.2with a testnet-flavour binary.X.Y.Z-testnetvsX.Y.Z).Compatibility
runtime-upgrade.ymlis unchanged. It already mapsX.Y.Z-testnet→ git tagvX.Y.Zfor its provenance check, and still accepts historic-rc.Nimages.docs/DEPLOYMENT_FLOW.mddescribes this flow.