Merged in DCD-686-fix-amazon-linux (pull request #34)

DCD-686: Fix some issues with packages on Amazon Linux.

Approved-by: Ben Partridge <bpartridge@atlassian.com>
This commit is contained in:
Steve Smith
2019-10-09 02:04:20 +00:00
3 changed files with 15 additions and 2564 deletions

View File

@@ -8,6 +8,9 @@ PLAYBOOK=${2:?"Playbook must be specified"}
LOG_FILE=${3:-"/dev/null"}
ENV_FILE=${4:-"/etc/atl"}
export PATH=/usr/local/bin:$PATH
# Set the environment with default exports
set -a
source $ENV_FILE

View File

@@ -2,9 +2,18 @@
set -e
./bin/pacapt install --noconfirm \
python3-dev \
python3-pip
source /etc/os-release
if [[ $ID = "amzn" ]]; then
yum install -y \
python3-devel \
python3-pip
else
apt-get update && \
apt-get install -y \
python3-dev \
python3-pip
fi
export PATH=/usr/local/bin:$PATH
pip3 install pipenv
pipenv sync

2561
bin/pacapt

File diff suppressed because it is too large Load Diff