Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 24 additions & 18 deletions .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
container-to-test: ["postgresql-container", "nginx-container", "s2i-perl-container", "s2i-python-container", "s2i-base-container" ]
os: ["fedora", "c9s", "rhel8", "rhel9", "c10s", "rhel10"]
os: ["fedora", "c9s", "rhel8", "rhel9", "c10s", "rhel10", "c11s", "rhel11"]

if: |
github.event.issue.pull_request
Expand All @@ -32,7 +32,7 @@ jobs:
branch="master"
tf_scope="private"
tmt_repo="https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans"
if [ "${{ matrix.os }}" == "fedora" ] || [ "${{ matrix.os }}" == "c9s" ] || [ "${{ matrix.os }}" == "c10s" ]; then
if [ "${{ matrix.os }}" == "fedora" ] || [ "${{ matrix.os }}" == "c9s" ] || [ "${{ matrix.os }}" == "c10s" ] || [ "${{ matrix.os }}" == "c11s" ]; then
api_key=${{ secrets.TF_PUBLIC_API_KEY }}
branch="main"
tf_scope="public"
Expand All @@ -41,32 +41,38 @@ jobs:
compose="Fedora-latest"
context="Fedora"
tmt_plan="/fedora"
else
if [ "${{ matrix.os }}" == "c9s" ]; then
compose="CentOS-Stream-9"
context="CentOS Stream 9"
tmt_plan="/c9s"
else
elif [ "${{ matrix.os }}" == "c9s" ]; then
compose="CentOS-Stream-9"
context="CentOS Stream 9"
tmt_plan="/c9s"
elif [ "${{ matrix.os }}" == "c10s" ]; then
compose="CentOS-Stream-10"
context="CentOS Stream 10"
tmt_plan="/c10s"
fi
else
# TODO - update compose and context for c11s when it will be available in Testing Farm
compose="CentOS-Stream-10"
context="CentOS Stream 11"
tmt_plan="/c11s"
fi
else
if [ "${{ matrix.os }}" == "rhel8" ]; then
compose="RHEL-8.10.0-Nightly"
context="RHEL8"
tmt_plan="/rhel8-docker$"
elif [ "${{ matrix.os }}" == "rhel9" ]; then
compose="RHEL-9.6.0-Nightly"
context="RHEL9"
tmt_plan="/rhel9-docker$"
elif [ "${{ matrix.os }}" == "rhel10" ]; then
compose="RHEL-10-Nightly"
context="RHEL10"
tmt_plan="/rhel10-docker$"
else
if [ "${{ matrix.os }}" == "rhel9" ]; then
compose="RHEL-9.6.0-Nightly"
context="RHEL9"
tmt_plan="/rhel9-docker$"
else
compose="RHEL-10-Nightly"
context="RHEL10"
tmt_plan="/rhel10-docker$"
fi
# TODO - update compose and context for rhel11 when it will be available in Testing Farm
compose="RHEL-10-Nightly"
context="RHEL11"
tmt_plan="/rhel11-docker$"
fi
fi
echo "api_key=$api_key" >> "$GITHUB_OUTPUT"
Expand Down