Skip to content

Commit

Permalink
Merge pull request #590 from CircleCI-Public/remove-slack-config
Browse files Browse the repository at this point in the history
Remove slack webhook configuration in CI
  • Loading branch information
kelvinkfli authored Apr 16, 2021
2 parents 595cc9e + 426a229 commit 605a617
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: 2.1
orbs:
codecov: codecov/[email protected]
shellcheck: circleci/[email protected]
slack: circleci/[email protected]
windows: circleci/[email protected]

executors:
Expand Down Expand Up @@ -82,12 +81,6 @@ commands:
paths:
- /go/pkg/mod # Linux
- ~/go/pkg/mod # macOS
# Wrap the slack/status command to only notify on failures
slack-notify-on-failure:
steps:
- slack/status:
fail_only: "true"
only_for_branch: "master"

jobs:
test_windows:
Expand Down Expand Up @@ -115,7 +108,6 @@ jobs:
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile
- gomod
- run: make test
- slack-notify-on-failure
build:
executor: go
steps:
Expand Down Expand Up @@ -149,7 +141,6 @@ jobs:
- checkout
- gomod
- run: make test
- slack-notify-on-failure

coverage:
executor: go
Expand All @@ -165,7 +156,6 @@ jobs:
destination: coverage.txt
- codecov/upload:
file: coverage.txt
- slack-notify-on-failure

docs:
executor: go
Expand All @@ -179,7 +169,6 @@ jobs:
destination: docs
- run: ./.circleci/generate-docs.sh
- run: ./.circleci/deploy-gh-pages.sh
- slack-notify-on-failure

lint:
executor: go
Expand All @@ -188,7 +177,6 @@ jobs:
- run: make install-lint
- run: make build
- run: make lint
- slack-notify-on-failure

deploy-test:
executor: go
Expand All @@ -215,7 +203,6 @@ jobs:
- build-docker-image
- build-alpine-image
- deploy-save-cache-workspace-and-artifacts
- slack-notify-on-failure

deploy:
executor: go
Expand Down Expand Up @@ -253,7 +240,6 @@ jobs:
docker tag circleci/circleci-cli:0.1.$CIRCLE_BUILD_NUM-alpine circleci/circleci-cli:alpine
docker push circleci/circleci-cli:alpine
- deploy-save-cache-workspace-and-artifacts
- slack-notify-on-failure

snap:
docker:
Expand All @@ -273,7 +259,6 @@ jobs:
mkdir .snapcraft
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
snapcraft push *.snap --release stable
- slack-notify-on-failure
brew-deploy:
executor: mac
Expand All @@ -292,7 +277,6 @@ jobs:
git config --global user.name "$GH_NAME" > /dev/null 2>&1
- run: brew --version
- run: ./.circleci/brew-deploy.sh
- slack-notify-on-failure

chocolatey-deploy:
executor: windows/default
Expand Down

0 comments on commit 605a617

Please sign in to comment.