We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2504
In order to deploy new features, improvements and bug fixes, we need to release a new distribution.
Create and release a new distribution 2504
Important
release-preprod
e2-highmem-2
e2-highmem-4
10.1.4
pre-release-preview
release-mainnet
Distribution +1:
Note
crates.io
mithril-common
mithril-client
networks.json
CHANGELOG.md
2504.0-pre
next
3
2
2504.0
latest
The text was updated successfully, but these errors were encountered:
Make a manual snapshot of the data disk in GCP:
export SNAPSHOT_ID=mithril-release-preprod-... export SOURCE_DISK=mithril-release-preprod-data gcloud compute snapshots create $SNAPSHOT_ID --source-disk $SOURCE_DISK --snapshot-type STANDARD --source-disk-zone europe-west1-b
Then connect to the VM:
export VM=aggregator.release-preprod.api.mithril.network ssh curry@$VM
Once connected, create a temp directory:
export TMP_DIR=/home/curry/tmp mkdir -p $TMP_DIR
Make a clean stop of the Cardano nodes:
docker ps --format '{{.Names}}' | grep cardano > $TMP_DIR/docker-ps-cardano.txt cat $TMP_DIR/docker-ps-cardano.txt | xargs -I '{}' docker stop '{}'
Run the deployment with the correct GitHub actions workflow that will upgrade the VM in place.
Once the VM has been modified in place, check that all the data disk is properly mounted:
lsblk | grep sdb | grep "/home/curry/data"
If the previous command returns an entry, the data disk is mounted to the data folder and there is nothing more to do.
Otherwise, the data disk must be mounted.
First, stop all the remaining containers:
docker stop reverse-proxy docker ps --format '{{.Names}}' > $TMP_DIR/docker-ps-all.txt cat $TMP_DIR/docker-ps-all.txt | xargs -I '{}' docker stop '{}'
Then mount the data disk to the data folder:
sudo mount -o discard,defaults /dev/sdb /home/curry/data/
And make sure that the disk is now correctly mounted:
Then restart all the containers:
cat $TMP_DIR/docker-ps-cardano.txt | xargs -I '{}' docker start '{}' docker start reverse-proxy
Delete the temporary folder:
rm -rf $TMP_DIR
Sorry, something went wrong.
2503
jpraynaud
No branches or pull requests
Why
In order to deploy new features, improvements and bug fixes, we need to release a new distribution.
What
Create and release a new distribution
2504
Important
release-preprod
VM frome2-highmem-2
toe2-highmem-4
10.1.4
pre-release-preview
release-preprod
release-mainnet
pre-release-preview
release-preprod
release-mainnet
pre-release-preview
release-preprod
release-mainnet
Distribution +1:
Note
How
Phase 1: Prepare distribution
crates.io
(mithril-common
,mithril-client
)networks.json
must be updated following the runbookCHANGELOG.md
(set the distribution version)Phase 2: Rollout pre-release distribution
pre-release-preview
2504.0-pre
pre-release distribution on thepre-release-preview
networkpre-release-preview
with processpre-release-preview
is working as expectednext
have been published on npm registry3
signers running the new version (could be more if era change is tested) over at least2
epochsPhase 3: Rollout release distribution
release-preprod
release-mainnet
2504.0
release distribution on thepre-release-preview
networkpre-release-preview
is working as expectedrelease-preprod
as the VM will be updated with process2504.0
release-mainnet
with processrelease-mainnet
is working as expectedrelease-preprod
has been updated properly with processrelease-preprod
with processrelease-preprod
is working as expectedlatest
have been published on npm registryCHANGELOG.md
(updating the release date of the distribution)2504
The text was updated successfully, but these errors were encountered: