Zubin pushed to branch wip/gitlab-inputs at Glasgow Haskell Compiler / GHC
Commits:
-
8894740c
by Zubin Duggal at 2025-10-08T16:46:27+05:30
1 changed file:
Changes:
| ... | ... | @@ -202,6 +202,7 @@ workflow: |
| 202 | 202 | - if: '$RELEASE_JOB == "yes"'
|
| 203 | 203 | |
| 204 | 204 | .full-ci: &full-ci
|
| 205 | + - if: '"$[[ inputs.full_ci ]]" == "yes"'
|
|
| 205 | 206 | - if: '$CI_MERGE_REQUEST_LABELS =~ /.*full-ci.*/'
|
| 206 | 207 | - if: '$CI_MERGE_REQUEST_LABELS =~ /.*marge_bot_batch_merge_job.*/'
|
| 207 | 208 | - if: '$CI_COMMIT_BRANCH == "master"'
|
| ... | ... | @@ -266,6 +267,26 @@ not-interruptible: |
| 266 | 267 | # Validate jobs
|
| 267 | 268 | ############################################################
|
| 268 | 269 | |
| 270 | +# Debug job to check input interpolation
|
|
| 271 | +debug-inputs:
|
|
| 272 | + stage: tool-lint
|
|
| 273 | + image: "debian:12"
|
|
| 274 | + variables:
|
|
| 275 | + GIT_STRATEGY: none
|
|
| 276 | + tags:
|
|
| 277 | + - lint
|
|
| 278 | + script:
|
|
| 279 | + - echo "=== DEBUG INPUT VALUES ==="
|
|
| 280 | + - echo "full_ci input interpolated:" "$[[ inputs.full_ci ]]"
|
|
| 281 | + - echo "RELEASE_JOB variable:" "$RELEASE_JOB"
|
|
| 282 | + - echo "NIGHTLY variable:" "$NIGHTLY"
|
|
| 283 | + - echo "ONLY_JOBS variable:" "$ONLY_JOBS"
|
|
| 284 | + - echo "CI_MERGE_REQUEST_LABELS:" "$CI_MERGE_REQUEST_LABELS"
|
|
| 285 | + - echo "CI_COMMIT_BRANCH:" "$CI_COMMIT_BRANCH"
|
|
| 286 | + - echo "Test condition:" "$[[ inputs.full_ci ]]" == "yes"
|
|
| 287 | + rules:
|
|
| 288 | + - when: always
|
|
| 289 | + |
|
| 269 | 290 | # These jobs are generated by running the ./.gitlab/generate_jobs script
|
| 270 | 291 | include: '.gitlab/jobs.yaml'
|
| 271 | 292 |