Skip to content

Weekly test featurenets create (short session, tag) #47

Weekly test featurenets create (short session, tag)

Weekly test featurenets create (short session, tag) #47

---
name: Weekly test featurenets create (short session, tag)
on:
# At 03:40 on Wednesday
schedule:
- cron: '40 3 * * 3'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
check-vars-and-secrets:
name: Check vars and secrets
uses: ./.github/workflows/_check-vars-and-secrets.yml
secrets: inherit
create-featurenet-from-tag:
needs: [check-vars-and-secrets]
name: Create featurenet from tag
uses: ./.github/workflows/featurenet-create.yml
secrets: inherit
with:
featurenet-name: 'ops-test-tag'
ref: 'r-13.3'
expiration: '5h'
validators: '7'
internal: true
short-session: true
delete-featurenet:
if: ${{ always() }}
needs: [create-featurenet-from-tag]
name: Delete featurenet
uses: ./.github/workflows/featurenet-delete.yml
secrets: inherit
with:
featurenet-name: 'ops-test-tag'
slack:
name: Slack notification
runs-on: ubuntu-20.04
needs: [delete-featurenet]
if: >
!cancelled() &&
github.event_name != 'workflow_dispatch'
steps:
- name: Send Slack message
uses: Cardinal-Cryptography/github-actions/slack-notification@v7
with:
notify-on: "failure"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ONDUTY }}