Browse Source

Maintenance: Improved CI configuration to run certain jobs only in low concurrency environments.

Martin Gruner 3 years ago
parent
commit
c47e66d707
3 changed files with 12 additions and 0 deletions
  1. 5 0
      .gitlab/ci/base.yml
  2. 4 0
      .gitlab/ci/browser-core.yml
  3. 3 0
      .gitlab/ci/browser-integration.yml

+ 5 - 0
.gitlab/ci/base.yml

@@ -62,6 +62,11 @@
   tags:
     - docker
 
+.tags_docker_low_concurrency: &tags_docker_low_concurrency
+  tags:
+    - docker
+    - low_concurrency
+
 # Workaround for blocked port 25 access on cloud provider infrastructure
 .tags_mail: &tags_mail
   tags:

+ 4 - 0
.gitlab/ci/browser-core.yml

@@ -19,6 +19,7 @@ include:
     - .env_base
     - .variables_es
     - .variables_app_restart_cmd
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "production"
   script:
@@ -46,6 +47,7 @@ include:
   extends:
     - .env_base
     - .variables_app_restart_cmd
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "production"
     AUTO_WIZARD_FILE: "contrib/auto_wizard_example.json"
@@ -76,6 +78,7 @@ include:
     - .env_base
     - .variables_app_restart_cmd
     - .services_mysql_postgresql_redis_memcached
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "production"
 
@@ -87,6 +90,7 @@ include:
     - .env_base
     - .variables_es
     - .variables_rspec_slicing
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "test"
   script:

+ 3 - 0
.gitlab/ci/browser-integration.yml

@@ -14,6 +14,7 @@ include:
     - .env_base
     - .variables_app_restart_cmd
     - .variables_es
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "test"
   script:
@@ -40,6 +41,7 @@ include:
     - .env_base
     - .variables_app_restart_cmd
     - .services_postgresql_selenium_chrome
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "production"
     AUTO_WIZARD_FILE: "contrib/auto_wizard_test.json"
@@ -58,6 +60,7 @@ include:
   extends:
     - .env_base
     - .services_postgresql_selenium_chrome
+    - .tags_docker_low_concurrency
   variables:
     RAILS_ENV: "production"
     RAILS_SERVE_STATIC_FILES: "true"