diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 00000000000..44a658f6a0f --- /dev/null +++ b/.github/README.md @@ -0,0 +1,8 @@ +## Scheduled Build Run Results + +Results for **the latest** release_workflow scheduled runs. + +| Branch | Status | +| ------------ | - | +| 24.3-scheduled-run | [![24.3.5.47.altinitystable](https://github.com/Altinity/ClickHouse/actions/workflows/release_branches.yml/badge.svg?branch=24.3-scheduled-run?event=workflow_call)](https://github.com/Altinity/ClickHouse/actions/workflows/release_branches.yml?query=branch%3A24.3-scheduled-run) | +| 24.3-fips-scheduled-run |[![24.3.5.48.altinityfips](https://github.com/Altinity/ClickHouse/actions/workflows/release_branches.yml/badge.svg?branch=24.3-fips-scheduled-run?event=workflow_call)](https://github.com/Altinity/ClickHouse/actions/workflows/release_branches.yml?query=branch%3A24.3-fips-scheduled-run) | diff --git a/.github/workflows/scheduled_runs.yml b/.github/workflows/scheduled_runs.yml new file mode 100644 index 00000000000..49e17409346 --- /dev/null +++ b/.github/workflows/scheduled_runs.yml @@ -0,0 +1,35 @@ +name: Scheduled Altinity Stable Builds + +on: + schedule: + - cron: "0 0 * * 6" + # Make sure that any changes to this file is actually tested with PRs + pull_request: + types: + - synchronize + - reopened + - opened + paths: + - '**/scheduled_runs.yml' + +jobs: + LaunchWorkflows: + strategy: + fail-fast: false + matrix: + branch: + - 24.3.5-snapshot_runners + #- 24.3.fips-schduled-runs + - 23.8.16_scheduled_run_fix + name: ${{ matrix.branch }} + runs-on: ubuntu-latest + steps: + - name: Run 24.3 workflow + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/Altinity/ClickHouse/actions/workflows/release_branches.yml/dispatches \ + -d '{"ref":"${{ matrix.branch }}"}'