mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-686: Fix some issues with packages on Amazon Linux.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
2561
bin/pacapt
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user