Skip to content

Commit

Permalink
Merge branch 'master' into rpi3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea authored Sep 15, 2023
2 parents f7f5b1f + ce6f02f commit 511a559
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/reusable-upgrade-latest-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
# A flag to set the download target as latest release
# The default value is 'false'
latest: true
fileName: 'kairos-${{ inputs.flavor }}-v*.iso'
fileName: 'kairos-core-${{ inputs.flavor }}-amd64-generic-v*.iso'
out-file-path: ""
- name: Display structure of downloaded files
run: ls -las .
Expand All @@ -65,7 +65,10 @@ jobs:
sudo iptables -I INPUT -s 169.254.169.254 -j DROP
sudo iptables -I OUTPUT -d 169.254.169.254 -j DROP
- run: |
earthly +run-qemu-test --PREBUILT_ISO=$(ls kairos-${{ inputs.flavor }}*.iso) \
# release-downloader globing matches more than one iso. Make sure
# we use the right one.
ISO=$(ls kairos-core-${{ inputs.flavor }}-amd64-generic-v*.iso | grep -v ipxe)
earthly +run-qemu-test --PREBUILT_ISO=$ISO \
--FLAVOR=${{ inputs.flavor }} \
--CONTAINER_IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ github.sha }}:24h \
--TEST_SUITE=upgrade-latest-with-cli
Expand Down
3 changes: 3 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ framework:
ELSE IF [[ "$FLAVOR" =~ -rpi$ ]]
COPY ./images/rpi/bootargs.cfg /framework/etc/cos/bootargs.cfg
COPY ./images/rpi/config.txt /framework/boot/config.txt
ELSE IF [[ "$FLAVOR" =~ ^fips-systemd* ]]
# Use a generic one like redhat which has selinux disabled so it can be used on all flavors??
COPY ./images/redhat/bootargs.cfg /framework/etc/cos/bootargs.cfg
END
END

Expand Down
4 changes: 2 additions & 2 deletions framework-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ repositories:
priority: 2
urls:
- "quay.io/kairos/packages"
reference: 20230913100915-repository.yaml
reference: 20230915091405-repository.yaml
- !!merge <<: *kairos
arch: arm64
urls:
- "quay.io/kairos/packages-arm64"
reference: 20230913100853-repository.yaml
reference: 20230915092049-repository.yaml

0 comments on commit 511a559

Please sign in to comment.