Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Allow passing cluster pool to run tests (#90) #54

Allow passing cluster pool to run tests (#90)

Allow passing cluster pool to run tests (#90) #54

Workflow file for this run

name: Propagate boilerplate changes
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
COMPONENT: [flyteadmin, flytepropeller, flyteconsole, flytecopilot, flyteplugins, datacatalog, flytectl, flytestdlib, flytesnacks, flytekit, flyteidl, flyte]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Update boilerplate
run: |
WORKFLOW_ID=$(curl -sS https://api.github.com/repos/flyteorg/${{matrix.COMPONENT}}/actions/workflows | jq '.workflows[] | select(.path == ".github/workflows/upgrade_automation.yml") | {id}' | jq .id)
curl -X POST -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/flyteorg/${{matrix.COMPONENT}}/actions/workflows/$WORKFLOW_ID/dispatches -H "Authorization: token ${{ secrets.FLYTE_BOT_PAT }}" -d '{"ref":"master"}'
shell: bash