Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
CI: remove (internal) DA Slack notifications
Browse files Browse the repository at this point in the history
With the repo now officially transferred from Digital Asset's control to
the open-source Haskell organization, there is no good reason for master
builds to ping DA anymore. This (the corresponding Slack token "secret")
is also the only piece of non-open-source configuration in the existing
build process, so it needs to be removed before the CI can be
transferred.
  • Loading branch information
garyverhaegen-da committed Sep 1, 2020
1 parent 765967d commit 52c4fcb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions .azure/linux-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,3 @@ jobs:
mkdir -p .azure-cache
tar czf .azure-cache/stack-root.tar.gz -C $HOME .stack
displayName: "Pack cache"
- bash: |
set -euo pipefail
MESSAGE=$(git log --pretty=format:%s -n1)
curl -XPOST \
-i \
-H 'Content-type: application/json' \
--data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
$(Slack.URL)
condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
9 changes: 0 additions & 9 deletions .azure/windows-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,3 @@ jobs:
tar -vczf .azure-cache/stack-root.tar.gz $(cygpath $STACK_ROOT)
tar -vczf .azure-cache/stack-work.tar.gz .stack-work
displayName: "Pack cache"
- bash: |
set -euo pipefail
MESSAGE=$(git log --pretty=format:%s -n1)
curl -XPOST \
-i \
-H 'Content-type: application/json' \
--data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
$(Slack.URL)
condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))

0 comments on commit 52c4fcb

Please sign in to comment.