diff --git a/.github/workflows/manual-deploy-testnet-l1.yml b/.github/workflows/manual-deploy-testnet-l1.yml index e186d85561..b7ca94b874 100644 --- a/.github/workflows/manual-deploy-testnet-l1.yml +++ b/.github/workflows/manual-deploy-testnet-l1.yml @@ -25,7 +25,7 @@ on: type: choice options: - 'dev-testnet' - - 'testnet' + - 'uat-testnet' jobs: build-and-deploy: @@ -40,22 +40,22 @@ jobs: uses: docker/setup-buildx-action@v1 - name: 'Sets env vars for testnet' - if: ${{ github.event.inputs.testnet_type == 'testnet' }} + if: ${{ github.event.inputs.testnet_type == 'uat-testnet' }} run: | - echo "ETH2NETWORK_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/eth2network:latest" >> $GITHUB_ENV - echo "L1_DOCKER_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/testnet_l1network:latest" >> $GITHUB_ENV - echo "L1_CONTAINER_NAME=testnet-eth2network" >> $GITHUB_ENV - echo "RESOURCE_TAG_NAME=l1testnetlatest" >> $GITHUB_ENV - echo "RESOURCE_NAME=testnet-eth2network" >> $GITHUB_ENV + echo "ETH2NETWORK_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/uat_testnet_eth2network:latest" >> $GITHUB_ENV + echo "L1_DOCKER_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/uat_testnet_l1network:latest" >> $GITHUB_ENV + echo "L1_CONTAINER_NAME=uat_testnet-eth2network" >> $GITHUB_ENV + echo "RESOURCE_TAG_NAME=uat-testnet-l1-latest" >> $GITHUB_ENV + echo "RESOURCE_NAME=uat-testnet-eth2network" >> $GITHUB_ENV echo "TEST_BRIDGE_ADDRESS=0xE09a37ABc1A63441404007019E5BC7517bE2c43f" >> $GITHUB_ENV - name: 'Sets env vars for dev-testnet' if: ${{ github.event.inputs.testnet_type == 'dev-testnet' }} run: | - echo "ETH2NETWORK_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/dev_eth2network:latest" >> $GITHUB_ENV + echo "ETH2NETWORK_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/dev_testnet_eth2network:latest" >> $GITHUB_ENV echo "L1_DOCKER_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/dev_testnet_l1network:latest" >> $GITHUB_ENV echo "L1_CONTAINER_NAME=dev-testnet-eth2network" >> $GITHUB_ENV - echo "RESOURCE_TAG_NAME=devl1testnetlatest" >> $GITHUB_ENV + echo "RESOURCE_TAG_NAME=dev-testnet-l1-latest" >> $GITHUB_ENV echo "RESOURCE_NAME=dev-testnet-eth2network" >> $GITHUB_ENV echo "TEST_BRIDGE_ADDRESS=0xE09a37ABc1A63441404007019E5BC7517bE2c43f" >> $GITHUB_ENV diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index 728dce846d..4ea71928b7 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -18,7 +18,7 @@ on: type: choice options: - 'dev-testnet' - - 'testnet' + - 'uat-testnet' - 'sepolia-testnet' log_level: description: 'Log Level 1-Error 5-Trace' @@ -363,6 +363,6 @@ jobs: curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "dev_testnet_deployed", "client_payload": { "ref": "${{ github.ref_name }}" }' - name: 'Send a repository dispatch to obscuro-test on deployment of testnet' - if: ${{ (github.event.inputs.testnet_type == 'testnet') }} + if: ${{ (github.event.inputs.testnet_type == 'uat-testnet') }} run: | - curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "testnet_deployed", "client_payload": { "ref": "${{ github.ref_name }}" }' + curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "uat_testnet_deployed", "client_payload": { "ref": "${{ github.ref_name }}" }' diff --git a/.github/workflows/manual-recover-network-funds.yml b/.github/workflows/manual-recover-network-funds.yml index cb0f786a71..e065310d5e 100644 --- a/.github/workflows/manual-recover-network-funds.yml +++ b/.github/workflows/manual-recover-network-funds.yml @@ -12,7 +12,7 @@ on: type: choice options: - 'dev-testnet' - - 'testnet' + - 'uat-testnet' - 'sepolia-testnet' mgmt_contract_addr: description: 'Deployed management contract which will be used to request the funds' diff --git a/.github/workflows/manual-upgrade-testnet-l2.yml b/.github/workflows/manual-upgrade-testnet-l2.yml index 56bdb9884d..780c7b0b80 100644 --- a/.github/workflows/manual-upgrade-testnet-l2.yml +++ b/.github/workflows/manual-upgrade-testnet-l2.yml @@ -25,7 +25,7 @@ on: type: choice options: - 'dev-testnet' - - 'testnet' + - 'uat-testnet' - 'sepolia-testnet' log_level: description: 'Log Level 1-Error 5-Trace' @@ -229,10 +229,10 @@ jobs: run: | curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "dev_testnet_upgraded", "client_payload": { "ref": "${{ github.ref_name }}" }' - - name: 'Send a repository dispatch to obscuro-test on upgrade of testnet' - if: ${{ github.event.inputs.testnet_type == 'testnet' }} + - name: 'Send a repository dispatch to obscuro-test on upgrade of uat-testnet' + if: ${{ github.event.inputs.testnet_type == 'uat-testnet' }} run: | - curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "testnet_upgraded", "client_payload": { "ref": "${{ github.ref_name }}" }' + curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "uat_testnet_upgraded", "client_payload": { "ref": "${{ github.ref_name }}" }' obscuro-test-signal-on-schedule: runs-on: ubuntu-latest