Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deployment/aliyun/future-cross-lane-pin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deployment/aliyun/future-cross-lane-pin.env
6 changes: 6 additions & 0 deletions .github/scripts/fixtures/rust-ci-scope/pinned-aliyun.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
deployment/aliyun/polymarket-market-tape.toml
deployment/aliyun/polymarket-market-tape.service
deployment/aliyun/polymarket-reference-collector.service
deployment/aliyun/polymarket-reference-collector-shadow@.service
deployment/aliyun/polymarket-market-tape-upload.service
deployment/aliyun/polymarket-reference-upload.service
13 changes: 7 additions & 6 deletions .github/scripts/select-rust-ci-scope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,6 @@ for path in "${paths[@]}"; do
select_all_ploy_jobs
continue
;;
docs/*|*.md|LICENSE*)
continue
;;
rust_hft/docs/*|rust_hft/README*|rust_hft/*/README*)
continue
;;
rust_hft/deployment/k8s/*|deployment/aliyun/research/k8s/*)
select_job ci/deployment-artifacts
[[ $path == deployment/aliyun/research/* ]] && research_image_relevant=true
Expand All @@ -326,8 +320,15 @@ for path in "${paths[@]}"; do
deployment/aliyun/*)
control=true
toolchain=true
select_job ploy/integration-regressions
Comment thread
proerror77 marked this conversation as resolved.
[[ $path == deployment/aliyun/research/* ]] && research_image_relevant=true
;;
docs/*|*.md|LICENSE*)
continue
;;
rust_hft/docs/*|rust_hft/README*|rust_hft/*/README*)
continue
;;
rust_hft/*)
needs_metadata=true
;;
Expand Down
7 changes: 6 additions & 1 deletion .github/scripts/test-select-rust-ci-scope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ assert_security_jobs() {

job_cases=(
'collector|pull_request|collector.txt|ci/rust,ci/polymarket-evidence-compiler-image'
'pinned-aliyun|pull_request|pinned-aliyun.txt|ploy/integration-regressions,ci/rust'
'pinned-aliyun-push|push|pinned-aliyun.txt|ploy/integration-regressions,ci/rust'
'future-aliyun-pin|pull_request|future-aliyun-pin.txt|ploy/integration-regressions,ci/rust'
'future-aliyun-markdown-pin|pull_request|future-aliyun-markdown-pin.txt|ploy/integration-regressions,ci/rust'
'evaluator|pull_request|evaluator.txt|ploy/commit-hygiene,ploy/rust-format,ploy/safety-scans,ploy/rust-research-heavy'
'shared-prediction|pull_request|shared-prediction.txt|ploy/commit-hygiene,ploy/rust-format,ploy/safety-scans,ploy/rust-control-plane,ploy/rust-runner-lean,ploy/rust-runner-full,ploy/rust-market-data,ploy/rust-research-heavy,ploy/frontend,ploy/integration-regressions'
'prediction-lock|pull_request|prediction-lock.txt|ploy/commit-hygiene,ploy/research-image-binaries,ploy/research-image-smoke,ploy/rust-format,ploy/safety-scans,ploy/audit,ploy/rust-control-plane,ploy/rust-runner-lean,ploy/rust-runner-full,ploy/rust-market-data,ploy/rust-research-heavy,ploy/frontend,ploy/integration-regressions'
Expand Down Expand Up @@ -149,7 +153,7 @@ for flag in handoff json ondo focused toolchain; do assert_flag "$live" "$flag"
for flag in loop collector control; do assert_flag "$live" "$flag" false; done

control=$(run_case control pull_request control.txt)
assert_jobs "$control" 'ci/rust'
assert_jobs "$control" 'ploy/integration-regressions,ci/rust'
for flag in control toolchain; do assert_flag "$control" "$flag" true; done
for flag in loop handoff json ondo collector focused; do assert_flag "$control" "$flag" false; done

Expand Down Expand Up @@ -230,6 +234,7 @@ ploy_workflow="$script_dir/../workflows/ploy-ci.yml"
grep -Fqx " group: prediction-markets-\${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}" "$ploy_workflow"
grep -Fqx " cancel-in-progress: \${{ github.ref != 'refs/heads/main' }}" "$ploy_workflow"
[[ $(grep -Fxc ' branches: [main, develop]' "$ploy_workflow") -eq 2 ]]
grep -Fqx ' - "deployment/aliyun/**"' "$ploy_workflow"
grep -Fqx ' needs: image-smoke-selector' "$ploy_workflow"
grep -Fqx "$always_condition" "$ploy_workflow"
grep -Fqx ' working-directory: .' "$ploy_workflow"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ploy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- "rust_hft/**"
- ".cargo/**"
- "deployment/aliyun/research/**"
- "deployment/aliyun/**"
Comment thread
proerror77 marked this conversation as resolved.
- ".github/workflows/**"
- ".github/actions/**"
- ".github/scripts/**"
Expand Down
Loading