Skip to content

Commit cbb1b4c

Browse files
Fix CI variable inheritance for BenchPark child pipeline
[park-send] - Add inherit: variables: true to trigger_benchpark_pipeline - This passes RESULT_SERVER and RESULT_SERVER_KEY to child pipeline - Add debug output to verify CI variables are set - Fixes 403 error when sending results
1 parent f47dd68 commit cbb1b4c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,12 @@ trigger_benchpark_pipeline:
161161
- artifact: .gitlab-ci.benchpark.yml
162162
job: generate_benchpark_matrix
163163
strategy: depend
164+
inherit:
165+
variables: true
164166
needs:
165167
- job: generate_benchpark_matrix
166168
optional: true
169+
optional: true
167170
rules:
168171
- if: '$park_only == "true"'
169172
when: always # park_onlyモードでは常に実行

scripts/benchpark_matrix_generate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ ${job_prefix}_send:
9595
- python3 scripts/convert_benchpark_results.py $system $app
9696
- echo \"Results converted to BenchKit format\"
9797
- ls -la results/
98+
- echo \"Checking CI variables\"
99+
- echo \"RESULT_SERVER is set: \${RESULT_SERVER:+yes}\"
100+
- echo \"RESULT_SERVER_KEY is set: \${RESULT_SERVER_KEY:+yes}\"
98101
- echo \"Sending results to server\"
99102
- bash scripts/send_results.sh
100103
artifacts:

0 commit comments

Comments
 (0)