Skip to content

release.devnet.all.daily #587

release.devnet.all.daily

release.devnet.all.daily #587

name: release.devnet.all.daily
on:
workflow_dispatch:
inputs:
infra_branch:
description: 'Branch of malbeclabs/infra to use for ansible playbooks'
required: false
type: string
default: ''
schedule:
- cron: '0 14 * * 1-5' # Every weekday at 10AM ET/9AM CT
jobs:
smartcontract:
uses: ./.github/workflows/release.devnet.smartcontract.daily.yml
secrets: inherit
release:
uses: ./.github/workflows/release.daily.yml
needs:
- smartcontract
strategy:
matrix:
include:
- component: agent
playbook: playbooks/agents.yml
- component: controller
playbook: playbooks/controllers.yml
- component: funder
playbook: playbooks/funders.yml
- component: monitor
playbook: playbooks/monitors.yml
- component: client
playbook: playbooks/validators.yml
- component: device-telemetry-agent
playbook: playbooks/device_telemetry_agent.yml
- component: internet-latency-collector
playbook: playbooks/internet_latency_collectors.yml
- component: qa-agent
playbook: playbooks/qa_agents.yml
- component: geoprobe-agent
playbook: playbooks/geoprobe_agents.yml
- component: geoprobe-target
playbook: playbooks/geoprobe_targets.yml
with:
component: ${{ matrix.component }}
playbook: ${{ matrix.playbook }}
infra_branch: ${{ inputs.infra_branch }}
secrets: inherit
permissions:
contents: write
packages: write
qa:
uses: ./.github/workflows/qa.devnet.yml
needs:
- release
- smartcontract
notify:
name: Post failure to slack
runs-on: ubuntu-24.04-16c-64gb
needs:
- release
- smartcontract
- qa
if: failure()
steps:
- uses: malbeclabs/action-slack-notify@v2
env:
SLACK_COLOR: failure
SLACK_USERNAME: Doublezero Releaser
SLACK_TITLE: Daily Release Failure
MSG_MINIMAL: actions url
SLACK_WEBHOOK: ${{ secrets.SLACK_DEVNET_ALERTS_WEBHOOK }}