Skip to content

Merge pull request #230 from emerconn/renovate/descheduler-0.x #363

Merge pull request #230 from emerconn/renovate/descheduler-0.x

Merge pull request #230 from emerconn/renovate/descheduler-0.x #363

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Flux
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/workflows/flux.yaml'
- 'k8s/flux/**'
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
jobs:
flux:
environment:
name: flux
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
# tailscale
- name: Set up Tailscale
uses: tailscale/github-action@v3
with:
version: 1.78.1
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:github-actions
- name: Get Tailscale version
run: tailscale version
# kubectl
- name: Set up kubectl
uses: azure/setup-kubectl@v4
with:
version: v1.32.0
- name: Create kubeconfig file
run: tailscale configure kubeconfig talos-cluster
- name: Get kubectl versions
run: kubectl version
# flux
- name: Set up Flux
uses: fluxcd/flux2/action@main
with:
version: 2.4.0
- name: Get Flux versions
run: flux version
- name: Reconcile Flux
id: flux-reconcile
run: flux reconcile source git flux-system --timeout "15s" && flux reconcile kustomization flux-system --timeout "30s"
- name: Get Flux kustomizations
if: failure() && steps.flux-reconcile.outcome == 'failure'
run: flux get kustomization