commit: 929ed42a44742ffd7ea0683a2665422b301e13d1
parent 464fb3fb602cf8ca80408e16ad05fbe81a69ef52
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, 5 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -110,9 +110,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:
@@ -260,6 +263,8 @@ spec-deploy:
strategy: depend
only:
- develop@pleroma/pleroma
+ variables:
+ SPEC_BUILD_JOB_ID: $SPEC_BUILD_JOB_ID
stop_review_app:
image: alpine:3.9