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(CI): Switch regression detector to new API and analysis service #17912

Merged
merged 4 commits into from
Jul 11, 2023
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
1 change: 1 addition & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ compiletime
coredns
corejs
coreutils
curta
daemonset
databend
datacenter
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.merge_group.head_sha || github.sha }}
cancel-in-progress: true

env:
SINGLE_MACHINE_PERFORMANCE_API: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_API }}

jobs:

# Only run this workflow if files changed in areas that could possibly introduce a regression
Expand Down Expand Up @@ -229,7 +232,7 @@ jobs:
export REPLICAS="10"
export TOTAL_SAMPLES="600"
export P_VALUE="0.1"
export SMP_CRATE_VERSION="0.7.3"
export SMP_CRATE_VERSION="0.9.0"
export LADING_VERSION="0.12.0"

echo "warmup seconds: ${WARMUP_SECONDS}"
Expand Down Expand Up @@ -496,6 +499,7 @@ jobs:
chmod +x ${{ runner.temp }}/bin/smp

${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job submit \
--use-curta \
--lading-version ${{ needs.compute-metadata.outputs.lading-version }} \
--total-samples ${{ needs.compute-metadata.outputs.total-samples }} \
--warmup-seconds ${{ needs.compute-metadata.outputs.warmup-seconds }} \
Expand Down Expand Up @@ -525,6 +529,7 @@ jobs:
chmod +x ${{ runner.temp }}/bin/smp

${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job status \
--use-curta \
--wait \
--wait-delay-seconds 60 \
--wait-timeout-minutes 90 \
Expand All @@ -537,6 +542,7 @@ jobs:
run: |
chmod +x ${{ runner.temp }}/bin/smp
${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job cancel \
--use-curta \
--submission-metadata ${{ runner.temp }}/submission-metadata

- name: Check status, cancelled
Expand Down Expand Up @@ -617,6 +623,8 @@ jobs:
chmod +x ${{ runner.temp }}/bin/smp

${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job result \
--use-curta \
--use-consignor \
--submission-metadata ${{ runner.temp }}/submission-metadata

- name: Check status, cancelled
Expand Down Expand Up @@ -708,6 +716,8 @@ jobs:
chmod +x ${{ runner.temp }}/bin/smp

${{ runner.temp }}/bin/smp --team-id ${{ secrets.SINGLE_MACHINE_PERFORMANCE_TEAM_ID }} job sync \
--use-curta \
--use-consignor \
--submission-metadata ${{ runner.temp }}/submission-metadata \
--output-path "${{ runner.temp }}/outputs"

Expand Down