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
464fb3fb60
commit
929ed42a44
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue