Skip to content
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

RHEL7, CentOS7, C8S reached EOL #29

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
description: ''
required: true
os_test:
description: 'centos7/c8s/c9s/fedora/rhel7/rhel8/rhel9/rhel9-unsubscribed'
description: 'c9s/c10s/fedora/rhel8/rhel9/rhel9-unsubscribed'
required: true
test_case:
description: 'container/openshift-4'
Expand Down
30 changes: 7 additions & 23 deletions export_variables.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh

public_ranch="centos7 c8s c9s c10s fedora"
private_ranch="rhel7 rhel8 rhel9 rhel9-unsubscribed"
public_ranch="c8s c9s c10s fedora"
private_ranch="rhel8 rhel9 rhel9-unsubscribed"
all_os="$public_ranch $private_ranch"

os_test="$1" # options: centos7, c8s, c9s, fedora, rhel7, rhel8, rhel9, rhel9-unsubscribed
os_test="$1" # options: c9s, c10s, fedora, rhel8, rhel9, rhel9-unsubscribed
test_case="$2" # options: container, openshift-4, openshift-pytest
user_context="$3" # User can specify its own user-defined context, like 'Testing Farm - pytest - RHEL8'
if [ -z "$os_test" ] || ! echo "$all_os" | grep -q "$os_test" ; then
Expand Down Expand Up @@ -58,37 +58,21 @@ fi
# variables based on operating system in test
dockerfile=Dockerfile."$os_test"
case "$os_test" in
"centos7")
tmt_plan="centos7"
context="$context_prefix CentOS7$context_suffix"
dockerfile="Dockerfile"
compose="CentOS-7"
;;
"c10s")
tmt_plan="c10s"
context="$context_prefix CentOS Stream 10"
compose="CentOS-Stream-10"
;;
"c9s")
tmt_plan="c9s"
context="$context_prefix CentOS Stream 9"
compose="CentOS-Stream-9"
;;
"c8s")
tmt_plan="c8s"
context="$context_prefix CentOS Stream 8"
compose="CentOS-Stream-8"
"c10s")
tmt_plan="c10s"
context="$context_prefix CentOS Stream 10"
compose="CentOS-Stream-10"
;;
"fedora")
tmt_plan="fedora"
context="Fedora"
compose="Fedora-latest"
;;
"rhel7")
tmt_plan="rhel7$tmt_plan_suffix"
context="$context_prefix RHEL7$context_suffix"
compose="RHEL-7-LatestUpdated"
;;
"rhel8")
tmt_plan="rhel8$tmt_plan_suffix"
context="$context_prefix RHEL8$context_suffix"
Expand Down