Maintenance: Run special GitLab CI jobs only if previous stage completes successfully.
This commit is contained in:
parent
12a5e9dba3
commit
de76fb9a27
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ slack:
|
|||
- if: '$CI_COMMIT_BRANCH =~ /^private/'
|
||||
when: manual
|
||||
allow_failure: true
|
||||
- when: always
|
||||
- when: on_success
|
||||
script:
|
||||
- bundle exec rake zammad:db:unseeded
|
||||
- echo "gem 'slack-ruby-client'" >> Gemfile.local
|
||||
|
|
|
@ -52,7 +52,7 @@ global_refresh_envs:
|
|||
- if: '$CI_COMMIT_BRANCH =~ /^private/'
|
||||
when: manual
|
||||
allow_failure: true
|
||||
- when: always
|
||||
- when: on_success
|
||||
|
||||
script:
|
||||
- bundle exec rake zammad:ci:refresh_envs
|
||||
|
|
|
@ -36,7 +36,7 @@ rspec:mysql:integration:
|
|||
- if: '$CI_COMMIT_BRANCH =~ /^private/'
|
||||
when: manual
|
||||
allow_failure: true
|
||||
- when: always
|
||||
- when: on_success
|
||||
script:
|
||||
- bundle exec rake zammad:db:init
|
||||
- bundle exec rspec -t type:integration
|
||||
|
|
Loading…
Reference in a new issue