1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2025-12-09 05:20:38 +00:00

CI: Use the dotenv report method to capture the spec-build internal job id and pass it through to the spec-deploy job

This commit is contained in:
Mark Felder 2025-10-23 21:10:13 -07:00
parent 6f7e521488
commit d15f98bdec

View file

@ -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