daml/ci/cron/tuesday.yml

36 lines
1.0 KiB
YAML
Raw Normal View History

# Copyright (c) 2024 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:
- main
always: true
jobs:
- job: announce_rotation
timeoutInMinutes: 60
pool:
name: 'ubuntu_20_04'
demands: assignment -equals default
steps:
- checkout: self
persistCredentials: true
- template: ../bash-lib.yml
parameters:
var_name: bash_lib
- bash: |
set -euo pipefail
cd sdk
eval "$(./dev-env/bin/dade-assist)"
source "$(bash_lib)"
RELEASE_MANAGER=$(next_in_rotation_slack)
tell_slack "$(echo -e "Hi <@$RELEASE_MANAGER>! According to the <https://github.com/digital-asset/daml/blob/main/release/rotation|rotation>, you are in charge of the release tomorrow. Please make sure you plan accordingly, or find a replacement. See the <https://github.com/digital-asset/daml/blob/main/release/RELEASE.md|release instructions> for details.")"