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

This commit is contained in:
Martin Gruner 2022-03-15 10:08:22 +01:00
parent eefae45c2a
commit 8eb588a370
3 changed files with 12 additions and 0 deletions

View file

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

View file

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

View file

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