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

[FIX] CARDANO_NODE_VERSION environment variable isn't overwritten #1826

Closed
wants to merge 11 commits into from

Conversation

mrgrauel
Copy link
Contributor

Description

Currently CARDANO_NODE_VERSION is always overwritten by the fallback value 9.1.1.

I'm not very good in bash scripting, but as I understand it's that || CARDANO_NODE_VERSION=9.1.1 will always be set not matter of the value of CARDANO_NODE_VERSION, but I don't really understand why.

I added another fallback check, but I believe it can be a one-liner.

Where should the reviewer start?

Check scripts/cnode-helper-scripts/guild-deploy.sh:113-114

Motivation and context

I want to update to the latest version 9.2.0 by adding CARDANO_NODE_VERSION in the script as environment variable

How has this been tested?

  • Set CARDANO_NODE_VERSION in the script as environment variable
  • Set a different value to as fallback files/docker/node/release-versions/cardano-node-latest.txt

Try to run ./guild-deploy.sh -b ${branch} -s d and check the environment value CARDANO_NODE_VERSION.

mrgrauel and others added 11 commits September 24, 2024 11:40
## Description
Fixes untar of `ccli.tar.gz` 

## Where should the reviewer start?
Check `scripts/cnode-helper-scripts/guild-deploy.sh:403`

## Motivation and context
Solving downloading latest binaries for cardano-cli

## How has this been tested?
Manually on my local machine
@rdlrt
Copy link
Contributor

rdlrt commented Sep 24, 2024

Fixed in 487935f

@rdlrt rdlrt closed this Sep 24, 2024
@mrgrauel mrgrauel deleted the node branch September 24, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants