Skip to content
Snippets Groups Projects
Commit 2345278c authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

Merge branch 'remove-review-apps' into 'master'

Remove review apps step since deployment is changing

See merge request arsnova/frag.jetzt!328
parents e025eee4 ab3436e4
Branches
Tags
No related merge requests found
...@@ -5,7 +5,6 @@ stages: ...@@ -5,7 +5,6 @@ stages:
- codestyle - codestyle
- test - test
- build - build
- review
- deploy - deploy
cache: cache:
...@@ -49,35 +48,6 @@ ngbuild: ...@@ -49,35 +48,6 @@ ngbuild:
paths: paths:
- "$BUILD_DIR" - "$BUILD_DIR"
review:
stage: review
script:
- rsync -av --delete "$BUILD_DIR" /srv/nginx/pages/$CI_BUILD_REF_SLUG
environment:
name: review/$CI_BUILD_REF_NAME
url: http://$CI_BUILD_REF_SLUG.$REVIEW_SERVER_URL
on_stop: stop_review
only:
- branches
except:
- master
tags:
- nginx
stop_review:
stage: review
script:
- rm -rf "$BUILD_DIR" /srv/nginx/pages/$CI_BUILD_REF_SLUG
variables:
GIT_STRATEGY: none
when: manual
environment:
name: review/$CI_BUILD_REF_NAME
action: stop
tags:
- nginx
deploy: deploy:
stage: deploy stage: deploy
only: only:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment