Skip to content

Commit

Permalink
fix: set lazy mode to true when setting shannon e2e test config (#99)
Browse files Browse the repository at this point in the history
This is to minimize the confusing log entries if an E2E test fails.

Discord conversation:

https://discord.com/channels/824324475256438814/1316586048670666802/1316744288910184560

---------

Co-authored-by: Daniel Olshansky <[email protected]>
  • Loading branch information
commoddity and Olshansk authored Dec 13, 2024
1 parent af4a32f commit a218a9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/scripts/update_shannon_config_from_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ update_shannon_config_from_env() {
return 1
fi

# Update the PATH Shannon config to reflect secrets on GitHub.
# Also set lazy_mode to true in order to minimize verbosity of log entries in CI E2E tests.
yq -i '
.shannon_config.gateway_config.gateway_private_key_hex = env(SHANNON_GATEWAY_PRIVATE_KEY) |
.shannon_config.gateway_config.owned_apps_private_keys_hex = [env(SHANNON_OWNED_APPS_PRIVATE_KEYS)]
.shannon_config.gateway_config.owned_apps_private_keys_hex = [env(SHANNON_OWNED_APPS_PRIVATE_KEYS)] |
.shannon_config.full_node_config.lazy_mode = true
' $CONFIG_FILE
}

Expand Down

0 comments on commit a218a9a

Please sign in to comment.