Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

update slack notification message #2891

Merged
2 commits merged into from
Jun 30, 2020
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
22 changes: 7 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,11 @@ commands:
for i in {1..3}; do npm test && break; done
notify_slack:
description: "Notify slack"
parameters:
target:
type: string
steps:
- slack/status:
include_project_field: false
failure_message: "<< parameters.target >> release failed for binary bot with version $(cat www/version)"
success_message: "<< parameters.target >> release succeeded for binary bot with version $(cat www/version)"
failure_message: "Release failed for binary bot with version *$(cat www/version)*"
success_message: "Release succeeded for binary bot with version *$(cat www/version)*"
webhook: ${SLACK_WEBHOOK}
jobs:
test:
Expand All @@ -149,7 +146,7 @@ jobs:
- npm_install
- test

release_beta:
release_staging:
docker:
- image: circleci/node:8.10.0-stretch
steps:
Expand All @@ -159,9 +156,7 @@ jobs:
- build
- deploy:
target_branch: "staging"
- notify_slack:
target: "Staging"

- notify_slack
release_production:
docker:
- image: circleci/node:8.10.0-stretch
Expand All @@ -172,9 +167,7 @@ jobs:
- build
- deploy:
target_branch: "production"
- notify_slack:
target: "Production"

- notify_slack
release_aws_production:
docker:
- image: circleci/node:12.13.0-stretch
Expand All @@ -187,8 +180,7 @@ jobs:
target: "production"
- k8s_deploy:
target: "production"
- notify_slack:
target: "Production"
- notify_slack

workflows:
test:
Expand All @@ -199,7 +191,7 @@ workflows:
ignore: /^master$/
release:
jobs:
- release_beta:
- release_staging:
filters:
branches:
only: /^master$/
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy