Commit 99155e2c authored by Curtis Adam's avatar Curtis Adam

Commented out the review code from gitlab-ci

parent 38cc65ce
Pipeline #29881 passed with stage
......@@ -54,34 +54,34 @@ Deploy Develop:
- npm run build -- --configuration=production
- node_modules/.bin/firebase deploy --token $FRBTKN --debug
Deploy Review:
stage: deploy
artifacts:
paths:
- dist
tags:
- review
script:
- npm install
- echo "$VERSION_FILE" > "src/assets/version.json"
- npm run build -- --base-href /web-app-v3/$CI_ENVIRONMENT_SLUG/
- rm -r /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG || true
- cp -R dist /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG
- echo "$HTACCESS" > /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG/.htaccess
environment:
name: review_$CI_COMMIT_REF_NAME
url: http://mocainfo.thm.de:8090/web-app-v3/$CI_ENVIRONMENT_SLUG
on_stop: Stop Review
Stop Review:
stage: deploy
tags:
- review
variables:
GIT_STRATEGY: none
script:
- rm -r /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG || true
when: manual
environment:
name: review_$CI_COMMIT_REF_NAME
action: stop
\ No newline at end of file
#Deploy Review:
# stage: deploy
# artifacts:
# paths:
# - dist
# tags:
# - review
# script:
# - npm install
# - echo "$VERSION_FILE" > "src/assets/version.json"
# - npm run build -- --base-href /web-app-v3/$CI_ENVIRONMENT_SLUG/
# - rm -r /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG || true
# - cp -R dist /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG
# - echo "$HTACCESS" > /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG/.htaccess
# environment:
# name: review_$CI_COMMIT_REF_NAME
# url: http://mocainfo.thm.de:8090/web-app-v3/$CI_ENVIRONMENT_SLUG
# on_stop: Stop Review
#
#Stop Review:
# stage: deploy
# tags:
# - review
# variables:
# GIT_STRATEGY: none
# script:
# - rm -r /home/mocainfo/review_apps/web-app-v3/$CI_ENVIRONMENT_SLUG || true
# when: manual
# environment:
# name: review_$CI_COMMIT_REF_NAME
# action: stop
Markdown is supported
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