diff --git a/.github/actions/setup-create-base64-config-ccip/action.yml b/.github/actions/setup-create-base64-config-ccip/action.yml index 88d9fe8078..34e1b9f62c 100644 --- a/.github/actions/setup-create-base64-config-ccip/action.yml +++ b/.github/actions/setup-create-base64-config-ccip/action.yml @@ -40,6 +40,8 @@ inputs: evmNodeLogLevel: description: Log level for the custom EVM nodes default: "info" + walletKey: + description: Holds private key of wallet that used in the test runs: using: composite @@ -65,6 +67,7 @@ runs: GRAFANA_BEARER_TOKEN: ${{ inputs.grafanaBearerToken }} CUSTOM_EVM_NODES: ${{ inputs.customEvmNodes }} EVM_NODE_LOG_LEVEL: ${{ inputs.evmNodeLogLevel }} + WALLET_KEY: ${{ inputs.walletKey }} run: | echo ::add-mask::$CHAINLINK_IMAGE function convert_to_toml_array() { @@ -133,11 +136,20 @@ runs: fi fi + wallet_key_from_secret="[CCIP.Env.Network.WalletKeys]" + + for i in "${!networks_array[@]}"; do + wallet_key_from_secret += " + ${networks_array[i]} = [$wallet_key] + " + done + grafana_bearer_token="" if [ -n "$GRAFANA_BEARER_TOKEN" ]; then grafana_bearer_token="bearer_token_secret=\"$GRAFANA_BEARER_TOKEN\"" fi - + + cat << EOF > config.toml [CCIP] [CCIP.Env] @@ -155,6 +167,8 @@ runs: version="$UPGRADE_VERSION" $custom_nodes_toml + + $wallet_key_from_secret [CCIP.Env.Logging] test_log_collect=$test_log_collect @@ -178,6 +192,7 @@ runs: [CCIP.Groups.smoke] TestRunName = '$EXISTING_NAMESPACE' + EOF diff --git a/.github/workflows/ccip-live-network-tests.yml b/.github/workflows/ccip-live-network-tests.yml index 94aa36ddf8..fff7785f97 100644 --- a/.github/workflows/ccip-live-network-tests.yml +++ b/.github/workflows/ccip-live-network-tests.yml @@ -1,7 +1,7 @@ name: CCIP On-Demand Live Network Tests on: - schedule: - - cron: '0 */6 * * *' +# schedule: +# - cron: '0 */6 * * *' workflow_dispatch: inputs: base64_test_input : # base64 encoded toml for test input @@ -180,6 +180,7 @@ jobs: logstreamLogTargets: ${{ vars.LOGSTREAM_LOG_TARGETS }} grafanaUrl: ${{ vars.GRAFANA_URL }} grafanaDashboardUrl: "/d/6vjVx-1V8/ccip-long-running-tests" + walletKey: ${{ secrets.WALLET_KEY }} - name: Run Tests uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/run-tests@5dd916d08c03cb5f9a97304f4f174820421bb946 # v2.3.11 env: