switch back to hosted macOS nodes (#5935)

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2020-05-11 22:59:33 +02:00 committed by GitHub
parent 84dbce9eba
commit 3899a59a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 27 deletions

View File

@ -124,7 +124,7 @@ jobs:
- check_for_release
timeoutInMinutes: 360
pool:
vmImage: macOS-10.14
name: macOS-pool
variables:
release_sha: $[ dependencies.check_for_release.outputs['out.release_sha'] ]
release_tag: $[ coalesce(dependencies.check_for_release.outputs['out.release_tag'], '0.0.0') ]
@ -205,7 +205,7 @@ jobs:
- check_for_release
timeoutInMinutes: 60
pool:
vmImage: macOS-10.14
name: macOS-pool
steps:
- template: ci/report-start.yml
- checkout: self

View File

@ -25,32 +25,14 @@ schedules:
jobs:
- job: compatibility
timeoutInMinutes: 240
strategy:
matrix:
linux:
pool: linux-pool
macos:
pool: macOS-pool
pool:
name: linux-pool
steps:
- checkout: self
- template: ../compatibility.yml
- bash: |
set -euo pipefail
COMMIT_TITLE=$(git log --pretty=format:%s -n1)
COMMIT_LINK="<https://dev.azure.com/digitalasset/daml/_build/results?buildId=$(Build.BuildId)|$COMMIT_TITLE>"
if [ "$(Agent.JobStatus)" != "Succeeded" ]; then
MESSAGE=":fire: <!here> :fire: :fire:\n$(Agent.JobName) *FAILED*: $COMMIT_LINK\n:fire: :fire:"
else
MESSAGE="$(Agent.JobName) passed: $COMMIT_LINK"
fi
curl -XPOST \
-i \
-H 'Content-type: application/json' \
--data "{\"text\":\"$MESSAGE\n\"}" \
$(Slack.team-daml)
displayName: report
condition: always()
- job: compatibility
timeoutInMinutes: 240
pool:
vmImage: macos-10.14
name: $(pool)
steps:
- checkout: self
- template: ../compatibility.yml