diff --git a/.gitlab/ci/integration/slack.yml b/.gitlab/ci/integration/slack.yml index c53642c37..893012bd7 100644 --- a/.gitlab/ci/integration/slack.yml +++ b/.gitlab/ci/integration/slack.yml @@ -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 diff --git a/.gitlab/ci/pre.yml b/.gitlab/ci/pre.yml index a628d5a88..8bd5fc728 100644 --- a/.gitlab/ci/pre.yml +++ b/.gitlab/ci/pre.yml @@ -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 diff --git a/.gitlab/ci/rspec.yml b/.gitlab/ci/rspec.yml index bf9baab15..2c66a6af0 100644 --- a/.gitlab/ci/rspec.yml +++ b/.gitlab/ci/rspec.yml @@ -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