Skip to content

ci: remove load 1.0 #4106

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

Merged
merged 9 commits into from
Jul 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 2 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ jobs:
- uses: ./.github/actions/setup-go-for-project
- uses: ./.github/actions/run-monitored-tmpnet-cmd
with:
run: ./scripts/run_task.sh test-load
run: ./scripts/run_task.sh test-load -- --load-timeout=30s
artifact_prefix: load
prometheus_username: ${{ secrets.PROMETHEUS_ID || '' }}
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
Expand All @@ -254,27 +254,13 @@ jobs:
- uses: ./.github/actions/setup-go-for-project
- uses: ./.github/actions/run-monitored-tmpnet-cmd
with:
run: ./scripts/run_task.sh test-load-kube-kind
run: ./scripts/run_task.sh test-load-kube-kind -- --load-timeout=30s
runtime: kube
artifact_prefix: load-kube
prometheus_username: ${{ secrets.PROMETHEUS_ID || '' }}
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
loki_username: ${{ secrets.LOKI_ID || '' }}
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
load2:
name: Run load2 test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go-for-project
- uses: ./.github/actions/run-monitored-tmpnet-cmd
with:
run: ./scripts/run_task.sh test-load2 -- --load-timeout=30s
artifact_prefix: load2
prometheus_username: ${{ secrets.PROMETHEUS_ID || '' }}
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
loki_username: ${{ secrets.LOKI_ID || '' }}
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
robustness:
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 2 additions & 8 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,25 +316,19 @@ tasks:
desc: Runs load tests
cmds:
- task: generate-load-contract-bindings
- task: build
- cmd: go run ./tests/load/c/main --avalanchego-path=./build/avalanchego {{.CLI_ARGS}}

test-load2:
desc: Runs second iteration of load tests
cmds:
- task: build
- cmd: go run ./tests/load2/main --avalanchego-path=./build/avalanchego {{.CLI_ARGS}}

test-load-exclusive:
desc: Runs load tests against kube with exclusive scheduling
cmds:
- cmd: go run ./tests/load/c/main --runtime=kube --kube-use-exclusive-scheduling {{.CLI_ARGS}}
- cmd: go run ./tests/load2/main --runtime=kube --kube-use-exclusive-scheduling {{.CLI_ARGS}}

test-load-kube:
desc: Runs load tests against a kubernetes cluster
cmds:
- task: generate-load-contract-bindings
- cmd: go run ./tests/load/c/main --runtime=kube {{.CLI_ARGS}}
- cmd: go run ./tests/load2/main --runtime=kube {{.CLI_ARGS}}

test-load-kube-kind:
desc: Runs load tests against a kind cluster
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests.load.kube.kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ else
echo "Defaulting to limited-permission context 'kind-kind-tmpnet' to test RBAC Role permissions"
fi

go run ./tests/load/c/main --runtime=kube --kube-image="$AVALANCHEGO_IMAGE" "$KUBECONFIG_CONTEXT" "$@"
go run ./tests/load2/main --runtime=kube --kube-image="$AVALANCHEGO_IMAGE" "$KUBECONFIG_CONTEXT" "$@"