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:
parent
4c86015074
commit
53a738f6e4
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue