Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sprint and resolve conflict to merge master #964

Merged
merged 34 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3b1546e
add more op to rollback
Hitenjain14 Sep 3, 2023
0969183
Merge branch 'master' into add-op-rollback
Kishan-Dhakan Sep 10, 2023
dbb2f40
increase timeout
Kishan-Dhakan Sep 10, 2023
03cbce3
Merge pull request #851 from 0chain/add-op-rollback
Kishan-Dhakan Sep 11, 2023
a33dbe1
add workflow
Kishan-Dhakan Sep 24, 2023
22e1ad9
Merge pull request #865 from 0chain/add-workflow
Kishan-Dhakan Sep 24, 2023
4aab8ec
fix webstreaming tests
boddumanohar Oct 1, 2023
956b44f
Merge pull request #869 from 0chain/fix-web-streaming-st
Kishan-Dhakan Oct 1, 2023
4d7e3a5
remove staging param
Kishan-Dhakan Oct 1, 2023
708a874
disable cron upon internal discussion
Kishan-Dhakan Oct 9, 2023
e41e003
set tokenomics to false as it has it's own cron
Kishan-Dhakan Oct 12, 2023
d710cf9
don't notify manual runs
Kishan-Dhakan Oct 13, 2023
0529bc3
Added tokenomics CI
Jayashsatolia403 Oct 18, 2023
bf6c1c3
Merge pull request #904 from 0chain/feature/tokenomics-manual-workflow
Kishan-Dhakan Oct 18, 2023
eab5ce8
Fix tokenomics ci to work with sprint (#909)
Jayashsatolia403 Oct 25, 2023
3afc6cc
feature: add ethereum wallet for blockchain based operations (#911)
YarikRevich Oct 26, 2023
4af27d6
Update nightly-cypress-run.yaml
Kishan-Dhakan Oct 26, 2023
6bafdb5
Fix tokenomics nightly runs (#928)
Jayashsatolia403 Nov 1, 2023
fcc678b
Update CODEOWNERS to include Jayash (#942)
stewartie4 Nov 12, 2023
4746502
disabled cron for nightly-cypress-run.yaml
shahnawaz-creator Nov 18, 2023
7f702a0
tidy up concurrency issues
stewartie4 Nov 18, 2023
4d43d7a
tidy up concurrency issues
stewartie4 Nov 18, 2023
874eca1
tidy up concurrency issues
stewartie4 Nov 18, 2023
b326c7c
tidy up concurrency issues
stewartie4 Nov 18, 2023
1a35377
only run system tests on PR (#950)
stewartie4 Nov 19, 2023
72849e2
feature: added Tenderly fork creation flow (#961)
YarikRevich Dec 2, 2023
e8727bd
Merge branch 'master' into fix/sprint
Jayashsatolia403 Dec 3, 2023
bc0f706
Merge branch 'sprint-1.11' into fix/sprint
Jayashsatolia403 Dec 5, 2023
cf6eccb
Fix update blobber write prcie
Jayashsatolia403 Dec 6, 2023
c89ad0b
Updated gosdk
Jayashsatolia403 Dec 6, 2023
df9e361
Fix
Jayashsatolia403 Dec 6, 2023
2e79a05
Fix WP unlock
Jayashsatolia403 Dec 6, 2023
cf4f53d
Fix WP unlock
Jayashsatolia403 Dec 6, 2023
227c1c6
Remove blank file test
Jayashsatolia403 Dec 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# The following users own all code in the system_tests repo
# Ryan Kishan
* @stewartie4 @Kishan-Dhakan
# Ryan
* @stewartie4
#Jayash
*.go @Jayashsatolia403
*.mod @Jayashsatolia403
*.sum @Jayashsatolia403
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ concurrency:
cancel-in-progress: true
on:
push:
branches: [ master, staging, sprint* ]
pull_request:
workflow_dispatch:
inputs:
repo_snapshots_branch:
Expand Down Expand Up @@ -112,7 +114,7 @@ jobs:
with:
version: '1.7'
force: 'false'

- name: "Create Tenderly fork"
run: |
echo "TENDERLY_CREATION_INFO=$(curl -X POST \
Expand Down Expand Up @@ -224,6 +226,14 @@ jobs:
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}

- name: "Remove Tenderly fork"
if: always()
run: |
curl -X DELETE \
-H "x-access-key: ${{ secrets.TENDERLY_SECRET }}" \
-H "Content-Type: application/json" \
https://api.tenderly.co/api/v1/account/zus_network/project/project/fork/${{ env.TENDERLY_FORK_ID }}

- name: "Set PR status as ${{ job.status }}"
if: ${{ (success() || failure()) && steps.findPr.outputs.number && github.event.inputs.test_file_filter == '' }}
uses: 0chain/actions/set-pr-status@master
Expand All @@ -235,14 +245,6 @@ jobs:
status_name: "0Chain System Tests"
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
github_token: ${{ github.token }}

- name: "Remove Tenderly fork"
if: always()
run: |
curl -X DELETE \
-H "x-access-key: ${{ secrets.TENDERLY_SECRET }}" \
-H "Content-Type: application/json" \
https://api.tenderly.co/api/v1/account/zus_network/project/project/fork/${{ env.TENDERLY_FORK_ID }}

set-build-conclusion:
name: "Set build conclusion"
Expand Down
37 changes: 30 additions & 7 deletions .github/workflows/nightly-cypress-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
# Runs every morning at 4am UTC
- cron: '0 4 * * *'
# schedule:
# # Runs every morning at 4am UTC
# - cron: '0 4 * * *'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -1324,7 +1324,30 @@ jobs:
runs-on: [ tests-suite ]
needs: [ vult-cypress-run, blimp-cypress-run, chimney-cypress-run, chalk-cypress-run, atlus-cypress-run, bolt-cypress-run ]
steps:
- name: "notify slack"
if: always() && (needs.vult-cypress-run.result != 'success' || needs.blimp-cypress-run.result != 'success' || needs.chimney-cypress-run.result != 'success' || needs.chalk-cypress-run.result != 'success' || needs.atlus-cypress-run.result != 'success' || needs.bolt-cypress-run.result != 'success')
run: |
curl -X POST -H 'Content-type: application/json' --data '{"text":"<!here> 0Chain nightly cypress run failed against current-sprint. View the test results on Github: https://github.com/0chain/system_test/actions/runs/${{ github.run_id }}"}' ${{ secrets.DEVOPS_CHANNEL_WEBHOOK_URL }}
- name: "notify slack: failed"
if: always() && !(needs.vult-cypress-run.result == 'success' && needs.blimp-cypress-run.result == 'success' && needs.chimney-cypress-run.result == 'success' && needs.chalk-cypress-run.result == 'success' && needs.atlus-cypress-run.result == 'success' && needs.bolt-cypress-run.result == 'success')
run: |
payload='{
"text": "'"<!here> 0Chain Nightly Cypress Tests - FAILED on $(echo ${GITHUB_REF#refs/heads/})!.\n View the test results on Github: https://github.com/0chain/system_test/actions/runs/${{ github.run_id }}"'",
"attachments": [
{
"text": "0Chain Nightly Cypress Tests - FAILED ⚠️",
"color": "#ff0000"
}
]
}'
curl -X POST -H 'Content-type: application/json' --data "${payload}" ${{ secrets.DEVOPS_CHANNEL_WEBHOOK_URL }}

- name: "notify slack: success"
if: always() && needs.vult-cypress-run.result == 'success' && needs.blimp-cypress-run.result == 'success' && needs.chimney-cypress-run.result == 'success' && needs.chalk-cypress-run.result == 'success' && needs.atlus-cypress-run.result == 'success' && needs.bolt-cypress-run.result == 'success'
run: |
payload='{
"text": "'"<!here> 0Chain Nightly Cypress Tests - PASSED on $(echo ${GITHUB_REF#refs/heads/})!.\n View the test results on Github: https://github.com/0chain/system_test/actions/runs/${{ github.run_id }}"'",
"attachments": [
{
"text": "0Chain Nightly Cypress Tests - PASSED ✅",
"color": "#ff0000"
}
]
}'
curl -X POST -H 'Content-type: application/json' --data "${payload}" ${{ secrets.DEVOPS_CHANNEL_WEBHOOK_URL }}
6 changes: 3 additions & 3 deletions .github/workflows/nightly-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ concurrency:
group: "nightly-tests-${{ github.ref }}-${{ github.event_name }}"
cancel-in-progress: true
on:
schedule:
# Runs every morning at 2am UTC
- cron: '0 2 * * *'
# schedule:
# # Runs every morning at 2am UTC
# - cron: '0 2 * * *'
workflow_dispatch:

jobs:
Expand Down
Loading