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

chore: Buildjet pr #12231

Merged
merged 25 commits into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion .github/workflows/cosmovisor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "cosmovisor/v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test-sim-multi-seed-long:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
if: "!contains(github.event.head_commit.message, 'skip-sims')"
timeout-minutes: 60
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- name: Install Go
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sims-045.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +28,7 @@ jobs:
- run: make build

install-runsim:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: build
steps:
- uses: actions/setup-go@v3
Expand All @@ -44,7 +44,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary

test-sim-import-export:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
Expand All @@ -64,7 +64,7 @@ jobs:
make test-sim-import-export

test-sim-after-import:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
Expand All @@ -84,7 +84,7 @@ jobs:
make test-sim-after-import

test-sim-multi-seed-short:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
timeout-minutes: 60
steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sims-046.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +28,7 @@ jobs:
- run: make build

install-runsim:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: build
steps:
- uses: actions/setup-go@v3
Expand All @@ -44,7 +44,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary

test-sim-import-export:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
timeout-minutes: 60
steps:
Expand All @@ -65,7 +65,7 @@ jobs:
make test-sim-import-export

test-sim-after-import:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
Expand All @@ -85,7 +85,7 @@ jobs:
make test-sim-after-import

test-sim-multi-seed-short:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary

test-sim-import-export:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build]
timeout-minutes: 60
steps:
Expand All @@ -70,7 +70,7 @@ jobs:
make test-sim-import-export

test-sim-after-import:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build]
steps:
- uses: actions/checkout@v3
Expand All @@ -86,7 +86,7 @@ jobs:
make test-sim-after-import

test-sim-multi-seed-short:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build]
timeout-minutes: 60
steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ permissions:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

install-tparse:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/setup-go@v3
with:
Expand All @@ -35,7 +35,7 @@ jobs:
key: ${{ runner.os }}-go-tparse-binary

build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make cosmovisor

split-test-files:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
path: ./pkgs.txt.part.03

test-race:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: split-test-files
strategy:
fail-fast: false
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ permissions:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
strategy:
matrix:
go-arch: ["amd64", "arm", "arm64"]
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary

test-submodules:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
container: tendermintdev/docker-tm-db-testing
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
path: ./coverage-go-submod-profile.out

split-test-files:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
path: ./pkgs.txt.part.03

tests:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: split-test-files
strategy:
fail-fast: false
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
path: ./${{ matrix.part }}profile.out

upload-coverage-report:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: tests
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
if: env.GIT_DIFF

test-rosetta:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
Expand All @@ -242,7 +242,7 @@ jobs:
# if: env.GIT_DIFF

liveness-test:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
if: env.GIT_DIFF

test-sim-nondeterminism:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build]
steps:
- uses: actions/checkout@v3
Expand Down