Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml124
1 files changed, 62 insertions, 62 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2433c848..5fe234c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -417,72 +417,72 @@ test_unlinked_images:
#
# Deploy the Review App on a dev server
#
-review:
- stage: deploy
- extends:
- - .retry
- variables:
- GIT_STRATEGY: none
- needs:
- - compile_dev
- before_script: []
- cache: {}
- script:
- # Rsync to the Pages dir
- - rsync -av --delete public /srv/nginx/pages/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
- # Remove public directory so that the next review app can run in a
- # clean environment (limitation of the shell executor).
- - rm -rf public
- environment:
- name: review/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
- url: http://$CI_COMMIT_REF_SLUG$REVIEW_SLUG.$APPS_DOMAIN
- on_stop: review_stop
- rules:
- - if: '$CI_PROJECT_PATH == "gitlab-renovate-forks/gitlab-docs"'
- when: manual
- - if: '$CI_PROJECT_PATH !~ /^gitlab-org/'
- when: never
- - if: '$CI_MERGE_REQUEST_ID'
- - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"'
- - if: '$CI_COMMIT_BRANCH =~ /docs-preview/' # TODO: Remove once no projects create such branch
- tags:
- - nginx
- - review-apps
+#review:
+# stage: deploy
+# extends:
+# - .retry
+# variables:
+# GIT_STRATEGY: none
+# needs:
+# - compile_dev
+# before_script: []
+# cache: {}
+# script:
+# # Rsync to the Pages dir
+# - rsync -av --delete public /srv/nginx/pages/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
+# # Remove public directory so that the next review app can run in a
+# # clean environment (limitation of the shell executor).
+# - rm -rf public
+# environment:
+# name: review/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
+# url: http://$CI_COMMIT_REF_SLUG$REVIEW_SLUG.$APPS_DOMAIN
+# on_stop: review_stop
+# rules:
+# - if: '$CI_PROJECT_PATH == "gitlab-renovate-forks/gitlab-docs"'
+# when: manual
+# - if: '$CI_PROJECT_PATH !~ /^gitlab-org/'
+# when: never
+# - if: '$CI_MERGE_REQUEST_ID'
+# - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"'
+# - if: '$CI_COMMIT_BRANCH =~ /docs-preview/' # TODO: Remove once no projects create such branch
+# tags:
+# - nginx
+# - review-apps
#
# Stop the Review App
#
-review_stop:
- stage: deploy
- extends:
- - .retry
- variables:
- GIT_STRATEGY: none
- needs: []
- artifacts: {}
- before_script: []
- cache: {}
- script:
- - rm -rf public /srv/nginx/pages/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
- environment:
- name: review/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
- action: stop
- rules:
- - if: '$CI_PROJECT_PATH == "gitlab-renovate-forks/gitlab-docs"'
- allow_failure: true
- when: manual
- - if: '$CI_PROJECT_PATH !~ /^gitlab-org/'
- when: never
- - if: '$CI_MERGE_REQUEST_ID || $CI_PIPELINE_SOURCE == "pipeline"|| $CI_PIPELINE_SOURCE == "trigger"'
- allow_failure: true
- when: manual
- # TODO: Remove once no projects create such branch
- - if: '$CI_COMMIT_BRANCH =~ /docs-preview/'
- allow_failure: true
- when: manual
- tags:
- - nginx
- - review-apps
+#review_stop:
+# stage: deploy
+# extends:
+# - .retry
+# variables:
+# GIT_STRATEGY: none
+# needs: []
+# artifacts: {}
+# before_script: []
+# cache: {}
+# script:
+# - rm -rf public /srv/nginx/pages/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
+# environment:
+# name: review/$CI_COMMIT_REF_SLUG$REVIEW_SLUG
+# action: stop
+# rules:
+# - if: '$CI_PROJECT_PATH == "gitlab-renovate-forks/gitlab-docs"'
+# allow_failure: true
+# when: manual
+# - if: '$CI_PROJECT_PATH !~ /^gitlab-org/'
+# when: never
+# - if: '$CI_MERGE_REQUEST_ID || $CI_PIPELINE_SOURCE == "pipeline"|| $CI_PIPELINE_SOURCE == "trigger"'
+# allow_failure: true
+# when: manual
+# # TODO: Remove once no projects create such branch
+# - if: '$CI_COMMIT_BRANCH =~ /docs-preview/'
+# allow_failure: true
+# when: manual
+# tags:
+# - nginx
+# - review-apps
#
# Clean up review apps and free disk space