Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Aug 16, 2023
1 parent 2027808 commit 8a674a5
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/tokenomics_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,9 @@ jobs:





- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain@feature/tokenomics_suite
uses: 0chain/actions/deploy-0chain-2b2v@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
Expand All @@ -189,7 +187,7 @@ jobs:
graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/${{ secrets.TENDERLY_FORK_ID }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Challenge Timings System tests"
- name: "Run Slash Rewards System tests"
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
Expand All @@ -202,14 +200,13 @@ jobs:
run_api_system_tests: false
run_cli_system_tests: false
run_tokenomics_system_tests: true
tokenomics_test_filter: ${{ env.TOKENOMICS_CHALLENGE_TIMINGS_TESTS }}
tokenomics_test_filter: ${{ env.TOKENOMICS_SLASH_REWARD_TESTS }}
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}
run_smoke_tests: ${{ inputs.run_smoke_tests }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}



- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-2b2v@feature/tokenomics_suite
Expand All @@ -224,7 +221,7 @@ jobs:
graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/${{ secrets.TENDERLY_FORK_ID }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Slash Rewards System tests"
- name: "Run Read Rewards System tests"
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
Expand All @@ -237,7 +234,7 @@ jobs:
run_api_system_tests: false
run_cli_system_tests: false
run_tokenomics_system_tests: true
tokenomics_test_filter: ${{ env.TOKENOMICS_SLASH_REWARD_TESTS }}
tokenomics_test_filter: ${{ env.TOKENOMICS_READ_REWARD_TESTS }}
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}
run_smoke_tests: ${{ inputs.run_smoke_tests }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
Expand All @@ -246,7 +243,7 @@ jobs:

- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-2b2v@feature/tokenomics_suite
uses: 0chain/actions/deploy-0chain-3b3v@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
Expand All @@ -258,7 +255,7 @@ jobs:
graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/${{ secrets.TENDERLY_FORK_ID }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Read Rewards System tests"
- name: "Run Allocation Add Or Replace Blobber System tests"
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
Expand All @@ -271,16 +268,15 @@ jobs:
run_api_system_tests: false
run_cli_system_tests: false
run_tokenomics_system_tests: true
tokenomics_test_filter: ${{ env.TOKENOMICS_READ_REWARD_TESTS }}
tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_ADD_OR_REPLACE_BLOBBER_TESTS }}
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}
run_smoke_tests: ${{ inputs.run_smoke_tests }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}


- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-3b3v@feature/tokenomics_suite
uses: 0chain/actions/deploy-0chain@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
Expand All @@ -292,7 +288,7 @@ jobs:
graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/${{ secrets.TENDERLY_FORK_ID }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Allocation Add Or Replace Blobber System tests"
- name: "Run Challenge Timings System tests"
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: staging
Expand All @@ -305,7 +301,7 @@ jobs:
run_api_system_tests: false
run_cli_system_tests: false
run_tokenomics_system_tests: true
tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_ADD_OR_REPLACE_BLOBBER_TESTS }}
tokenomics_test_filter: ${{ env.TOKENOMICS_CHALLENGE_TIMINGS_TESTS }}
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}
run_smoke_tests: ${{ inputs.run_smoke_tests }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
Expand Down

0 comments on commit 8a674a5

Please sign in to comment.