Skip to content

Commit dab8852

Browse files
committed
Drop support for Centos8
EOL on December 31st, 2021 Removed: * packer files, scripts used to build the base ami and from build_ami.sh script * specific default attributes * from conditions, helpers, comments and kitchen tests Signed-off-by: Enrico Usai <[email protected]>
1 parent 3f5c270 commit dab8852

28 files changed

+29
-990
lines changed

.kitchen.cloud.yml

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -151,67 +151,6 @@ platforms:
151151
transport:
152152
username: centos
153153
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
154-
- name: centos-8-minimal
155-
driver_plugin: ec2
156-
driver_config:
157-
image_id: <%= ENV['CENTOS8_IMAGE_ID'] %>
158-
block_device_mappings:
159-
- device_name: /dev/sda1
160-
ebs:
161-
volume_size: <%= ENV['VOLUME_SIZE'] || 35 %>
162-
volume_type: gp2
163-
delete_on_termination: true
164-
- device_name: /dev/xvdba
165-
virtual_name: ephemeral0
166-
- device_name: /dev/xvdbb
167-
virtual_name: ephemeral1
168-
- device_name: /dev/xvdbc
169-
virtual_name: ephemeral2
170-
- device_name: /dev/xvdbd
171-
virtual_name: ephemeral3
172-
- device_name: /dev/xvdbe
173-
virtual_name: ephemeral4
174-
- device_name: /dev/xvdbf
175-
virtual_name: ephemeral5
176-
- device_name: /dev/xvdbg
177-
virtual_name: ephemeral6
178-
- device_name: /dev/xvdbh
179-
virtual_name: ephemeral7
180-
- device_name: /dev/xvdbi
181-
virtual_name: ephemeral8
182-
- device_name: /dev/xvdbj
183-
virtual_name: ephemeral9
184-
- device_name: /dev/xvdbk
185-
virtual_name: ephemeral10
186-
- device_name: /dev/xvdbl
187-
virtual_name: ephemeral11
188-
- device_name: /dev/xvdbm
189-
virtual_name: ephemeral12
190-
- device_name: /dev/xvdbn
191-
virtual_name: ephemeral13
192-
- device_name: /dev/xvdbo
193-
virtual_name: ephemeral14
194-
- device_name: /dev/xvdbp
195-
virtual_name: ephemeral15
196-
- device_name: /dev/xvdbq
197-
virtual_name: ephemeral16
198-
- device_name: /dev/xvdbr
199-
virtual_name: ephemeral17
200-
- device_name: /dev/xvdbs
201-
virtual_name: ephemeral18
202-
- device_name: /dev/xvdbt
203-
virtual_name: ephemeral19
204-
- device_name: /dev/xvdbu
205-
virtual_name: ephemeral20
206-
- device_name: /dev/xvdbv
207-
virtual_name: ephemeral21
208-
- device_name: /dev/xvdbw
209-
virtual_name: ephemeral22
210-
- device_name: /dev/xvdbx
211-
virtual_name: ephemeral23
212-
transport:
213-
username: centos
214-
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
215154
- name: ubuntu-18-04-lts
216155
driver_plugin: ec2
217156
driver_config:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste
77
-----
88

99
**CHANGES**
10+
- CentOS 8 is no longer supported (EOL on December 31st, 2021).
1011
- Upgrade Slurm to version 20.11.8.
1112
- Upgrade Cinc Client to version 17.2.29.
1213
- Upgrade NICE DCV to version 2021.2-11190.

amis/build_ami.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717
# Usage: build_ami.sh --os <os> --region <region> --partition <partition> [--public] [--custom]
1818
# [--build-date <build-date>] [--arch <arch>]
19-
# os: the os to build (supported values: all|centos7|centos8|alinux2|ubuntu1804|ubuntu2004)
19+
# os: the os to build (supported values: all|centos7|alinux2|ubuntu1804|ubuntu2004)
2020
# partition: partition to build in (supported values: commercial|govcloud|china|region)
2121
# region: region to copy ami too (supported values: all|us-east-1|us-gov-west-1|...)
2222
# custom: specifies to create the AMI from a custom AMI-id, which must be specified by variable CUSTOM_AMI_ID in the environment (optional)
@@ -114,7 +114,7 @@ parse_options() {
114114
check_options() {
115115
set -e
116116

117-
available_arm_os="ubuntu1804 ubuntu2004 alinux2 centos7 centos8" # subset of supported OSes for which ARM AMIs are available
117+
available_arm_os="ubuntu1804 ubuntu2004 alinux2 centos7" # subset of supported OSes for which ARM AMIs are available
118118
available_os="centos7 ${available_arm_os}"
119119
cwd="$(dirname $0)"
120120
export COOKBOOK_PATH="$(cd ${cwd}/..; pwd)"
@@ -212,7 +212,7 @@ do_command() {
212212
RC=$?
213213
done
214214
;;
215-
centos7|centos8|ubuntu1804|ubuntu2004|alinux2)
215+
centos7|ubuntu1804|ubuntu2004|alinux2)
216216
packer build -color=false -var-file="${cwd}/packer_variables.json" -only=${only} "${cwd}/packer_${_os}.json"
217217
RC=$?
218218
;;

0 commit comments

Comments
 (0)