Flux Update Schedule Check #66
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: Flux Update Schedule Check | |
on: | |
schedule: | |
- cron: '0 12 * * SUN' | |
workflow_dispatch: {} | |
jobs: | |
flux-schedule-check: | |
if: github.ref == 'refs/heads/main' | |
name: Flux Update Schedule Check | |
runs-on: | |
- self-hosted | |
- small | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Checkout kommander code | |
uses: actions/checkout@v4 | |
with: | |
repository: mesosphere/kommander | |
path: kommander | |
token: ${{ secrets.MESOSPHERECI_USER_TOKEN }} | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} | |
- name: Install NIX | |
uses: cachix/install-nix-action@V27 | |
- name: Install devbox | |
uses: jetify-com/[email protected] | |
with: | |
enable-cache: true | |
skip-nix-installation: true | |
- name: Check for Flux update | |
env: | |
GH_TOKEN: ${{ secrets.MESOSPHERECI_USER_TOKEN }} | |
run: devbox run -- "make KOMMANDER_REPO_PATH=${GITHUB_WORKSPACE}/kommander make flux-update" |