Update workflows OS list to replace RHEL8 for RHEL9 deployments

This commit is contained in:
Jesus Garcia 2025-12-02 10:36:16 -05:00
parent e6783c4d5e
commit ae475b3210
No known key found for this signature in database
GPG Key ID: 8461CA78326C96C9
2 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@ on:
OS_LIST: OS_LIST:
description: 'Operating Systems (comma-separated string list)' description: 'Operating Systems (comma-separated string list)'
required: true required: true
default: '["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL8"]' default: '["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL9"]'
type: string type: string
COMMIT_LIST: COMMIT_LIST:
description: 'Wazuh components revisions (comma-separated string list) ["indexer", "manager", "dashboard", "agent"]' description: 'Wazuh components revisions (comma-separated string list) ["indexer", "manager", "dashboard", "agent"]'
@ -64,7 +64,7 @@ jobs:
if [[ "${{ inputs.OS_LIST }}" != "null" && "${{ inputs.OS_LIST }}" != "" ]]; then if [[ "${{ inputs.OS_LIST }}" != "null" && "${{ inputs.OS_LIST }}" != "" ]]; then
OS_LIST='${{ inputs.OS_LIST }}' OS_LIST='${{ inputs.OS_LIST }}'
else else
OS_LIST='["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL8"]' OS_LIST='["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL9"]'
fi fi
echo "OS_LIST=$OS_LIST" >> $GITHUB_OUTPUT echo "OS_LIST=$OS_LIST" >> $GITHUB_OUTPUT
@ -325,8 +325,8 @@ jobs:
"RHEL7") "RHEL7")
SUBNAME="redhat-7" SUBNAME="redhat-7"
;; ;;
"RHEL8") "RHEL9")
SUBNAME="redhat-8" SUBNAME="redhat-9"
;; ;;
*) *)
echo "Invalid SYSTEM selection" >&2 echo "Invalid SYSTEM selection" >&2

View File

@ -10,7 +10,7 @@ on:
OS_LIST: OS_LIST:
description: 'Operating Systems (comma-separated string list)' description: 'Operating Systems (comma-separated string list)'
required: true required: true
default: '["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL8"]' default: '["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL9"]'
type: string type: string
COMMIT_LIST: COMMIT_LIST:
description: 'Wazuh components revisions (comma-separated string list) ["indexer", "manager", "dashboard", "agent"]' description: 'Wazuh components revisions (comma-separated string list) ["indexer", "manager", "dashboard", "agent"]'
@ -65,7 +65,7 @@ jobs:
if [[ "${{ inputs.OS_LIST }}" != "null" && "${{ inputs.OS_LIST }}" != "" ]]; then if [[ "${{ inputs.OS_LIST }}" != "null" && "${{ inputs.OS_LIST }}" != "" ]]; then
OS_LIST='${{ inputs.OS_LIST }}' OS_LIST='${{ inputs.OS_LIST }}'
else else
OS_LIST='["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL8"]' OS_LIST='["CentOS_8", "AmazonLinux_23", "Ubuntu_22", "RHEL9"]'
fi fi
echo "OS_LIST=$OS_LIST" >> $GITHUB_OUTPUT echo "OS_LIST=$OS_LIST" >> $GITHUB_OUTPUT
echo "Operating Systems: $OS_LIST" echo "Operating Systems: $OS_LIST"
@ -327,8 +327,8 @@ jobs:
"RHEL7") "RHEL7")
SUBNAME="redhat-7" SUBNAME="redhat-7"
;; ;;
"RHEL8") "RHEL9")
SUBNAME="redhat-8" SUBNAME="redhat-9"
;; ;;
*) *)
echo "Invalid SYSTEM selection" >&2 echo "Invalid SYSTEM selection" >&2