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:
parent
6f7e521488
commit
d15f98bdec
1 changed files with 4 additions and 1 deletions
|
|
@ -109,9 +109,12 @@ spec-build:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- spec.json
|
- spec.json
|
||||||
|
reports:
|
||||||
|
dotenv: build.env
|
||||||
expire_in: 42 years
|
expire_in: 42 years
|
||||||
script:
|
script:
|
||||||
- mix pleroma.openapi_spec spec.json
|
- mix pleroma.openapi_spec spec.json
|
||||||
|
- echo "SPEC_BUILD_JOB_ID=$CI_JOB_ID" >> build.env
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
extends:
|
extends:
|
||||||
|
|
@ -275,7 +278,7 @@ spec-deploy:
|
||||||
only:
|
only:
|
||||||
- develop@pleroma/pleroma
|
- develop@pleroma/pleroma
|
||||||
variables:
|
variables:
|
||||||
PIPELINE_ID: $CI_PIPELINE_ID
|
SPEC_BUILD_JOB_ID: $SPEC_BUILD_JOB_ID
|
||||||
|
|
||||||
stop_review_app:
|
stop_review_app:
|
||||||
image: alpine:3.9
|
image: alpine:3.9
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue