Skip to content

Commit

Permalink
Update flux-diff.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Dec 31, 2024
1 parent e9b94b9 commit 7411cc4
Showing 1 changed file with 26 additions and 11 deletions.
37 changes: 26 additions & 11 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,34 @@ jobs:
ref: "${{ github.event.repository.default_branch }}"
path: default

- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
env:
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
shell: bash
run: brew install fluxcd/tap/flux helm kustomize uv

- name: Setup Python
uses: actions/setup-python@v5
with:
mise_toml: |
[tools]
python = "3.12"
"uv" = "latest"
"pipx:flux-local" = "latest"
"aqua:fluxcd/flux2" = "latest"
"aqua:helm/helm" = "latest"
"aqua:kubernetes-sigs/kustomize" = "latest"
python-version: 3.12.x

- name: Install Python Dependencies
run: uv pip install flux-local

# - name: Setup Workflow Tools
# uses: jdx/mise-action@v2
# env:
# GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
# with:
# mise_toml: |
# [tools]
# python = "3.12"
# "uv" = "latest"
# "pipx:flux-local" = "latest"
# "aqua:fluxcd/flux2" = "latest"
# "aqua:helm/helm" = "latest"
# "aqua:kubernetes-sigs/kustomize" = "latest"

- name: Diff Resources
shell: bash
Expand Down

0 comments on commit 7411cc4

Please sign in to comment.