diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a66756..c00126c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ on: - testnet - mainnet - nexus-testnet-v2-0-rc-1 + - nexus-testnet-v2-0-rc-4 pull_request: types: [opened, synchronize, reopened] push: @@ -25,10 +26,12 @@ on: - 'iterate/testnet/**' - 'iterate/mainnet/**' - 'iterate/nexus-testnet-v2-0-rc-1/**' + - 'iterate/nexus-testnet-v2-0-rc-4/**' # Tag-driven deploy. The tag prefix selects the env: # testnet-* → full pipeline against testnet # mainnet-* → full pipeline against mainnet - # nexus-testnet-v2-0-rc-1-* → full pipeline against the v2 RC env + # nexus-testnet-v2-0-rc-1-* → full pipeline against the v2 rc.1 RC env + # nexus-testnet-v2-0-rc-4-* → full pipeline against the v2 rc.4 RC env # Tags are immutable per the convention, so each release-style # promotion lands on a specific commit and the deploy run is # attributable to that exact ref. No merge-strategy gotchas, no @@ -38,6 +41,7 @@ on: - 'testnet-*' - 'mainnet-*' - 'nexus-testnet-v2-0-rc-1-*' + - 'nexus-testnet-v2-0-rc-4-*' permissions: contents: write @@ -56,6 +60,7 @@ concurrency: group: >- ${{ (startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') || startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/')) && 'chain-nexus-testnet-v2-0-rc-1' || + (startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-4-') || startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-4/')) && 'chain-nexus-testnet-v2-0-rc-4' || (startsWith(github.ref_name, 'mainnet-') || startsWith(github.ref_name, 'iterate/mainnet/')) && 'chain-mainnet' || (startsWith(github.ref_name, 'testnet-') || startsWith(github.ref_name, 'iterate/testnet/')) && 'chain-testnet' || (github.event_name == 'workflow_dispatch' && inputs.target-env != '') && format('chain-{0}', inputs.target-env) || @@ -117,9 +122,11 @@ jobs: needs.resolve-target.outputs.base-ref || inputs.target-env || (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') && 'nexus-testnet-v2-0-rc-1') || + (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-4-') && 'nexus-testnet-v2-0-rc-4') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'mainnet-') && 'mainnet') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'testnet-') && 'testnet') || (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/') && 'nexus-testnet-v2-0-rc-1') || + (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-4/') && 'nexus-testnet-v2-0-rc-4') || (startsWith(github.ref_name, 'iterate/mainnet/') && 'mainnet') || (startsWith(github.ref_name, 'iterate/testnet/') && 'testnet') || (github.event_name == 'pull_request' && github.base_ref) || @@ -147,12 +154,14 @@ jobs: (github.event_name == 'push' && github.ref_type == 'branch' && ( startsWith(github.ref_name, 'iterate/testnet/') || startsWith(github.ref_name, 'iterate/mainnet/') || - startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/') + startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/') || + startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-4/') )) || (github.event_name == 'push' && github.ref_type == 'tag' && ( startsWith(github.ref_name, 'testnet-') || startsWith(github.ref_name, 'mainnet-') || - startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') + startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') || + startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-4-') ))) uses: ./.github/workflows/offchain-tools.prepare.yml with: @@ -161,9 +170,11 @@ jobs: needs.resolve-target.outputs.base-ref || inputs.target-env || (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') && 'nexus-testnet-v2-0-rc-1') || + (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-4-') && 'nexus-testnet-v2-0-rc-4') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'mainnet-') && 'mainnet') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'testnet-') && 'testnet') || (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/') && 'nexus-testnet-v2-0-rc-1') || + (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-4/') && 'nexus-testnet-v2-0-rc-4') || (startsWith(github.ref_name, 'iterate/mainnet/') && 'mainnet') || (startsWith(github.ref_name, 'iterate/testnet/') && 'testnet') || (github.event_name == 'pull_request' && github.base_ref) || @@ -183,9 +194,11 @@ jobs: needs.resolve-target.outputs.base-ref || inputs.target-env || (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-1-') && 'nexus-testnet-v2-0-rc-1') || + (github.ref_type == 'tag' && startsWith(github.ref_name, 'nexus-testnet-v2-0-rc-4-') && 'nexus-testnet-v2-0-rc-4') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'mainnet-') && 'mainnet') || (github.ref_type == 'tag' && startsWith(github.ref_name, 'testnet-') && 'testnet') || (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-1/') && 'nexus-testnet-v2-0-rc-1') || + (startsWith(github.ref_name, 'iterate/nexus-testnet-v2-0-rc-4/') && 'nexus-testnet-v2-0-rc-4') || (startsWith(github.ref_name, 'iterate/mainnet/') && 'mainnet') || (startsWith(github.ref_name, 'iterate/testnet/') && 'testnet') || (github.event_name == 'pull_request' && github.base_ref) || diff --git a/.github/workflows/offchain-tools.deploy.yml b/.github/workflows/offchain-tools.deploy.yml index 943b7e2..145b2e4 100644 --- a/.github/workflows/offchain-tools.deploy.yml +++ b/.github/workflows/offchain-tools.deploy.yml @@ -27,6 +27,7 @@ jobs: ${{ (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'mainnet' && 'mainnet' || (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-1' && 'nexus-testnet-v2-0-rc-1' || + (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-4' && 'nexus-testnet-v2-0-rc-4' || 'testnet' }} strategy: diff --git a/.github/workflows/offchain-tools.prepare.yml b/.github/workflows/offchain-tools.prepare.yml index 7bc63e2..9d7f941 100644 --- a/.github/workflows/offchain-tools.prepare.yml +++ b/.github/workflows/offchain-tools.prepare.yml @@ -23,6 +23,7 @@ jobs: ${{ (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'mainnet' && 'mainnet' || (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-1' && 'nexus-testnet-v2-0-rc-1' || + (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-4' && 'nexus-testnet-v2-0-rc-4' || 'testnet' }} strategy: @@ -218,6 +219,7 @@ jobs: ${{ (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'mainnet' && 'mainnet' || (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-1' && 'nexus-testnet-v2-0-rc-1' || + (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-4' && 'nexus-testnet-v2-0-rc-4' || 'testnet' }} steps: diff --git a/.github/workflows/offchain-tools.readiness.yml b/.github/workflows/offchain-tools.readiness.yml index 7b93d5b..c493f2c 100644 --- a/.github/workflows/offchain-tools.readiness.yml +++ b/.github/workflows/offchain-tools.readiness.yml @@ -19,6 +19,7 @@ jobs: ${{ (github.base_ref || github.ref_name) == 'mainnet' && 'mainnet' || (github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-1' && 'nexus-testnet-v2-0-rc-1' || + (github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-4' && 'nexus-testnet-v2-0-rc-4' || 'testnet' }} strategy: diff --git a/.github/workflows/offchain-tools.register.yml b/.github/workflows/offchain-tools.register.yml index c893b8c..e2e2421 100644 --- a/.github/workflows/offchain-tools.register.yml +++ b/.github/workflows/offchain-tools.register.yml @@ -19,6 +19,7 @@ jobs: ${{ (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'mainnet' && 'mainnet' || (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-1' && 'nexus-testnet-v2-0-rc-1' || + (inputs.target-ref || github.event_name == 'pull_request' && github.base_ref || github.ref_name) == 'nexus-testnet-v2-0-rc-4' && 'nexus-testnet-v2-0-rc-4' || 'testnet' }} steps: