Skip to content

Commit

Permalink
Use one of our luet packages to install k3s (#1814)
Browse files Browse the repository at this point in the history
* Use one of our luet packages to install k3s

Fixing this: #1797 (comment)

Signed-off-by: Dimitris Karakasilis <[email protected]>

* [Temp] Run provider tests in PRs temporarily to test this PR

Signed-off-by: Dimitris Karakasilis <[email protected]>

* Revert "[Temp] Run provider tests in PRs temporarily to test this PR"

This reverts commit 41babdf.

---------

Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily authored Sep 13, 2023
1 parent 328b877 commit ec1706c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reusable-build-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ jobs:
sudo iptables -I OUTPUT -d 169.254.169.254 -j DROP
- name: Build PR 🔧
run: |
earthly +ci --SECURITY_SCANS=false --IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ github.sha }}-provider:24h --FLAVOR=${{ inputs.flavor }} --VARIANT=standard -K3S_VERSION=latest
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq '.packages | map(.version) | unique | last')
earthly +ci \
--SECURITY_SCANS=false \
--IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ github.sha }}-provider:24h \
--FLAVOR=${{ inputs.flavor }} \
--VARIANT=standard -K3S_VERSION=${K3S_VERSION}
sudo mv build/* .
sudo rm -rf build
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ec1706c

Please sign in to comment.