mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1285340537
This commit is contained in:
parent
ec42dbb641
commit
e23d10806e
1 changed files with 17 additions and 1 deletions
|
|
@ -40,7 +40,23 @@
|
||||||
- job: version
|
- job: version
|
||||||
artifacts: true
|
artifacts: true
|
||||||
generate-config:
|
generate-config:
|
||||||
stage: build - ./scripts/gitlab/create-environment.sh
|
stage: build
|
||||||
|
script:
|
||||||
|
# Begin of create-environment.sh
|
||||||
|
- |
|
||||||
|
#test deployment
|
||||||
|
echo "
|
||||||
|
deploy_$VERSION:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- pipeline: $PARENT_PIPELINE_ID
|
||||||
|
job: version
|
||||||
|
script:
|
||||||
|
- echo "Deploy to staging server"
|
||||||
|
environment:
|
||||||
|
name: staging
|
||||||
|
" > generated-config.yml
|
||||||
|
# End of create-environment.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- generated-config.yml
|
- generated-config.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue