Repository navigation
In progress
Labels
release 📦Release
Description
Why
In order to deploy new features, improvements and bug fixes, we need to release a new distribution.
Note
The previous distribution has been created with #3498 .
What
Create and release a new distribution 2650
Distribution 2650
Important
- Maintenance:
- Rotate ancillary signer service account keys in
release-mainnet -
Remove deprecated features ofmithril-client - Clean infra upgrade branches if any
- Restart the Cardano block producers of the Mithril signers after the relay socket rename:
-
pre-release-preview -
release-preprod
-
- Rotate ancillary signer service account keys in
- Dependencies:
- Upgrade to Cardano node
11.2.3? (⚠️ triggers a ledger state replay, need for warmup nodes)-
pre-release-preview -
release-preprod -
release-mainnet
-
- Upgrade to DMQ node
0.7.2.2?-
pre-release-preview -
release-preprod -
release-mainnet
-
- Upgrade to Cardano node
- Removal:
- Remove the deprecated commands generating ed25519 key pairs
genesis keypairandera keypair - Remove the legacy broadcast of protocol configuration through aggregator
- Remove the deprecated commands generating ed25519 key pairs
- IPFS:
- Add
IPFS_RPC_AUTH_TOKEN-
pre-release-preview
-
- Add IPNS DNSLink record in network configuration matrix
-
pre-release-preview
-
- Clear the immutable compressed archives cache:
-
pre-release-preview
-
- Activate IPFS in CI workflows:
-
pre-release-preview
-
- Set IPFS/IPNS GitHub variables and secrets
AGGREGATOR_IPFS_SHARE,IPFS_NODE_DOCKER_REGISTRY,IPFS_NODE_VERSION,IPFS_IPNS_SIGNING_KEY:-
pre-release-preview
-
- Add
- Dev blog post:
- Distribution
2650 - Update dev blog post for stable version of the client certificate chain cache
- IPFS:
- Create a dev blog post that explains the rollout phases
- SNARK:
- Create a dev blog post explaining the transition to dual genesis
- Distribution
Distribution 2650+1:
Scope of the next distribution
- Maintenance:
- Rotate ancillary signer service account keys in
release-mainnet- Remove deprecated features of
mithril-client- Clean infra upgrade branches if any
- Dependencies:
- TBD
- Dijkstra/Leios support:
- Released version of Pallas that supports Dijkstra/Leios
- IPFS:
- Add
IPFS_RPC_AUTH_TOKEN
release-preprodrelease-mainnet- Add IPNS DNSLink record in network confiuguration matrix
release-preprodrelease-mainnet- Clear the immutable compressed archives cache:
release-preprodrelease-mainnet- Activate IPFS in CI workflows:
release-preprodrelease-mainnet- Set IPFS/IPNS GitHub variables and secrets
AGGREGATOR_IPFS_SHARE,IPFS_NODE_DOCKER_REGISTRY,IPFS_NODE_VERSION,IPFS_IPNS_SIGNING_KEY:
release-preprodrelease-mainnetCardanoBlocksTransactionscertification:
- Activate
CardanoBlocksTransactionssigned entity type?:
release-mainnet- SNARK activation (mandatory
snarkfeature activated by default)?
- Publish the circuit verification key registries to the repository:
pre-release-previewrelease-preprodrelease-mainnet- Update networks matrix with dual genesis keys:
pre-release-previewrelease-preprodrelease-mainnet- Update the
GENESIS_VERIFICATION_KEY_URLwith the location of the dual genesis verification key:
pre-release-previewrelease-preprodrelease-mainnet- IPFS activation:
- Create the IPNS secret keys:
release-preprodrelease-mainnet- Add the
IPFS_IPNS_SIGNING_KEYGitHub secret:
release-preprodrelease-mainnet- Dev blog post:
- Distribution
XXXX- SNARK:
- Create a dev blog post explaining the transition to dual genesis
- TBD
- TBD
How
Phase 1: Prepare distribution
- Prepare the removals:
- Merge the PR removing the deprecated
genesis generate-keypairandera generate-keypaircommands - Merge the PR removing the legacy broadcast of protocol configuration through the aggregator
- Check the share of
release-mainnetsigners configured with the on-chain protocol configuration
- Merge the PR removing the deprecated
- Prepare the IPFS activation on
pre-release-preview:- Create a PR to activate IPFS in the
pre-release.ymlworkflow (IPFS_NODE_DOCKER_REGISTRY,IPFS_NODE_VERSION) - Create a PR to add the IPNS DNSLink record of
pre-release-previewin the network configuration matrix - Create the IPNS secret key of
pre-release-preview
- Create a PR to activate IPFS in the
-
Refresh NPM token for publication -
Remove deprecated features of mithril-client - Clean infra upgrade branches if any
-
jpraynaud/3667-fix-infra-dmq-topology -
jpraynaud/update-infra-cardano-11.1.3
-
- Run manual successful restoration of Cardano database + restart of the Cardano node (with ancillary) on
testing-preview - Check nightly tests run of the day is green
- Prepare a PR to upgrade repository dependencies (with runbook)
- Update the ignore list of
deny-full.toml - Reset the CI caches just before merging the PR to upgrade repository dependencies
- Merge the PR to upgrade repository dependencies
- Check if Cardano minimum supported versions in
networks.jsonmust be updated following the runbook - Create a draft PR for rotating the documentation
- Create a draft PR for updating
networks.jsonfile (if needed) - Create a PR for rotating the
CHANGELOG.md(set the distribution version) - Update the PR for rotating the
CHANGELOG.md(if needed) - Merge the PR for rotating the
CHANGELOG.md - Prepare announcements and highlights
- Prepare dev blog posts
Phase 2: Rollout pre-release distribution
- Check GCP status and upcoming maintenance
- Upgrade
DMQ_NODE_VERSIONvariable0.7.2.2-
pre-release-preview
-
- Upgrade
CARDANO_NODE_VERSIONvariable11.2.3(triggers a ledger state replay, warm up the nodes first)-
pre-release-preview
-
- Set the IPFS variables
AGGREGATOR_IPFS_SHARE,IPFS_NODE_DOCKER_REGISTRYandIPFS_NODE_VERSIONin:-
pre-release-preview
-
- Add the
IPFS_RPC_AUTH_TOKENandIPFS_IPNS_SIGNING_KEYsecrets in:-
pre-release-preview
-
- Make sure the npm trusted publisher of
@mithril-dev/mithril-client-wasmis configured for thepre-release.ymlworkflow with thenpm publishandnpm stage publishpermissions (a configuration pending validation expires, create it again if needed) - Tag and deploy a
2650.0pre-release distribution on thepre-release-previewnetwork - Restart the Cardano block producer nodes of the Mithril signers after the deployment (the relay socket rename of feat: deploy a
dev-dijkstranetMithril network #3707 leaves theirnode.socketunreachable) in:-
pre-release-preview
-
- Clear the immutable files archives cache with
mithril-aggregator tools clear-immutables-archives-cachefollowing the runbook (⚠️ the aggregator is stopped and restarted, and theCardanoDatabasecertification is paused until all the archives are re-created) in:-
pre-release-preview
-
- Fill information in GitHub release:
- Release notes
- Highlights
- Make sure
pre-release-previewis working as expected - Make sure Grafana dashboards are fetching data for
pre-release-preview - Make sure libraries version
nexthave been published on npm registry - Make sure the npm trusted publisher of the
pre-release.ymlworkflow is validated (no longerPending validation) - Run an all green client multi-platform test in the CI
- Run a Cardano transaction prover benchmark:
- Store results in the issue
- Make sure that there is no performance regression since last release
- Announce the pre-release on discord channel
- Announce any breaking change in:
- #cardano-scaling slack channel for pre-release
- #blockfrost-scaling slack channel for pre-release
- #ddz-iog-daedalus slack channel for pre-release
- Wait for at least
2epochs and check that:- Previous signers have registered in the current epoch
- New signers have registered in the current epoch
- Previous signers have signed in the
2epochs - New signers have signed in the
2epochs - Certificates are created for all the signed entity types with the on-chain protocol configuration
Phase 3: Rollout release distribution
- Check GCP status and upcoming maintenance
- Create the PR for rotating the
CHANGELOG.md(date and crate versions) - Rotate KMS credentials:
- Create a new key for the ancillary signer service account of
release-mainnet - Configure
release-mainnetenvironment with new service account credentials
- Create a new key for the ancillary signer service account of
- Upgrade
DMQ_NODE_VERSIONvariable0.7.2.2-
release-preprod -
release-mainnet
-
- Upgrade
CARDANO_NODE_VERSIONvariable11.2.3(triggers a ledger state replay, warm up the nodes first)-
release-preprod -
release-mainnet
-
- Make sure the npm trusted publisher of
@mithril-dev/mithril-client-wasmis configured for therelease.ymlworkflow with thenpm stage publishandnpm dist-tagpermissions (a configuration pending validation expires, create it again if needed) - Release the
2650.0distribution - Restart the Cardano block producer nodes of the Mithril signers after the deployment (the relay socket rename of feat: deploy a
dev-dijkstranetMithril network #3707 leaves theirnode.socketunreachable) in:-
release-preprod
-
- Fill information in GitHub release:
- Cardano node compatibility
- Networks compatibility
- Make sure
release-mainnetis working as expected - Make sure
release-preprodis working as expected - Make sure libraries have been published on crates.io
- Make sure libraries version
latesthave been published on npm registry - Make sure the npm trusted publisher of the
release.ymlworkflow is validated (no longerPending validation) - Make sure Grafana dashboards are fetching data for
release-mainnet - Make sure Grafana dashboards are fetching data for
release-preprod - Merge the PR for rotating the documentation
- Merge the PR for updating
networks.jsonfile (incl. the protocol configuration) - Merge the PR for rotating the
CHANGELOG.md - Announce the release on discord channel (with breaking-change, upcoming features activation, ...)
- Announce any breaking/new feature change in:
- #cardano-scaling slack channel for release
- #blockfrost-scaling slack channel for release
- #ddz-iog-daedalus slack channel for release
- Update Hydra tutorial if client breaking change for database restoration
- Dev blog post:
- Distribution
2650 - Update the certificate chain cache dev blog post for its stable version
- IPFS rollout phases
- SNARK transition to dual genesis
- Distribution
- Update roadmap with new distribution
- Check that KMS credentials are working with the creation of the next Cardano database snapshot (will occur within 4 hours)
- Destroy the previous key for the ancillary signer service account of
release-mainnet
Activity
[-]Release `26XX` distribution[/-][+]Release `2650` distribution[/+]