From 0f4755620faada2bfd6789f3a0d58ec08c9705c0 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 25 Jan 2026 09:35:44 -0500 Subject: [PATCH] fix: make manual-burn-pool job visible with play button on pipelines --- .gitlab-ci.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41cd858..e973f02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,28 +16,41 @@ default: # ============================================================================ # Click the play button in GitLab UI to run the full 42-language matrix # without needing to create a tag. Useful for load testing & pool churn. -manual-matrix-run: +# +# Shows as a play button ▶️ on every pipeline - click to burn the pool! +manual-burn-pool: stage: test script: - - echo "Generating full test matrix..." - - bash scripts/generate-matrix.sh --force-all - - echo "Matrix generated, triggering child pipeline..." + - echo "=== MANUAL POOL BURN ===" + - echo "Generating full 42-language test matrix..." + - | + # Create changes.json to satisfy generate-matrix.sh + echo '{"test_all": true, "changed_langs": []}' > changes.json + - FORCE_FULL_MATRIX=true bash scripts/generate-matrix.sh + - cat test-matrix.yml artifacts: paths: - test-matrix.yml + - changes.json expire_in: 1 hour rules: - - when: manual + - if: $CI_PIPELINE_SOURCE == "push" + when: manual allow_failure: true + - if: $CI_PIPELINE_SOURCE == "web" + when: manual + allow_failure: true + - if: $CI_COMMIT_TAG + when: never -manual-matrix-trigger: +manual-burn-pool-trigger: stage: test needs: - - manual-matrix-run + - manual-burn-pool trigger: include: - artifact: test-matrix.yml - job: manual-matrix-run + job: manual-burn-pool strategy: depend rules: - when: on_success