cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit ce34c1379e47c30f987097668fc2e62569936d0c
parent 37d313725dfc3f0db3a7e01e39f292a862e20ec2
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 24 Mar 2024 18:24:38 +0100

Add partial CI for updates.

Diffstat:
A.forgejo/workflows/update.yaml | 27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/.forgejo/workflows/update.yaml b/.forgejo/workflows/update.yaml @@ -0,0 +1,27 @@ +name: update-flux + +on: + workflow_dispatch: + schedule: + - cron: "0 * * * *" + +permissions: + contents: write + pull-requests: write + +jobs: + components: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Setup Flux CLI + uses: fluxcd/flux2/action@main + - name: Check for updates + id: update + run: | + flux install \ + --export > ./clusters/production/flux-system/gotk-components.yaml + + VERSION="$(flux -v)" + echo "flux_version=$VERSION" >> $GITHUB_OUTPUT