ci: inherit more variables

this is somehow a temporary workaround, the long-term solution shall be
related to `inherit:variables`
This commit is contained in:
Fu Hanxi
2025-05-13 13:26:15 +02:00
parent 9a9438b79a
commit dc05b46ab5
2 changed files with 2 additions and 0 deletions

View File

@@ -314,6 +314,7 @@ build_child_pipeline:
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
BUILD_AND_TEST_ALL_APPS: $BUILD_AND_TEST_ALL_APPS
REPORT_EXIT_CODE: $REPORT_EXIT_CODE
OOCD_DISTRO_URL: $OOCD_DISTRO_URL
# https://gitlab.com/gitlab-org/gitlab/-/issues/214340
inherit:
variables: false

View File

@@ -37,6 +37,7 @@ Pytest Target Test Jobs:
needs:
- generate_pytest_child_pipeline
variables:
OOCD_DISTRO_URL: $OOCD_DISTRO_URL
PARENT_PIPELINE_ID: $PARENT_PIPELINE_ID
REPORT_EXIT_CODE: $REPORT_EXIT_CODE
# https://gitlab.com/gitlab-org/gitlab/-/issues/214340