|
52 | 52 | type: boolean |
53 | 53 | default: true |
54 | 54 |
|
55 | | - oraclelinux: |
56 | | - description: 'OracleLinux (7 to 8 only)' |
57 | | - required: true |
58 | | - type: boolean |
59 | | - default: true |
60 | | - |
61 | | - rocky: |
62 | | - description: 'Rocky Linux' |
63 | | - required: true |
64 | | - type: boolean |
65 | | - default: true |
66 | | - |
67 | 55 | vendors: |
68 | 56 | description: 'Install vendors' |
69 | 57 | required: true |
@@ -115,23 +103,6 @@ jobs: |
115 | 103 | fi |
116 | 104 | fi |
117 | 105 |
|
118 | | - # Oracle Linux variants |
119 | | - if [ "${{ inputs.oraclelinux }}" = "true" ]; then |
120 | | - if [ "${{ inputs.to8 }}" = "true" ]; then |
121 | | - VARIANTS+=("centos 7 to oraclelinux 8") |
122 | | - fi |
123 | | - fi |
124 | | -
|
125 | | - # Rocky Linux variants |
126 | | - if [ "${{ inputs.rocky }}" = "true" ]; then |
127 | | - if [ "${{ inputs.to8 }}" = "true" ]; then |
128 | | - VARIANTS+=("centos 7 to rocky 8") |
129 | | - fi |
130 | | - if [ "${{ inputs.to9 }}" = "true" ]; then |
131 | | - VARIANTS+=("rocky 8 to rocky 9") |
132 | | - fi |
133 | | - fi |
134 | | -
|
135 | 106 | [ ${#VARIANTS[@]} -ne 0 ] && matrix=$(printf '"%s",' "${VARIANTS[@]}") |
136 | 107 | matrix=${matrix%,} # Remove the trailing comma |
137 | 108 | echo matrix=$(jq -c <<< [${matrix}]) >> $GITHUB_OUTPUT |
@@ -175,15 +146,6 @@ jobs: |
175 | 146 | vm_box=eurolinux-vagrant/centos-stream-${source_release} # generic/centos8s |
176 | 147 | target_release_string="CentOS Stream release ${target_release}" |
177 | 148 | ;; |
178 | | - oraclelinux ) |
179 | | - vm_box=eurolinux-vagrant/oracle-linux-${source_release} # generic/oracle8 |
180 | | - target_release_string="Oracle Linux Server release ${target_release}" |
181 | | - target_release_file=/etc/oracle-release |
182 | | - ;; |
183 | | - rocky ) |
184 | | - vm_box=eurolinux-vagrant/rocky-${source_release} # generic/rocky8 |
185 | | - target_release_string="Rocky Linux release ${target_release}" |
186 | | - ;; |
187 | 149 | esac |
188 | 150 | if [ "${source_release}" = "7" ]; then |
189 | 151 | # Elevate all from CentOS 7 |
|
0 commit comments