Skip to content

Commit

Permalink
fix(workflows): use homebrew and not mise
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Dec 29, 2024
1 parent 1d0a459 commit 51963d4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 120 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/helm-repository-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ jobs:
token: "${{ steps.app-token.outputs.token }}"
fetch-depth: 0

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

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
with:
mise_toml: |
[tools]
"aqua:fluxcd/flux2" = "latest"
"aqua:mikefarah/yq" = "latest"
shell: bash
run: brew install fluxcd/tap/flux yq

- if: ${{ github.event.inputs.helmRepoNamespace == '' && github.event.inputs.helmRepoName == '' }}
name: Get Changed Files
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/pre-pull-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"

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

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
with:
mise_toml: |
[tools]
"aqua:mikefarah/yq" = "latest"
shell: bash
run: brew install yq

- name: Checkout Default Branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -100,12 +100,12 @@ jobs:
max-parallel: 4
fail-fast: false
steps:
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
with:
mise_toml: |
[tools]
"aqua:siderolabs/talos" = "latest"
shell: bash
run: brew install siderolabs/tap/talosctl

- name: Pre-pull Image
run: talosctl -n $NODE_IP image pull ${{ matrix.images }}
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
with:
token: "${{ steps.app-token.outputs.token }}"

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

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
with:
mise_toml: |
[tools]
"aqua:kubernetes/kubectl" = "latest"
shell: bash
run: brew install kubectl

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -52,7 +52,11 @@ jobs:

- name: Download and run crd-extractor
shell: bash
run: ./hack/crd-extractor.sh
run: |
curl -fsSL -o $GITHUB_WORKSPACE/crd-extractor.sh \
https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/Utilities/crd-extractor.sh
chmod +x $GITHUB_WORKSPACE/crd-extractor.sh
bash $GITHUB_WORKSPACE/crd-extractor.sh
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
Expand Down
98 changes: 0 additions & 98 deletions hack/crd-extractor.sh

This file was deleted.

0 comments on commit 51963d4

Please sign in to comment.