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:
authorAchilleas Pipinellis <axil@gitlab.com>2018-04-04 09:59:33 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-04-04 09:59:33 +0300
commit653f99711b8e4b37577f61e92bd2a22e2ca25f05 (patch)
tree4edbe6e745caaad4d12c089851ae42f1322eae13 /.gitlab-ci.yml
parent17c2870385ffca287e0b05096ac4d217c9e67818 (diff)
Add gitlab-org tag that jobs can run on dev
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36076328..ddd43a60 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,6 +43,14 @@ before_script:
.retry: &retry
retry: 2
+#
+# Tags
+#
+.tags: &tags
+ tags:
+ - docker
+ - gitlab-org
+
###############################################
# Build the website #
###############################################
@@ -61,9 +69,8 @@ before_script:
paths:
- tmp/
- vendor/ruby
- tags:
- - docker
<<: *retry
+ <<: *tags
#
# Compile only on master and stable branches
@@ -103,10 +110,9 @@ internal_links:
key: "test-$CI_COMMIT_REF_NAME"
paths:
- vendor/ruby
- tags:
- - docker
<<: *except_pipelines
<<: *retry
+ <<: *tags
#
# SCSS linting
@@ -119,10 +125,9 @@ scss_lint:
key: "test-$CI_COMMIT_REF_NAME"
paths:
- vendor/ruby
- tags:
- - docker
<<: *except_pipelines
<<: *retry
+ <<: *tags
###############################################
# Review Apps #
@@ -227,9 +232,8 @@ pages:
expire_in: 1d
only:
- master@gitlab-com/gitlab-docs
- tags:
- - docker
<<: *retry
+ <<: *tags
###############################################
# Performance testing #
@@ -258,6 +262,7 @@ performance:
- branches
<<: *except_pipelines
<<: *retry
+ <<: *tags
###############################################
# Docker images builds #
@@ -274,6 +279,7 @@ performance:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
<<: *retry
+ <<: *tags
#
# Helper Docker image containing all build dependencies