forked from coreos/coreos-assembler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
host containerFiles needed for kola tests
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
1 parent
d453409
commit 6f7abb7
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Tang Container | ||
|
||
This is used by the luks tests in `luks.*` | ||
|
||
https://github.com/coreos/coreos-assembler/blob/main/mantle/kola/tests/ignition/luks.go#L96 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# targetcli container | ||
|
||
This is used by the iSCSI setup tested in `iso-offline-install-iscsi` | ||
https://github.com/coreos/coreos-assembler/blob/main/mantle/cmd/kola/testiso.go#L992 | ||
|