CI renamed deploy to review

This commit is contained in:
Sebastian Frank 2017-09-06 10:39:21 +02:00
parent d2cb821143
commit 2470145209

View File

@ -1,7 +1,7 @@
stages: stages:
- build - build
# - test # - test
- deploy - review
build_ui: build_ui:
image: node image: node
@ -25,30 +25,30 @@ build_ui:
- index.html - index.html
deploy: review:
image: mwienk/docker-lftp image: mwienk/docker-lftp
tags: tags:
- docker - docker
dependencies: dependencies:
- build_ui - build_ui
stage: deploy stage: review
script: script:
- cat index.html - cat index.html
- mkdir _for_upload - mkdir _for_upload
- mv assets build conf index.html _for_upload - mv assets build conf index.html _for_upload
- lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -n -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME" - lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -n -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME"
environment: environment:
name: $CI_COMMIT_REF_NAME name: review/$CI_COMMIT_REF_NAME
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/ url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
deploy_fullsync: review_fullsync:
image: mwienk/docker-lftp image: mwienk/docker-lftp
tags: tags:
- docker - docker
dependencies: dependencies:
- build_ui - build_ui
stage: deploy stage: review
script: script:
- mkdir _for_upload - mkdir _for_upload
- mv assets build conf index.html _for_upload - mv assets build conf index.html _for_upload