Browse Source

Refactoring: On premise CI infrastructure doesn't scale.

Thorsten Eckel 6 years ago
parent
commit
d28086af95
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .gitlab-ci.yml

+ 8 - 0
.gitlab-ci.yml

@@ -32,6 +32,11 @@ variables:
   tags:
     - docker
 
+# Workaround for blocked port 25 access on cloud provider infrastructure
+.requires_mail_port_access_template: &requires_mail_port_access
+  tags:
+    - mail
+
 .base_env_template: &base_env
   <<: *docker_env
   <<: *artifacts_error
@@ -154,6 +159,7 @@ test:unit:postgresql:
 
 test:integration:email_helper_deliver:
   <<: *test_integration_definition
+  <<: *requires_mail_port_access
   script:
     - bundle exec rake zammad:db:unseeded
     - bundle exec ruby -I test/ test/integration/email_helper_test.rb
@@ -482,6 +488,7 @@ test:browser:core:ff_2_mysql:
 
 test:browser:core:ff_3_mysql:
   <<: *test_browser_core_mysql_definition
+  <<: *requires_mail_port_access
   variables:
     <<: *variables_browser_definition
     BROWSER: "firefox"
@@ -524,6 +531,7 @@ test:browser:core:ff_2_postgresql:
 
 test:browser:core:ff_3_postgresql:
   <<: *test_browser_core_postgresql_definition
+  <<: *requires_mail_port_access
   variables:
     <<: *variables_browser_definition
     BROWSER: "firefox"