Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Slack notifications for CI failures #75

Merged
merged 1 commit into from
Feb 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,22 @@ orbs:
# to change this configuration every time a Solidus version is released
# or goes EOL.
solidusio_extensions: solidusio/extensions@volatile
slack: circleci/[email protected]

commands:
notify:
steps:
- slack/notify:
event: fail
template: basic_fail_1
branch_pattern: master

jobs:
run-specs-with-postgres:
executor: solidusio_extensions/postgres
steps:
- solidusio_extensions/run-tests
- notify
run-specs-with-mysql:
executor: solidusio_extensions/mysql
steps:
- solidusio_extensions/run-tests
- notify

workflows:
"Run specs on supported Solidus versions":
jobs:
- run-specs-with-postgres:
context: slack-secrets
- run-specs-with-mysql:
context: slack-secrets
- run-specs-with-postgres
- run-specs-with-mysql
"Weekly run specs against master":
triggers:
- schedule:
Expand All @@ -44,7 +31,5 @@ workflows:
only:
- master
jobs:
- run-specs-with-postgres:
context: slack-secrets
- run-specs-with-mysql:
context: slack-secrets
- run-specs-with-postgres
- run-specs-with-mysql