From 53a738f6e48007f08c5ffbfbb3877a94a0568be2 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 24 Feb 2021 17:03:51 +0100 Subject: [PATCH] Maintenance: Slack CI test requires manual start for private branches for now. The branches develop and stable will be tested as usual. --- .gitlab/ci/integration/slack.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/integration/slack.yml b/.gitlab/ci/integration/slack.yml index 7ce7b6439..31ef4a9cf 100644 --- a/.gitlab/ci/integration/slack.yml +++ b/.gitlab/ci/integration/slack.yml @@ -1,8 +1,15 @@ slack: extends: - .template_integration + rules: + - if: $CI_MERGE_REQUEST_ID + when: never + - if: '$CI_COMMIT_BRANCH =~ /^private/' + when: manual + allow_failure: true + - when: always script: - bundle exec rake zammad:db:unseeded - echo "gem 'slack-api'" >> Gemfile.local - bundle install -j $(nproc) - - bundle exec rails test test/integration/slack_test.rb \ No newline at end of file + - bundle exec rails test test/integration/slack_test.rb