From bbdce17a94a7f73ee38a5a348fe6c75a8ac8272f Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Wed, 18 Oct 2023 12:19:08 +0100 Subject: [PATCH] dump all vars at script start --- .../manual-deploy-testnet-faucet.yml | 7 +------ .../workflows/manual-deploy-testnet-l1.yml | 10 +--------- .../workflows/manual-deploy-testnet-l2.yml | 20 +------------------ .../manual-recover-network-funds.yml | 5 +++++ .../workflows/manual-upgrade-testnet-l2.yml | 17 +--------------- 5 files changed, 9 insertions(+), 50 deletions(-) diff --git a/.github/workflows/manual-deploy-testnet-faucet.yml b/.github/workflows/manual-deploy-testnet-faucet.yml index 816de15a0f..9550c78ef8 100644 --- a/.github/workflows/manual-deploy-testnet-faucet.yml +++ b/.github/workflows/manual-deploy-testnet-faucet.yml @@ -38,12 +38,7 @@ jobs: - name: 'Print GitHub variables' # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference run: | - echo "ACCOUNT_ADDR_WORKER=${{ vars.ACCOUNT_ADDR_WORKER }}" - echo "ACCOUNT_ADDR_NODE_0=${{ vars.ACCOUNT_ADDR_NODE_0 }}" - echo "ACCOUNT_ADDR_NODE_1=${{ vars.ACCOUNT_ADDR_NODE_1 }}" - echo "DOCKER_BUILD_TAG_FAUCET=${{ vars.DOCKER_BUILD_TAG_FAUCET }}" - echo "FAUCET_PAY_AMOUNT=${{ vars.FAUCET_PAY_AMOUNT }}" - echo "L2_RPC_URL_VALIDATOR=${{ vars.L2_RPC_URL_VALIDATOR }}" + echo "GitHub Variables = ${{ toJSON(vars) }}" - run: echo "Workflow_dispatch inputs ${{ github.event.inputs.testnet_type }}" - run: echo "Workflow_call inputs ${{ inputs.testnet_type }}" diff --git a/.github/workflows/manual-deploy-testnet-l1.yml b/.github/workflows/manual-deploy-testnet-l1.yml index d87dd2cac8..cc753c9bb0 100644 --- a/.github/workflows/manual-deploy-testnet-l1.yml +++ b/.github/workflows/manual-deploy-testnet-l1.yml @@ -37,15 +37,7 @@ jobs: - name: 'Print GitHub variables' # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference run: | - echo "ACCOUNT_ADDR_NODE_0=${{ vars.ACCOUNT_ADDR_NODE_0 }}" - echo "ACCOUNT_ADDR_NODE_1=${{ vars.ACCOUNT_ADDR_NODE_1 }}" - echo "ACCOUNT_ADDR_WORKER=${{ vars.ACCOUNT_ADDR_WORKER }}" - echo "ACCOUNT_ADDR_WORKER=${{ vars.ACCOUNT_ADDR_L1_BRIDGE_TEST }}" - - echo "AZURE_RESOURCE_NAME_L1=${{ vars.AZURE_RESOURCE_NAME_L1 }}" - echo "AZURE_RESOURCE_TAG_L1=${{ vars.AZURE_RESOURCE_TAG_L1 }}" - - echo "DOCKER_BUILD_TAG_ETH2NETWORK=${{ vars.DOCKER_BUILD_TAG_ETH2NETWORK }}" + echo "GitHub Variables = ${{ toJSON(vars) }}" - uses: actions/checkout@v3 diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index 100165420a..a533dc8911 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -45,25 +45,7 @@ jobs: - name: 'Print GitHub variables' # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference run: | - echo "ACCOUNT_ADDR_NODE_0=${{ vars.ACCOUNT_ADDR_NODE_0 }}" - echo "ACCOUNT_ADDR_NODE_1=${{ vars.ACCOUNT_ADDR_NODE_1 }}" - echo "ACCOUNT_ADDR_WORKER=${{ vars.ACCOUNT_ADDR_WORKER }}" - - echo "AZURE_HOSTNAME_PREFIX=${{ vars.AZURE_HOSTNAME_PREFIX }}" - echo "AZURE_RESOURCE_NAME_L2=${{ vars.AZURE_RESOURCE_NAME_L2 }}" - echo "AZURE_RESOURCE_TAG_L2=${{ vars.AZURE_RESOURCE_TAG_L2 }}" - - echo "DOCKER_BUILD_TAG_ENCLAVE=${{ vars.DOCKER_BUILD_TAG_ENCLAVE }}" - echo "DOCKER_BUILD_TAG_L2_HARDHAT_DEPLOYER=${{ vars.DOCKER_BUILD_TAG_L2_HARDHAT_DEPLOYER }}" - echo "DOCKER_BUILD_TAG_HOST=${{ vars.DOCKER_BUILD_TAG_HOST }}" - - echo "FAUCET_INITIAL_FUNDS=${{ vars.FAUCET_INITIAL_FUNDS }}" - - echo "L1_CHAIN_ID=${{ vars.L1_CHAIN_ID }}" - - echo "L2_BATCH_INTERVAL=${{ vars.L2_BATCH_INTERVAL }}" - echo "L2_MAX_BATCH_INTERVAL=${{ vars.L2_MAX_BATCH_INTERVAL }}" - echo "L2_ROLLUP_INTERVAL=${{ vars.L2_ROLLUP_INTERVAL }}" + echo "GitHub Variables = ${{ toJSON(vars) }}" - uses: actions/checkout@v3 diff --git a/.github/workflows/manual-recover-network-funds.yml b/.github/workflows/manual-recover-network-funds.yml index 0e1f731967..4d722a12da 100644 --- a/.github/workflows/manual-recover-network-funds.yml +++ b/.github/workflows/manual-recover-network-funds.yml @@ -29,6 +29,11 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: + - name: 'Print GitHub variables' + # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference + run: | + echo "GitHub Variables = ${{ toJSON(vars) }}" + - uses: actions/checkout@v3 - name: 'Login to Azure docker registry' diff --git a/.github/workflows/manual-upgrade-testnet-l2.yml b/.github/workflows/manual-upgrade-testnet-l2.yml index 57e10db3da..ac754d3825 100644 --- a/.github/workflows/manual-upgrade-testnet-l2.yml +++ b/.github/workflows/manual-upgrade-testnet-l2.yml @@ -52,22 +52,7 @@ jobs: - name: 'Print GitHub variables' # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference run: | - echo "ACCOUNT_ADDR_NODE_0=${{ vars.ACCOUNT_ADDR_NODE_0 }}" - echo "ACCOUNT_ADDR_NODE_1=${{ vars.ACCOUNT_ADDR_NODE_1 }}" - echo "ACCOUNT_ADDR_WORKER=${{ vars.ACCOUNT_ADDR_WORKER }}" - - echo "AZURE_HOSTNAME_PREFIX=${{ vars.AZURE_HOSTNAME_PREFIX }}" - echo "AZURE_RESOURCE_NAME_L2=${{ vars.AZURE_RESOURCE_NAME_L2 }}" - - echo "DOCKER_BUILD_TAG_ENCLAVE=${{ vars.DOCKER_BUILD_TAG_ENCLAVE }}" - echo "DOCKER_BUILD_TAG_L2_HARDHAT_DEPLOYER=${{ vars.DOCKER_BUILD_TAG_L2_HARDHAT_DEPLOYER }}" - echo "DOCKER_BUILD_TAG_HOST=${{ vars.DOCKER_BUILD_TAG_HOST }}" - - echo "L1_CHAIN_ID=${{ vars.L1_CHAIN_ID }}" - - echo "L2_BATCH_INTERVAL=${{ vars.L2_BATCH_INTERVAL }}" - echo "L2_MAX_BATCH_INTERVAL=${{ vars.L2_MAX_BATCH_INTERVAL }}" - echo "L2_ROLLUP_INTERVAL=${{ vars.L2_ROLLUP_INTERVAL }}" + echo "GitHub Variables = ${{ toJSON(vars) }}"ยก - name: 'Login via Azure CLI' uses: azure/login@v1