Skip to content

Commit ed3fc10

Browse files
committed
Change endpoint for SGE sources
Signed-off-by: Luca Carrogu <carrogu@amazon.com>
1 parent fdc166a commit ed3fc10

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ aws-parallelcluster-cookbook CHANGELOG
33

44
This file is used to list changes made in each version of the AWS ParallelCluster cookbook.
55

6-
2.11.x
7-
-----
8-
96
2.11.3
107
-----
118

129
**BUG FIXES**
13-
- Fix cluster update when using proxy setup
10+
- Fix failure when building AMI, due to SGE sources not available at arc.liv.ac.uk
11+
- Fix cluster update when using proxy setup.
1412
- Update ca-certificates package during AMI build time and prevent Chef from using outdated/distrusted CA certificates.
1513

1614
2.11.2

attributes/default.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
# URLs to software packages used during install recipes
110110
# Gridengine software
111111
default['cfncluster']['sge']['version'] = '8.1.9'
112-
default['cfncluster']['sge']['url'] = 'https://arc.liv.ac.uk/downloads/SGE/releases/8.1.9/sge-8.1.9.tar.gz'
112+
default['cfncluster']['sge']['url'] = 'https://deb.debian.org/debian/pool/main/g/gridengine/gridengine_8.1.9+dfsg.orig.tar.gz'
113113
# Torque software
114114
default['cfncluster']['torque']['version'] = '6.1.2'
115115
default['cfncluster']['torque']['url'] = 'https://github.com/adaptivecomputing/torque/archive/6.1.2.tar.gz'
@@ -362,7 +362,6 @@
362362
r-base libblas-dev libfftw3-dev libffi-dev libxml2-dev mdadm
363363
libgcrypt20-dev libmysqlclient-dev libevent-dev iproute2 python3 python3-pip
364364
libatlas-base-dev libglvnd-dev linux-headers-aws]
365-
default['cfncluster']['sge']['url'] = 'https://deb.debian.org/debian/pool/main/g/gridengine/gridengine_8.1.9+dfsg.orig.tar.gz'
366365
default['cfncluster']['sge']['version'] = '8.1.9+dfsg-9'
367366

368367
case node['platform_version']

files/amazon-2/sge_preinstall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ elif [ -z ${TARBALL_PATH} ]; then
1414
fi
1515

1616
# Download source archive
17-
SRC_ARCHIVE_OUTFILE=${TARBALL_URL##*/}
17+
SRC_ARCHIVE_OUTFILE=${TARBALL_PATH##*/}
1818
curl --retry 3 --retry-delay 5 -o ${SRC_ARCHIVE_OUTFILE} ${TARBALL_URL}
1919

2020
# Extract source code to apply required patches
@@ -27,4 +27,4 @@ patch --ignore-whitespace -p2 < /tmp/sge-tcsh.patch
2727
# Re-create the archive in the right folder
2828
cd ../..
2929
tar cvfz ${TARBALL_PATH} ${TARBALL_ROOT_DIR}
30-
echo "Artifact ${TARBALL_ROOT_DIR}.tar.gz correctly created"
30+
echo "Artifact ${TARBALL_ROOT_DIR}.tar.gz correctly created"

files/centos-8/sge_preinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ elif [ -z ${TARBALL_PATH} ]; then
1414
fi
1515

1616
# Download source archive
17-
SRC_ARCHIVE_OUTFILE=${TARBALL_URL##*/}
17+
SRC_ARCHIVE_OUTFILE=${TARBALL_PATH##*/}
1818
curl --retry 3 --retry-delay 5 -o ${SRC_ARCHIVE_OUTFILE} ${TARBALL_URL}
1919

2020
# Extract source code to apply required patches

0 commit comments

Comments
 (0)