Skip to content
New issue

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

Mithril latest releases #1715

Merged
merged 6 commits into from
Nov 29, 2023
Merged

Mithril latest releases #1715

merged 6 commits into from
Nov 29, 2023

Conversation

TrevorBenson
Copy link
Collaborator

@TrevorBenson TrevorBenson commented Nov 28, 2023

Description

  1. Creates a workflow to obtain the latest mithril release mithril-latest.yml
  2. Changes guild-deploy.sh from the static version bump for mithril to obtaining the latest release.
  3. Triggers the Docker Image workflow (dockerfile_bin.yml) when a push changes files/docker/node/release-versions/mithril-latest.txt.

Where should the reviewer start?

Testing via ./guild-deploy.sh -b mithril-latest-releases -s m should update the mithril-client --version output to 0.5.5+0780dfa

Motivation and context

Breaking changes between mithril release v2342.0 and v2347.0. Once the latest snaphot is signed by v2347.0 the v2342.0 client no longer works (for the latest snapshot).

Which issue it fixes?

Closes #1714

How has this been tested?

Running the current guild cardano-node:latest container, running /opt/cardano/cnode/scripts/guild-deploy.sh -b mithril-latest-releases -s m twice, once to update script the second to install Mithril's latest release. Then

./mithril-client.sh -d
INFO: The db directory does not exist..
INFO: Downloading latest mithril snapshot..
1/6 - Checking local disk info…
2/6 - Fetching the certificate's information…
3/6 - Verifying the certificate chain…
4/6 - Downloading and unpacking the snapshot…
⠁ [00:02:13] [###########>----------------------------------------------------------------------------------------------------------------------------------------] 3.17 GiB/39.08 GiB (1468.8s)

confirming the download starts without certificate errors.

@TrevorBenson TrevorBenson requested review from rdlrt and Scitz0 November 28, 2023 21:17
@TrevorBenson TrevorBenson self-assigned this Nov 28, 2023
@TrevorBenson TrevorBenson added docker bug Something isn't working labels Nov 28, 2023
@rdlrt rdlrt force-pushed the alpha branch 3 times, most recently from 13e3c24 to 0d4717d Compare November 29, 2023 07:30
@rdlrt rdlrt merged commit f6f5244 into alpha Nov 29, 2023
@rdlrt rdlrt deleted the mithril-latest-releases branch November 29, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mithril client not syncing for mainnet
3 participants