Skip to content

Commit

Permalink
Merge pull request #74 from solidusio/waiting-for-dev/slack
Browse files Browse the repository at this point in the history
Notify CI failures on Slack
  • Loading branch information
kennyadsl committed Nov 22, 2022
2 parents 0b53c00 + 3853078 commit f8309ef
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .circleci/config.yml
Expand Up @@ -6,22 +6,35 @@ orbs:
# to change this configuration every time a Solidus version is released
# or goes EOL.
solidusio_extensions: solidusio/extensions@volatile
slack: circleci/slack@4.9.3

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
- run-specs-with-mysql
- run-specs-with-postgres:
context: slack-secrets
- run-specs-with-mysql:
context: slack-secrets
"Weekly run specs against master":
triggers:
- schedule:
Expand All @@ -31,5 +44,7 @@ workflows:
only:
- master
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
- run-specs-with-postgres:
context: slack-secrets
- run-specs-with-mysql:
context: slack-secrets

0 comments on commit f8309ef

Please sign in to comment.