commit: d15f98bdecbca504576feace7137487855f411fc
parent 6f7e521488e0c8dba8a9e8e10577f241fa7a010f
Author: Mark Felder <feld@feld.me>
Date: Thu, 23 Oct 2025 21:10:13 -0700
CI: Use the dotenv report method to capture the spec-build internal job id and pass it through to the spec-deploy job
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -109,9 +109,12 @@ spec-build:
artifacts:
paths:
- spec.json
+ reports:
+ dotenv: build.env
expire_in: 42 years
script:
- mix pleroma.openapi_spec spec.json
+ - echo "SPEC_BUILD_JOB_ID=$CI_JOB_ID" >> build.env
benchmark:
extends:
@@ -275,7 +278,7 @@ spec-deploy:
only:
- develop@pleroma/pleroma
variables:
- PIPELINE_ID: $CI_PIPELINE_ID
+ SPEC_BUILD_JOB_ID: $SPEC_BUILD_JOB_ID
stop_review_app:
image: alpine:3.9