Skip to content

Commit 6d11d17

Browse files
committed
jenkins: Add Python Boto and Mock to amis
The S3 release uploader needs some Python packages not in the default install. Add them to the AMIs used in building releases. Signed-off-by: Brian Barrett <[email protected]>
1 parent 01bf2cd commit 6d11d17

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

jenkins/customize-ami.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ case $PLATFORM_ID in
7474
sudo yum -y update
7575
sudo yum -y groupinstall "Development Tools"
7676
sudo yum -y groupinstall "Java Development"
77-
sudo yum -y install libevent-devel java-1.8.0-openjdk-devel java-1.8.0-openjdk gdb
77+
sudo yum -y install libevent-devel java-1.8.0-openjdk-devel \
78+
java-1.8.0-openjdk gdb python27-mock python27-boto \
79+
python27-boto3
7880
labels="${labels} linux amazon_linux_${VERSION_ID}"
7981
case $VERSION_ID in
8082
2016.09|2017.03)
@@ -95,7 +97,7 @@ case $PLATFORM_ID in
9597
sudo apt-get -y upgrade
9698
sudo apt-get -y install build-essential gfortran \
9799
autoconf automake libtool flex hwloc libhwloc-dev git \
98-
default-jre awscli
100+
default-jre awscli python-mock python-boto3 rman
99101
labels="${labels} linux ubuntu_${VERSION_ID}"
100102
case $VERSION_ID in
101103
14.04)
@@ -122,7 +124,8 @@ case $PLATFORM_ID in
122124
sles)
123125
sudo zypper -n update
124126
sudo zypper -n install gcc gcc-c++ gcc-fortran \
125-
autoconf automake libtool flex make gdb
127+
autoconf automake libtool flex make gdb \
128+
python-boto python-boto3 python-mock
126129
labels="${labels} linux sles_${VERSION_ID}"
127130
case $VERSION_ID in
128131
12.2)

0 commit comments

Comments
 (0)