Cronjob #33103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cronjob | |
concurrency: | |
group: trigger-package-build | |
on: | |
# Run every hour on the hour. | |
schedule: | |
- cron: "0 * * * *" | |
# If you are an upstream maintainer and you want to test your branch before merging, run | |
# | |
# git push | |
# gh workflow run cronjob.yml --ref `git rev-parse --abbrev-ref HEAD` | |
# gh run list --workflow=cronjob.yml -L1 --json url | |
# | |
# This may also work on forks, but you might need to set up some repo secrets first, | |
# and I've not tested it. | |
workflow_dispatch: | |
jobs: | |
build-popular-package: | |
name: Build | |
# This is because I want to use a vaguely modern python without having to install it. | |
# Other actions will may use an older version of ubuntu in order to link an older glibc, | |
# but this action won't be doing any building so it's fine. | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.CRONJOB_DEPLOY_KEY }} | |
persist-credentials: true | |
- uses: ./.github/actions/cronjob-setup | |
- name: Trigger Package Build | |
id: find_crate | |
run: make trigger-all | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
INFLUXDB_TOKEN: ${{ secrets.INFLUXDB_TOKEN }} | |
CRATE_CHECK_LIMIT: 10 | |
PYTHONUNBUFFERED: 1 |