Skip to content

Commit

Permalink
Update mithril.library to use testing for sanchonet (#1791)
Browse files Browse the repository at this point in the history
## Description
A new section for the case statement for sanchonet, setting the RELEASE
to testing.

## Motivation and context
Mithril snapshot downloads do not work for sanchonet "out of the box"
with the way the environment file is setup to use mithril pre-release
naming.

## Which issue it fixes?
Closes #1790
Closes #1765
   * Part A: support for Sanchonet
* Part B: handling a unique branch for sanchonet to test early mithril
releases and early node releases which cntools does not yet support is
not included. This part can be handled in a forked repository to not
change behaviors intended by cardano-community/guild-operators, or
potentially after additional discussions opened in a separate PR.

## How has this been tested?
Modifying mithril.library and running `mithril-client environment
update` and examining the `mithril.env` file:


![image](https://github.com/user-attachments/assets/86b6e8fb-7063-4607-ad0d-ef3e9c61d592)
  • Loading branch information
TrevorBenson authored Jul 30, 2024
1 parent ae475fa commit 05072a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/cnode-helper-scripts/mithril.library
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ set_defaults() {
mainnet|preprod|guild)
RELEASE="release"
;;
preview|sanchonet)
preview)
RELEASE="pre-release"
;;
sanchonet)
RELEASE="testing"
;;
*)
echo "ERROR: The NETWORK_NAME must be set to mainnet, preprod, preview, or sanchonet before $(basename "${0::-3}") can be deployed!!"
exit 1
Expand Down

0 comments on commit 05072a9

Please sign in to comment.