mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 16:57:40 +03:00
51e7c88bf5
It's been pointed out to me that some people actually plan their work, and for them, it would be useful to know at least a day in advance that they will be doing a release. This PR attempts to accommodate that. Note: this will run as a new, separate cron. I'll do the Azure setup after this gets approved. CHANGELOG_BEGIN CHANGELOG_END
34 lines
867 B
YAML
34 lines
867 B
YAML
# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
pr: none
|
|
trigger: none
|
|
|
|
schedules:
|
|
- cron: "0 6 * * Tue"
|
|
displayName: Tuesday
|
|
branches:
|
|
include:
|
|
- master
|
|
always: true
|
|
|
|
jobs:
|
|
- job: announce_rotation
|
|
timeoutInMinutes: 60
|
|
pool:
|
|
vmImage: ubuntu-latest
|
|
steps:
|
|
- checkout: self
|
|
persistCredentials: true
|
|
- template: ../bash-lib.yml
|
|
parameters:
|
|
var_name: bash_lib
|
|
- bash: |
|
|
set -euo pipefail
|
|
|
|
source "$(bash_lib)"
|
|
|
|
RELEASE_MANAGER=$(head -1 release/rotation | awk '{print $1}')
|
|
|
|
tell_slack "Hi <@$RELEASE_MANAGER>! According to the <https://github.com/digital-asset/daml/blob/master/release/rotation|rotation>, you are in charge of the release tomorrow. Please make sure you plan accordingly, or find a replacement."
|