-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove bench test from s2n-quic CI (#2418)
- Loading branch information
1 parent
d59d63a
commit 0006a28
Showing
3 changed files
with
0 additions
and
265 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -339,111 +339,6 @@ jobs: | |
--required .github/interop/required.json \ | ||
web/logs/latest/result.json | ||
bench: | ||
runs-on: ubuntu-22.04 | ||
needs: [env, s2n-quic-qns] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install rust toolchain | ||
id: toolchain | ||
run: | | ||
rustup toolchain install stable | ||
rustup override set stable | ||
- uses: camshaft/rust-cache@v1 | ||
|
||
- name: Install tshark | ||
run: | | ||
wget --no-verbose https://dnglbrstg7yg.cloudfront.net/tshark/v$WIRESHARK_VERSION/tshark | ||
chmod +x tshark | ||
sudo mv tshark /usr/bin | ||
/usr/bin/tshark -v | ||
- name: Install gnuplot | ||
run: | | ||
sudo apt-get -o Acquire::Retries=3 update | ||
sudo apt-get -o Acquire::Retries=3 install -y gnuplot | ||
- uses: aws-actions/[email protected] | ||
if: github.repository == github.event.pull_request.head.repo.full_name | ||
with: | ||
role-to-assume: arn:aws:iam::024603541914:role/GitHubOIDCEcrRole | ||
role-session-name: S2nQuicGHAECRSession | ||
aws-region: us-east-1 # Required for ECR | ||
|
||
# authenticate pull to avoid hitting pull quota | ||
- name: Login to Amazon ECR Public | ||
if: github.repository == github.event.pull_request.head.repo.full_name | ||
id: login-ecr-public | ||
uses: aws-actions/amazon-ecr-login@v2 | ||
with: | ||
registry-type: public | ||
|
||
- name: Pull s2n-quic-qns:main | ||
if: github.event.pull_request | ||
run: docker pull public.ecr.aws/s2n/s2n-quic-qns:main | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: s2n-quic-qns-debug | ||
path: s2n-quic-qns-build/ | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: s2n-quic-qns-release | ||
path: s2n-quic-qns-build/ | ||
|
||
- name: Setup dockerfile | ||
working-directory: s2n-quic-qns-build | ||
run: | | ||
cp ../quic/s2n-quic-qns/etc/Dockerfile . | ||
cp ../quic/s2n-quic-qns/etc/run_endpoint.sh . | ||
- name: Run docker build | ||
working-directory: s2n-quic-qns-build | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
run: | | ||
docker build . --file Dockerfile --target prebuilt --tag aws/s2n-quic-qns | ||
- name: Run script for pull request | ||
if: github.event.pull_request | ||
run: sudo env "PATH=$PATH" "BUILD_S2N_QUIC=false" "COMPARE_TO_MAIN=true" ./scripts/benchmark/run-all | ||
|
||
- name: Run script for push to main | ||
if: github.event_name == 'push' | ||
run: sudo env "PATH=$PATH" "BUILD_S2N_QUIC=false" ./scripts/benchmark/run-all | ||
|
||
- uses: aws-actions/[email protected] | ||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name | ||
with: | ||
role-to-assume: arn:aws:iam::024603541914:role/GitHubOIDCRole | ||
role-session-name: S2nQuicGHAS3Session | ||
aws-region: us-west-2 | ||
|
||
- name: Upload results | ||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name | ||
id: s3 | ||
run: | | ||
TARGET="${{ github.sha }}/bench" | ||
aws s3 sync target/benchmark/results "s3://s2n-quic-ci-artifacts/$TARGET" --acl private --follow-symlinks | ||
URL="$CDN/$TARGET/index.html" | ||
echo "URL=$URL" >> $GITHUB_OUTPUT | ||
- uses: ouzi-dev/[email protected] | ||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name | ||
with: | ||
name: "bench / report" | ||
status: "success" | ||
url: "${{ steps.s3.outputs.URL }}" | ||
|
||
- name: Assert no crashes | ||
run: | | ||
! grep -Rq 'The s2n-quic-qns application shut down unexpectedly' target/benchmark/results | ||
h3spec: | ||
runs-on: ubuntu-22.04 | ||
needs: [s2n-quic-qns] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.