From dd9180add93b938aa9bd4c4b3ed085c3fc3cec1f Mon Sep 17 00:00:00 2001 From: Branislav Kojic Date: Fri, 19 Jan 2024 14:31:45 +0100 Subject: [PATCH] Minor fixes (#13) * Deploy Network * Add Permissions * Minor changes * Concurrency change * Destroy Network * Minor changes * Minor changes * Fix commit sha * Minor changes * Add Tests * Disable Tests temporarily * Nightly Build * Minor fixes --- .github/workflows/deploy-network.yml | 7 +++++++ .github/workflows/nightly.yml | 31 +++++++++++++++------------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-network.yml b/.github/workflows/deploy-network.yml index ffef08777c..c48bdfcb18 100644 --- a/.github/workflows/deploy-network.yml +++ b/.github/workflows/deploy-network.yml @@ -40,6 +40,13 @@ on: # yamllint disable-line rule:truthy description: Activate Bridge type: boolean required: true + secrets: + AWS_REGION: + required: true + AWS_ROLE_ARN: + required: true + VAULT_PASSWORD: + required: true permissions: id-token: write diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ecd1ce209e..9bc20d43d0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -4,25 +4,28 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: jobs: - build: - name: Build Blade - uses: ./.github/workflows/build.yml - tests: - name: Run Tests - uses: ./.github/workflows/tests.yml - needs: build - with: - unit-test: true - e2e-polybft-test: true - e2e-legacy-test: true - property-polybft-test: true - fuzz-test: true + # build: + # name: Build Blade + # uses: ./.github/workflows/build.yml + # tests: + # name: Run Tests + # uses: ./.github/workflows/tests.yml + # needs: build + # with: + # unit-test: true + # e2e-polybft-test: true + # e2e-legacy-test: true + # property-polybft-test: true + # fuzz-test: true deploy_network: name: Deploy nightly Network uses: ./.github/workflows/deploy-network.yml - needs: build with: environment: nightly block_gas_limit: "200000000" block_time: "2" is_bridge_active: true + secrets: + AWS_REGION: ${{ secrets.AWS_REGION }} + AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }} + VAULT_PASSWORD: ${{ secrets.VAULT_PASSWORD }}