Skip to content

Update buildimages

Update buildimages #61

name: Update buildimages
on:
workflow_dispatch:
inputs:
job_failures:
description: 'Job failures'
required: true
type: string
jobs:
send-failure-summary-team-notification:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# TODO
ref: celian/rfc-team-notifications-2-acix-253
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'pip'
cache-dependency-path: '**/requirements*.txt'
- name: Install dependencies
run: pip install -r requirements.txt -r tasks/requirements.txt
- name: Create and send failure summary notification to team channel
id: send_failure_summary_team_notification
env:
# Too much data to be passed by arguments
JOB_FAILURES: ${{ inputs.job_failures }}
SLACK_API_TOKEN: ${{ secrets.SLACK_DATADOG_AGENT_BOT_TOKEN }}
run: inv -e notify.send-failure-summary-notification