-
Notifications
You must be signed in to change notification settings - Fork 168
Update container testing #4925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update container testing #4925
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # | ||
| # A Fedora 44 image tailored for tmt test suite | ||
| # | ||
| # tmt/tests/fedora/44:latest | ||
| # | ||
|
|
||
| FROM quay.io/fedora/fedora:44 | ||
|
|
||
| # hadolint ignore=DL3040 | ||
| RUN <<EOF | ||
| set -ex | ||
|
|
||
| # Populate dnf cache | ||
| dnf makecache | ||
|
|
||
| # Make sure the image is built with the latest packages | ||
| dnf update -y | ||
| EOF |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,8 +22,8 @@ TEST_CONTAINER_IMAGES="${TEST_CONTAINER_IMAGES:-$TEST_IMAGE_PREFIX/alpine:latest | |
| $TEST_IMAGE_PREFIX/centos/7/upstream:latest | ||
| $TEST_IMAGE_PREFIX/centos/stream9/upstream:latest | ||
| $TEST_IMAGE_PREFIX/centos/stream10/upstream:latest | ||
| $TEST_IMAGE_PREFIX/fedora/42/upstream:latest | ||
| $TEST_IMAGE_PREFIX/fedora/43/upstream:latest | ||
| $TEST_IMAGE_PREFIX/fedora/44/upstream:latest | ||
| $TEST_IMAGE_PREFIX/fedora/rawhide/upstream:latest | ||
| $TEST_IMAGE_PREFIX/fedora/eln/upstream:latest | ||
| $TEST_IMAGE_PREFIX/ubi/8/upstream:latest | ||
|
|
@@ -43,8 +43,8 @@ TEST_CONTAINER_IMAGES_SECONDARY="${TEST_CONTAINER_IMAGES_SECONDARY:-$TEST_IMAGE_ | |
| # TODO: enable centos-7 again with modified repo files | ||
| TEST_VIRTUAL_IMAGES="${TEST_VIRTUAL_IMAGES:-centos-stream-9 | ||
| centos-stream-10 | ||
| fedora-42 | ||
| fedora-43 | ||
| fedora-44 | ||
| fedora-rawhide | ||
| fedora-coreos}" | ||
|
|
||
|
|
@@ -69,6 +69,8 @@ TEST_IMAGE_MODE_IMAGES="${TEST_IMAGE_MODE_IMAGES:-$(printf "%s\n" "${!IMAGE_MODE | |
| function is_fedora_rawhide () { | ||
| [[ "$1" =~ ^.*fedora/rawhide[:/].* ]] && return 0 | ||
| [[ "$1" = "fedora-rawhide" ]] && return 0 | ||
| [[ "$1" =~ ^.*fedora/45[:/].* ]] && return 0 | ||
| [[ "$1" = "fedora-45" ]] && return 0 | ||
|
|
||
| return 1 | ||
| } | ||
|
|
@@ -94,6 +96,17 @@ function is_fedora_43 () { | |
| return 1 | ||
| } | ||
|
|
||
| function is_fedora_44 () { | ||
| [[ "$1" =~ ^.*fedora/44[:/].* ]] && return 0 | ||
| [[ "$1" = "fedora-44" ]] && return 0 | ||
|
|
||
| return 1 | ||
| } | ||
|
|
||
| function is_fedora_45 () { | ||
| is_fedora_rawhide "$1" | ||
| } | ||
|
|
||
|
Comment on lines
+106
to
+109
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this a good idea, we will need to remember to update this after 45 branched?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See the current state of how the branching is handled/not handled. This is purely an improvement over the status quo |
||
| function is_centos_stream_9 () { | ||
| [[ "$1" =~ ^.*centos/stream9[:/].* ]] && return 0 | ||
| [[ "$1" = "centos-stream-9" ]] && return 0 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.