Skip to content

Commit

Permalink
This env context does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Dec 21, 2023
1 parent 214acac commit 34eb77c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 27 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/nightly-update-test-mainnet-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: false

env:
FEATURENET_NAME: ops-updatenet-mainnet

jobs:
check-vars-and-secrets:
name: Check vars and secrets
Expand All @@ -34,7 +31,7 @@ jobs:
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-updatenet-mainnet'
ref: 'mainnet'
expiration: '4h'
validators: '7'
Expand All @@ -47,7 +44,7 @@ jobs:
uses: ./.github/workflows/featurenet-update.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-updatenet-mainnet'
ref: 'testnet'
rolling-update-partition: '0'
short-session: false
Expand All @@ -59,7 +56,7 @@ jobs:
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-updatenet-mainnet'

# slack-notification:
# name: Slack notification
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/nightly-update-test-testnet-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: false

env:
FEATURENET_NAME: ops-updatenet-testnet

jobs:
check-vars-and-secrets:
name: Check vars and secrets
Expand All @@ -34,7 +31,7 @@ jobs:
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: ${{ env.FEATURENET_NAME }}
featurenet-name: 'ops-updatenet-testnet'
ref: 'testnet'
expiration: '4h'
validators: '8'
Expand All @@ -47,7 +44,7 @@ jobs:
uses: ./.github/workflows/featurenet-update.yml
secrets: inherit
with:
featurenet-name: ${{ env.FEATURENET_NAME }}
featurenet-name: 'ops-updatenet-testnet'
ref: 'main'
rolling-update-partition: '0'
short-session: false
Expand All @@ -59,7 +56,7 @@ jobs:
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: ${{ env.FEATURENET_NAME }}
featurenet-name: 'ops-updatenet-testnet'

# slack-notification:
# name: Slack notification
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/weekly-featurenets-short-session-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

env:
FEATURENET_NAME: ops-test-main-branch

jobs:
check-vars-and-secrets:
name: Check vars and secrets
Expand All @@ -30,7 +27,7 @@ jobs:
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-test-main-branch'
ref: 'main'
expiration: '4h'
validators: '7'
Expand All @@ -44,7 +41,7 @@ jobs:
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-test-main-branch'

# slack:
# name: Slack notification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

env:
FEATURENET_NAME: ops-test-full-hash

jobs:
check-vars-and-secrets:
name: Check vars and secrets
Expand All @@ -30,7 +27,7 @@ jobs:
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-test-full-hash'
ref: '787c39186884aaf86ed48f46f575a8cd8cfd13e8'
expiration: '2h'
validators: '5'
Expand All @@ -44,7 +41,7 @@ jobs:
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-test-full-hash'

# slack:
# name: Slack notification
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/weekly-featurenets-short-session-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

env:
FEATURENET-NAME: ops-test-main-tag

jobs:
check-vars-and-secrets:
name: Check vars and secrets
Expand All @@ -30,7 +27,7 @@ jobs:
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: $FEATURENET_NAME
featurenet-name: 'ops-test-tag'
ref: 'r-12.2'
expiration: '5h'
validators: '8'
Expand All @@ -44,7 +41,7 @@ jobs:
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: FEATURENET-NAME
featurenet-name: 'ops-test-tag'

# slack:
# name: Slack notification
Expand Down

0 comments on commit 34eb77c

Please sign in to comment.