Skip to content

Commit

Permalink
Remove github workflow for fetching latest node version, as node rele…
Browse files Browse the repository at this point in the history
…ases come with breaking changes that should be controlled manually once corresponding scripts are ready. Instead adapted guild-deploy.sh to read from the cardano-node-latest.txt to have central point for deployment's node versions (can still be overridden with CARDANO_NODE_VERSION)
  • Loading branch information
rdlrt committed Jun 19, 2024
1 parent 26f5552 commit 8117e75
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/node-latest.yml

This file was deleted.

1 change: 1 addition & 0 deletions files/docker/node/release-versions/cardano-node-latest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.9.3
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/guild-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ set_defaults() {
[[ -z "${BRANCH}" ]] && BRANCH="master"
[[ "${SUDO}" = 'Y' ]] && sudo="sudo" || sudo=""
[[ "${SUDO}" = 'Y' && $(id -u) -eq 0 ]] && err_exit "Please run as non-root user."
[[ -z "${CARDANO_NODE_VERSION}" ]] && CARDANO_NODE_VERSION="8.9.3"
[[ -z "${CARDANO_NODE_VERSION}" ]] && CARDANO_NODE_VERSION="$(curl -sfk "https://raw.githubusercontent.com/${G_ACCOUNT}/guild-operators/${BRANCH}/files/docker/node/release-versions/cardano-node-latest.txt")"
CNODE_HOME="${CNODE_PATH}/${CNODE_NAME}"
CNODE_VNAME=$(echo "$CNODE_NAME" | awk '{print toupper($0)}')
REPO="https://github.com/${G_ACCOUNT}/guild-operators"
Expand Down

0 comments on commit 8117e75

Please sign in to comment.