Skip to content

Commit

Permalink
Merge pull request #3169 from autonomys/create-taurus-tag
Browse files Browse the repository at this point in the history
rename gemini-3h to taurus in workflows
  • Loading branch information
nazar-pc authored Oct 24, 2024
2 parents 6d52f41 + ec3f970 commit 8de6d24
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/chain-spec-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
push:
tags:
- 'chain-spec-snapshot-*'
- 'chain-spec-gemini-*'
- 'chain-spec-taurus-*'

jobs:
chains-spec:
Expand All @@ -28,23 +28,23 @@ jobs:

- name: Generate testnet chain specifications
run: |
docker run --rm -u root ${{ steps.build.outputs.digest }} build-spec --chain gemini-3h-compiled --disable-default-bootnode > chain-spec-gemini-3h.json
docker run --rm -u root ${{ steps.build.outputs.digest }} build-spec --chain gemini-3h-compiled --disable-default-bootnode --raw > chain-spec-raw-gemini-3h.json
docker run --rm -u root ${{ steps.build.outputs.digest }} build-spec --chain taurus-compiled --disable-default-bootnode > chain-spec-taurus.json
docker run --rm -u root ${{ steps.build.outputs.digest }} build-spec --chain taurus-compiled --disable-default-bootnode --raw > chain-spec-raw-taurus.json
- name: Upload chain specifications to artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.1.3
with:
name: chain-specifications
path: |
chain-spec-gemini-3h.json
chain-spec-raw-gemini-3h.json
chain-spec-taurus.json
chain-spec-raw-taurus.json
if-no-files-found: error

- name: Upload chain specifications to assets
uses: alexellis/upload-assets@13926a61cdb2cb35f5fdef1c06b8b591523236d3 # 0.4.1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["chain-spec-gemini-3h.json", "chain-spec-raw-gemini-3h.json"]'
asset_paths: '["chain-spec-taurus.json", "chain-spec-raw-taurus.json"]'
# Only run for releases
if: github.event_name == 'push' && github.ref_type == 'tag'
12 changes: 6 additions & 6 deletions .github/workflows/domain-genesis-storage-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
tags:
- 'domain-genesis-storage-snapshot-*'
- 'domain-genesis-storage-gemini-*'
- 'domain-genesis-storage-taurus-*'

jobs:
domain-genesis-storage:
Expand All @@ -29,9 +29,9 @@ jobs:
run: |
EVM_SPEC_VERSION=$(sed -nr 's/.*spec_version: ([0-9]+),/\1/p' domains/runtime/evm/src/lib.rs)
AUTO_ID_SPEC_VERSION=$(sed -nr 's/.*spec_version: ([0-9]+),/\1/p' domains/runtime/auto-id/src/lib.rs)
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type evm --chain gemini-3h > evm-domain-genesis-storage-gemini-3h-v$EVM_SPEC_VERSION
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type evm --chain taurus > evm-domain-genesis-storage-taurus-v$EVM_SPEC_VERSION
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type evm --chain devnet > evm-domain-genesis-storage-devnet-v$EVM_SPEC_VERSION
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type auto-id --chain gemini-3h > auto-id-domain-genesis-storage-gemini-3h-v$AUTO_ID_SPEC_VERSION
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type auto-id --chain taurus > auto-id-domain-genesis-storage-taurus-v$AUTO_ID_SPEC_VERSION
docker run --rm -u root ${{ steps.build.outputs.digest }} domain build-genesis-storage --runtime-type auto-id --chain devnet > auto-id-domain-genesis-storage-devnet-v$AUTO_ID_SPEC_VERSION
echo "EVM_SPEC_VERSION=$EVM_SPEC_VERSION" >> $GITHUB_ENV
echo "AUTO_ID_SPEC_VERSION=$AUTO_ID_SPEC_VERSION" >> $GITHUB_ENV
Expand All @@ -41,9 +41,9 @@ jobs:
with:
name: domain-genesis-storage
path: |
evm-domain-genesis-storage-gemini-3h-v${{ env.EVM_SPEC_VERSION }}
evm-domain-genesis-storage-taurus-v${{ env.EVM_SPEC_VERSION }}
evm-domain-genesis-storage-devnet-v${{ env.EVM_SPEC_VERSION }}
auto-id-domain-genesis-storage-gemini-3h-v${{ env.AUTO_ID_SPEC_VERSION }}
auto-id-domain-genesis-storage-taurus-v${{ env.AUTO_ID_SPEC_VERSION }}
auto-id-domain-genesis-storage-devnet-v${{ env.AUTO_ID_SPEC_VERSION }}
if-no-files-found: error

Expand All @@ -52,6 +52,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["evm-domain-genesis-storage-gemini-3h-v${{ env.EVM_SPEC_VERSION }}", "evm-domain-genesis-storage-devnet-v${{ env.EVM_SPEC_VERSION }}", "auto-id-domain-genesis-storage-gemini-3h-v${{ env.AUTO_ID_SPEC_VERSION }}", "auto-id-domain-genesis-storage-devnet-v${{ env.AUTO_ID_SPEC_VERSION }}"]'
asset_paths: '["evm-domain-genesis-storage-taurus-v${{ env.EVM_SPEC_VERSION }}", "evm-domain-genesis-storage-devnet-v${{ env.EVM_SPEC_VERSION }}", "auto-id-domain-genesis-storage-taurus-v${{ env.AUTO_ID_SPEC_VERSION }}", "auto-id-domain-genesis-storage-devnet-v${{ env.AUTO_ID_SPEC_VERSION }}"]'
# Only run for releases
if: github.event_name == 'push' && github.ref_type == 'tag'
2 changes: 1 addition & 1 deletion .github/workflows/runtime-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
push:
tags:
- "runtime-snapshot-*"
- "runtime-gemini-*"
- "runtime-taurus-*"

jobs:
runtime:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
push:
tags:
- "snapshot-*"
- "gemini-*"
- "taurus-*"

# Incremental compilation here isn't helpful
env:
Expand Down

0 comments on commit 8de6d24

Please sign in to comment.