Skip to content

Commit

Permalink
fix: Removed Sepolia stuff from devnet deploy action (#10916)
Browse files Browse the repository at this point in the history
This PR removes the sepolia configuration from the devnet deploy action
as it was broken
  • Loading branch information
PhilWindle authored Dec 20, 2024
1 parent 9ed43bc commit fbf120b
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/devnet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ on:
description: Whether to respect the Terraform lock
required: false
default: "true"
sepolia_deployment:
description: "Whether to deploy on Sepolia network (default: false)"
required: false
type: boolean
default: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -51,7 +46,7 @@ jobs:
deployment_mnemonic_secret_name: ${{ github.event.inputs.deployment_mnemonic_secret_name }}
deployment_salt: ${{ github.event.inputs.deployment_salt }}
respect_tf_lock: ${{ github.event.inputs.respect_tf_lock }}
sepolia_deployment: ${{ github.event.inputs.sepolia_deployment }}
run_terraform_destroy: "true"
secrets:
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}

Expand Down Expand Up @@ -133,20 +128,11 @@ jobs:
# wait for port-forwards to establish
sleep 5
if ${{ inputs.sepolia_deployment }}; then
docker run --rm --network host $AZTEC_DOCKER_IMAGE bootstrap-network \
--rpc-url http://127.0.0.1:$PXE_PORT \
--l1-rpc-url ${{ secrets.SEPOLIA_EXTERNAL_HOST }} \
--l1-chain-id "$L1_CHAIN_ID" \
--l1-private-key ${{ secrets.SEPOLIA_L1_DEPLOYMENT_PRIVATE_KEY }} \
--json | tee ./basic_contracts.json
else
docker run --rm --network host $AZTEC_DOCKER_IMAGE bootstrap-network \
--rpc-url http://127.0.0.1:$PXE_PORT \
--l1-rpc-url http://127.0.0.1:$ETHEREUM_PORT \
--l1-chain-id "$L1_CHAIN_ID" \
--mnemonic "$MNEMONIC" \
--json | tee ./basic_contracts.json
fi
docker run --rm --network host $AZTEC_DOCKER_IMAGE bootstrap-network \
--rpc-url http://127.0.0.1:$PXE_PORT \
--l1-rpc-url http://127.0.0.1:$ETHEREUM_PORT \
--l1-chain-id "$L1_CHAIN_ID" \
--mnemonic "$MNEMONIC" \
--json | tee ./basic_contracts.json
aws s3 cp ./basic_contracts.json ${{ env.CONTRACT_S3_BUCKET }}/devnet/basic_contracts.json

0 comments on commit fbf120b

Please sign in to comment.