-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #561 from celestiaorg/evan/pull-changes-from-upstr…
…eam-master chore: Pull changes from upstream master
- Loading branch information
Showing
244 changed files
with
3,128 additions
and
21,705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" | ||
go-version: "1.17" | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
@@ -69,7 +69,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" | ||
go-version: "1.17" | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
@@ -85,7 +85,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: "1.17" | ||
- name: test & coverage report creation | ||
run: | | ||
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -coverprofile=${{ matrix.part }}profile.out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Runs randomly generated E2E testnets nightly on v0.35.x. | ||
|
||
# !! If you change something in this file, you probably want | ||
# to update the e2e-nightly-master workflow as well! | ||
|
||
name: e2e-nightly-35x | ||
on: | ||
workflow_dispatch: # allow running workflow manually | ||
schedule: | ||
- cron: '0 2 * * *' | ||
|
||
jobs: | ||
e2e-nightly-test: | ||
# Run parallel jobs for the listed testnet groups (must match the | ||
# ./build/generator -g flag) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
p2p: ['legacy', 'new', 'hybrid'] | ||
group: ['00', '01', '02', '03'] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
ref: 'v0.35.x' | ||
|
||
- name: Build | ||
working-directory: test/e2e | ||
# Run make jobs in parallel, since we can't run steps in parallel. | ||
run: make -j2 docker generator runner tests | ||
|
||
- name: Generate testnets | ||
working-directory: test/e2e | ||
# When changing -g, also change the matrix groups above | ||
run: ./build/generator -g 4 -d networks/nightly/${{ matrix.p2p }} -p ${{ matrix.p2p }} | ||
|
||
- name: Run ${{ matrix.p2p }} p2p testnets in group ${{ matrix.group }} | ||
working-directory: test/e2e | ||
run: ./run-multiple.sh networks/nightly/${{ matrix.p2p }}/*-group${{ matrix.group }}-*.toml | ||
|
||
e2e-nightly-fail-2: | ||
needs: e2e-nightly-test | ||
if: ${{ failure() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify Slack on failure | ||
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
SLACK_CHANNEL: tendermint-internal | ||
SLACK_USERNAME: Nightly E2E Tests | ||
SLACK_ICON_EMOJI: ':skull:' | ||
SLACK_COLOR: danger | ||
SLACK_MESSAGE: Nightly E2E tests failed on v0.35.x | ||
SLACK_FOOTER: '' | ||
|
||
e2e-nightly-success: # may turn this off once they seem to pass consistently | ||
needs: e2e-nightly-test | ||
if: ${{ success() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify Slack on success | ||
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
SLACK_CHANNEL: tendermint-internal | ||
SLACK_USERNAME: Nightly E2E Tests | ||
SLACK_ICON_EMOJI: ':white_check_mark:' | ||
SLACK_COLOR: good | ||
SLACK_MESSAGE: Nightly E2E tests passed on v0.35.x | ||
SLACK_FOOTER: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,19 @@ on: | |
- cron: '0 2 * * *' | ||
|
||
jobs: | ||
e2e-nightly-test-2: | ||
e2e-nightly-test: | ||
# Run parallel jobs for the listed testnet groups (must match the | ||
# ./build/generator -g flag) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
p2p: ['legacy', 'new', 'hybrid'] | ||
group: ['00', '01', '02', '03'] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
|
||
- uses: actions/[email protected] | ||
|
||
|
@@ -35,14 +34,14 @@ jobs: | |
- name: Generate testnets | ||
working-directory: test/e2e | ||
# When changing -g, also change the matrix groups above | ||
run: ./build/generator -g 4 -d networks/nightly/${{ matrix.p2p }} -p ${{ matrix.p2p }} | ||
run: ./build/generator -g 4 -d networks/nightly/ | ||
|
||
- name: Run ${{ matrix.p2p }} p2p testnets in group ${{ matrix.group }} | ||
- name: Run ${{ matrix.p2p }} p2p testnets | ||
working-directory: test/e2e | ||
run: ./run-multiple.sh networks/nightly/${{ matrix.p2p }}/*-group${{ matrix.group }}-*.toml | ||
run: ./run-multiple.sh networks/nightly/*-group${{ matrix.group }}-*.toml | ||
|
||
e2e-nightly-fail-2: | ||
needs: e2e-nightly-test-2 | ||
needs: e2e-nightly-test | ||
if: ${{ failure() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -58,7 +57,7 @@ jobs: | |
SLACK_FOOTER: '' | ||
|
||
e2e-nightly-success: # may turn this off once they seem to pass consistently | ||
needs: e2e-nightly-test-2 | ||
needs: e2e-nightly-test | ||
if: ${{ success() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
@@ -33,10 +33,6 @@ jobs: | |
|
||
- name: Run CI testnet | ||
working-directory: test/e2e | ||
run: ./build/runner -f networks/ci.toml | ||
run: ./run-multiple.sh networks/ci.toml | ||
if: "env.GIT_DIFF != ''" | ||
|
||
- name: Emit logs on failure | ||
if: ${{ failure() }} | ||
working-directory: test/e2e | ||
run: ./build/runner -f networks/ci.toml logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
|
||
- uses: actions/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- uses: golangci/[email protected] | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.38 | ||
version: v1.42.1 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
if: env.GIT_DIFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" | ||
go-version: "1.17" | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
@@ -49,7 +49,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" | ||
go-version: "1.17" | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
@@ -80,7 +80,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" | ||
go-version: "1.17" | ||
- uses: actions/[email protected] | ||
- uses: technote-space/get-diff-action@v5 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.