Skip to content

feat(scaletest): annotate scaletest pod when scaletest is in progress #10235

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 8 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
set status annotation during scaletest
  • Loading branch information
johnstcn committed Oct 12, 2023
commit e316ea54d97ab708ee3c77fd97b2249786b7a394
1 change: 1 addition & 0 deletions scaletest/templates/scaletest-runner/scripts/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mkdir -p "${SCALETEST_RESULTS_DIR}"

log "Preparing scaletest workspace environment..."
set_status Preparing
set_status_annotation preparing

log "Compressing previous run logs (if applicable)..."
mkdir -p "${HOME}/archive"
Expand Down
2 changes: 2 additions & 0 deletions scaletest/templates/scaletest-runner/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export SCALETEST_PARAM_LOAD_SCENARIOS=("${scaletest_load_scenarios[@]}")

log "Running scaletest..."
set_status Running
set_status_annotation running

start_phase "Creating workspaces"
coder exp scaletest create-workspaces \
Expand Down Expand Up @@ -63,3 +64,4 @@ done

log "Scaletest complete!"
set_status Complete
set_status_annotation complete