Maintenance: Slack CI test requires manual start for private branches for now. The branches develop and stable will be tested as usual.

This commit is contained in:
Thorsten Eckel 2021-02-24 17:03:51 +01:00
parent 4c86015074
commit 53a738f6e4

View file

@ -1,8 +1,15 @@
slack: slack:
extends: extends:
- .template_integration - .template_integration
rules:
- if: $CI_MERGE_REQUEST_ID
when: never
- if: '$CI_COMMIT_BRANCH =~ /^private/'
when: manual
allow_failure: true
- when: always
script: script:
- bundle exec rake zammad:db:unseeded - bundle exec rake zammad:db:unseeded
- echo "gem 'slack-api'" >> Gemfile.local - echo "gem 'slack-api'" >> Gemfile.local
- bundle install -j $(nproc) - bundle install -j $(nproc)
- bundle exec rails test test/integration/slack_test.rb - bundle exec rails test test/integration/slack_test.rb