Skip to content

Commit

Permalink
Fix image tests to use an up to date system for testing the install (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Sep 21, 2022
1 parent 129edf9 commit 11c1ea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
qemu-img create -f raw disk-efi.img 30G
# mount loop device and get the device
LOOP=`sudo losetup -fP --show disk-efi.img`
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --force-efi --debug -d quay.io/costoolkit/releases-green:cos-system-0.8.6 $LOOP
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --force-efi --debug -d registry.opensuse.org/isv/rancher/elemental/teal53/15.4/rancher/elemental-node-image/5.3:latest $LOOP
sudo losetup -D $LOOP
rm disk-efi.img
- name: Test elemental image install
Expand All @@ -79,7 +79,7 @@ jobs:
qemu-img create -f raw disk.img 30G
# mount loop device and get the device
LOOP=`sudo losetup -fP --show disk.img`
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --debug -d quay.io/costoolkit/releases-green:cos-system-0.8.6 $LOOP
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --debug -d registry.opensuse.org/isv/rancher/elemental/teal53/15.4/rancher/elemental-node-image/5.3:latest $LOOP
sudo losetup -D $LOOP
rm disk.img
- name: Push image # should be a free build as everything has been cached and loaded
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
qemu-img create -f raw disk-efi.img 30G
# mount loop device and get the device
LOOP=`sudo losetup -fP --show disk-efi.img`
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --force-efi --debug -d quay.io/costoolkit/releases-green:cos-system-0.8.6 $LOOP
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --force-efi --debug -d registry.opensuse.org/isv/rancher/elemental/teal53/15.4/rancher/elemental-node-image/5.3:latest $LOOP
sudo losetup -D $LOOP
rm disk-efi.img
- name: Test elemental image install
Expand All @@ -74,7 +74,7 @@ jobs:
qemu-img create -f raw disk.img 30G
# mount loop device and get the device
LOOP=`sudo losetup -fP --show disk.img`
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --debug -d quay.io/costoolkit/releases-green:cos-system-0.8.6 $LOOP
docker run -v /dev/:/dev/ --privileged ${{ steps.docker_build.outputs.ImageID }} install --debug -d registry.opensuse.org/isv/rancher/elemental/teal53/15.4/rancher/elemental-node-image/5.3:latest $LOOP
sudo losetup -D $LOOP
rm disk.img
- name: Push image # should be a free build as everything has been cached and loaded
Expand Down

0 comments on commit 11c1ea1

Please sign in to comment.