Merge pull request 'Woodpecker CI: Pass API deployment parameters separately' (#7990) from fix/woodpecker-trigger-params into develop
This commit is contained in:
commit
b68f13b959
2 changed files with 5 additions and 4 deletions
|
|
@ -50,6 +50,9 @@ steps:
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
- mix deps.get --only prod
|
- mix deps.get --only prod
|
||||||
- mix pleroma.openapi_spec spec.json
|
- mix pleroma.openapi_spec spec.json
|
||||||
|
- |
|
||||||
|
printf 'BRANCH=stable\nSPEC_VERSION=%s\n' "$${CI_COMMIT_SHA}" > trigger-deploy-stable.params
|
||||||
|
printf 'BRANCH=develop\nSPEC_VERSION=%s\n' "$${CI_COMMIT_SHA}" > trigger-deploy-develop.params
|
||||||
|
|
||||||
upload-spec:
|
upload-spec:
|
||||||
image: *artifacts_uploader_image
|
image: *artifacts_uploader_image
|
||||||
|
|
@ -86,8 +89,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
<<: *trigger_settings
|
<<: *trigger_settings
|
||||||
params:
|
params:
|
||||||
- BRANCH=stable
|
- trigger-deploy-stable.params
|
||||||
- SPEC_VERSION=${CI_COMMIT_SHA}
|
|
||||||
|
|
||||||
trigger-deploy-develop:
|
trigger-deploy-develop:
|
||||||
when:
|
when:
|
||||||
|
|
@ -98,5 +100,4 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
<<: *trigger_settings
|
<<: *trigger_settings
|
||||||
params:
|
params:
|
||||||
- BRANCH=develop
|
- trigger-deploy-develop.params
|
||||||
- SPEC_VERSION=${CI_COMMIT_SHA}
|
|
||||||
|
|
|
||||||
0
changelog.d/woodpecker-trigger-params.skip
Normal file
0
changelog.d/woodpecker-trigger-params.skip
Normal file
Loading…
Add table
Add a link
Reference in a new issue