Skip to content

Commit

Permalink
host containerFiles needed for kola tests
Browse files Browse the repository at this point in the history
Some kola tests requires additionnal images to work (isci, luks). Until
now these images have been maintained by indivudual members of the
coreOS team. This moves the images under coreos-assembler for sharing
the maintainership, and allowing the images to be periodically rebuilt.

See coreos/fedora-coreos-tracker#1639 (comment)
  • Loading branch information
jbtrystram committed Feb 15, 2024
1 parent d453409 commit ffec3d1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/containers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This contains containerFiles to build images used by the CoreOS assembler tests.

Create a folder for each image, with a README linking to the kola test that uses the image

8 changes: 8 additions & 0 deletions tests/containers/tang/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM registry.fedoraproject.org/fedora-minimal:39

RUN microdnf -y install tang && microdnf clean all && rm -rf /var/cache/yum
EXPOSE 80

RUN systemctl enable tangd.socket

CMD ["/sbin/init"]
3 changes: 3 additions & 0 deletions tests/containers/tang/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Tang Container

This is used by the luks tests in `luks.*`
9 changes: 9 additions & 0 deletions tests/containers/targetcli/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM quay.io/centos/centos:stream9

RUN dnf install -y targetcli kmod && dnf clean all
RUN systemctl enable target

EXPOSE 3260

HEALTHCHECK --start-period=10s CMD targetcli pwd
CMD [ "/sbin/init" ]
4 changes: 4 additions & 0 deletions tests/containers/targetcli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# targetcli container

This is used by the iSCSI setup tested in `iso-offline-install-iscsi.bios`

0 comments on commit ffec3d1

Please sign in to comment.