Skip to content

Commit

Permalink
fix uat env vars (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
badgersrus authored Oct 29, 2024
1 parent 81d65b9 commit 2c5e080
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,6 @@ jobs:
shell: bash
run: sleep 60

# Set the beacon URL for the L1 chain based on the environment
- name: Set L1 Beacon URL
id: set_beacon_url
run: |
if [[ "${{ github.event.inputs.testnet_type }}" == "sepolia-testnet" ]]; then
echo "L1_BEACON_URL=${{ vars.L1_BEACON_URL }}" >> $GITHUB_OUTPUT
else
echo "L1_BEACON_URL=dev-testnet-eth2network.uksouth.cloudapp.azure.com:12600" >> $GITHUB_OUTPUT
fi
- name: 'Start Obscuro node-${{ matrix.host_id }} on Azure'
uses: azure/CLI@v1
with:
Expand Down Expand Up @@ -304,7 +294,7 @@ jobs:
-max_batch_interval=${{ vars.L2_MAX_BATCH_INTERVAL }} \
-rollup_interval=${{ vars.L2_ROLLUP_INTERVAL }} \
-l1_chain_id=${{ vars.L1_CHAIN_ID }} \
-l1_beacon_url=${{ steps.set_beacon_url.outputs.L1_BEACON_URL }} \
-l1_beacon_url=${{ vars.L1_BEACON_URL }} \
-l1_blob_archive_url=${{ vars.L1_BLOB_ARCHIVE_URL }} \
-postgres_db_host=postgres://tenuser:${{ secrets.TEN_POSTGRES_USER_PWD }}@postgres-ten-${{ github.event.inputs.testnet_type }}.postgres.database.azure.com:5432/ \
start'
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/manual-upgrade-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,6 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

# Set the beacon URL for the L1 chain based on the environment
- name: Set L1 Beacon URL
id: set_beacon_url
run: |
if [[ "${{ github.event.inputs.testnet_type }}" == "sepolia-testnet" ]]; then
echo "L1_BEACON_URL=${{ vars.L1_BEACON_URL }}" >> $GITHUB_OUTPUT
else
echo "L1_BEACON_URL=dev-testnet-eth2network.uksouth.cloudapp.azure.com:12600" >> $GITHUB_OUTPUT
fi
- name: 'Update Obscuro node-${{ matrix.host_id }} on Azure'
uses: azure/CLI@v1
with:
Expand Down Expand Up @@ -187,7 +177,8 @@ jobs:
-max_batch_interval=${{ vars.L2_MAX_BATCH_INTERVAL }} \
-rollup_interval=${{ vars.L2_ROLLUP_INTERVAL }} \
-l1_chain_id=${{ vars.L1_CHAIN_ID }} \
-l1_beacon_url=${{ steps.set_beacon_url.outputs.L1_BEACON_URL }} \
-l1_beacon_url=${{ vars.L1_BEACON_URL }} \
-l1_blob_archive_url=${{ vars.L1_BLOB_ARCHIVE_URL }} \
-postgres_db_host=postgres://tenuser:${{ secrets.TEN_POSTGRES_USER_PWD }}@postgres-ten-${{ github.event.inputs.testnet_type }}.postgres.database.azure.com:5432/ \
upgrade'
Expand Down

0 comments on commit 2c5e080

Please sign in to comment.