Skip to content

Commit

Permalink
feat(github): testing out aqua workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Dec 20, 2023
1 parent 5b14363 commit c9c419b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths: ["kubernetes/**.yaml"]

env:
AQUA_CONFIG: ./.github/aqua.yaml
AQUA_GLOBAL_CONFIG: ./.github/aqua.yaml

jobs:
flux-diff:
Expand All @@ -33,18 +33,17 @@ jobs:
token: "${{ steps.app-token.outputs.token }}"

- name: Install System Tools
uses: awalsh128/cache-apt-pkgs-action@44c33b32f808cdddd5ac0366d70595ed63661ed8 # v1.3.1
with:
packages: curl git jo
version: 1.0
shell: bash
run: sudo apt-get -qq update && sudo apt-get -qq install --no-install-recommends -y curl git jo

- name: Cache Aqua
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
id: cache
with:
path: ~/.local/share/aquaproj-aqua
key: aqua-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('./.github/aqua.yaml') }}
restore-keys: aqua-${{ runner.os }}-${{ runner.arch }}-
restore-keys: |
aqua-${{ runner.os }}-${{ runner.arch }}-
- name: Install Aqua and CLI Tools
uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/flux-hr-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
paths: ["kubernetes/**/helmrelease.yaml"]

env:
AQUA_CONFIG: ./.github/aqua.yaml
AQUA_GLOBAL_CONFIG: ./.github/aqua.yaml

jobs:
sync:
Expand All @@ -37,18 +37,17 @@ jobs:
fetch-depth: 0

- name: Install System Tools
uses: awalsh128/cache-apt-pkgs-action@44c33b32f808cdddd5ac0366d70595ed63661ed8 # v1.3.1
with:
packages: curl git jo
version: 1.0
shell: bash
run: sudo apt-get -qq update && sudo apt-get -qq install --no-install-recommends -y curl git jo

- name: Cache Aqua
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
id: cache
with:
path: ~/.local/share/aquaproj-aqua
key: aqua-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('./.github/aqua.yaml') }}
restore-keys: aqua-${{ runner.os }}-${{ runner.arch }}-
restore-keys: |
aqua-${{ runner.os }}-${{ runner.arch }}-
- name: Install Aqua and CLI Tools
uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/flux-hr-test-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths: ["kubernetes/**/helmrelease.yaml"]

env:
AQUA_CONFIG: ./.github/aqua.yaml
AQUA_GLOBAL_CONFIG: ./.github/aqua.yaml

jobs:
changed-files:
Expand Down Expand Up @@ -67,18 +67,17 @@ jobs:
fetch-depth: 0

- name: Install System Tools
uses: awalsh128/cache-apt-pkgs-action@44c33b32f808cdddd5ac0366d70595ed63661ed8 # v1.3.1
with:
packages: curl git jo
version: 1.0
shell: bash
run: sudo apt-get -qq update && sudo apt-get -qq install --no-install-recommends -y curl git jo

- name: Cache Aqua
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
id: cache
with:
path: ~/.local/share/aquaproj-aqua
key: aqua-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('./.github/aqua.yaml') }}
restore-keys: aqua-${{ runner.os }}-${{ runner.arch }}-
restore-keys: |
aqua-${{ runner.os }}-${{ runner.arch }}-
- name: Install Aqua and CLI Tools
uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/publish-terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths: ["terraform/**"]

env:
AQUA_CONFIG: ./.github/aqua.yaml
AQUA_GLOBAL_CONFIG: ./.github/aqua.yaml

jobs:
publish-terraform:
Expand All @@ -31,18 +31,17 @@ jobs:
token: "${{ steps.app-token.outputs.token }}"

- name: Install System Tools
uses: awalsh128/cache-apt-pkgs-action@44c33b32f808cdddd5ac0366d70595ed63661ed8 # v1.3.1
with:
packages: curl git jo
version: 1.0
shell: bash
run: sudo apt-get -qq update && sudo apt-get -qq install --no-install-recommends -y curl git jo

- name: Cache Aqua
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
id: cache
with:
path: ~/.local/share/aquaproj-aqua
key: aqua-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('./.github/aqua.yaml') }}
restore-keys: aqua-${{ runner.os }}-${{ runner.arch }}-
restore-keys: |
aqua-${{ runner.os }}-${{ runner.arch }}-
- name: Install Aqua and CLI Tools
uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
Expand Down

0 comments on commit c9c419b

Please sign in to comment.