Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Aug 26, 2023
1 parent e4c37f6 commit 142e822
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/tokenomics_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
inputs:
repo_snapshots_branch:
description: 'branch of repo-snapshots to derive images and branches from.'
default: 'fix/unit-tests'
default: 'current-sprint'
required: true
existing_network:
description: '(OPTIONAL): *EXISTING NETWORK* to run system tests against *INSTEAD OF* deploying a new network. [example: dev.0chain.net]'
Expand Down Expand Up @@ -104,9 +104,9 @@ jobs:
- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-2b2v@current-sprint
uses: 0chain/actions/deploy-0chain-2b2v@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
teardown_condition: "TESTS_PASSED"
SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }}
Expand All @@ -117,9 +117,9 @@ jobs:
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Challenge Reward System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand All @@ -137,9 +137,9 @@ jobs:

- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-2b2v@current-sprint
uses: 0chain/actions/deploy-0chain-2b2v@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
teardown_condition: "TESTS_PASSED"
SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }}
Expand All @@ -150,9 +150,9 @@ jobs:
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Allocation System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand All @@ -169,9 +169,9 @@ jobs:
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}

- name: "Run Read Rewards System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand All @@ -188,9 +188,9 @@ jobs:
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}

- name: "Run Slash Rewards System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand All @@ -213,9 +213,9 @@ jobs:

- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain-3b3v@current-sprint
uses: 0chain/actions/deploy-0chain-3b3v@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
teardown_condition: "TESTS_PASSED"
SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }}
Expand All @@ -226,9 +226,9 @@ jobs:
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Allocation Add Or Replace Blobber System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand All @@ -246,9 +246,9 @@ jobs:

- name: "Deploy 0Chain"
if: github.event_name == 'push' || github.event.inputs.existing_network == ''
uses: 0chain/actions/deploy-0chain@current-sprint
uses: 0chain/actions/deploy-0chain@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
teardown_condition: "TESTS_PASSED"
SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }}
Expand All @@ -259,9 +259,9 @@ jobs:
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}

- name: "Run Challenge Timings System tests"
uses: 0chain/actions/run-system-tests@current-sprint
uses: 0chain/actions/run-system-tests@feature/tokenomics_suite
with:
repo_snapshots_branch: fix/unit-tests
repo_snapshots_branch: current-sprint
system_tests_branch: ${{ env.CURRENT_BRANCH }}
network: ${{ env.NETWORK_URL }}
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
Expand Down

0 comments on commit 142e822

Please sign in to comment.