Skip to content

Commit

Permalink
dump all vars at script start
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Oct 18, 2023
1 parent 5dd3b15 commit bbdce17
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 50 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/manual-deploy-testnet-faucet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/manual-deploy-testnet-l1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
20 changes: 1 addition & 19 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/manual-recover-network-funds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/manual-upgrade-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbdce17

Please sign in to comment.