mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -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"}
|
LOG_FILE=${3:-"/dev/null"}
|
||||||
ENV_FILE=${4:-"/etc/atl"}
|
ENV_FILE=${4:-"/etc/atl"}
|
||||||
|
|
||||||
|
export PATH=/usr/local/bin:$PATH
|
||||||
|
|
||||||
|
|
||||||
# Set the environment with default exports
|
# Set the environment with default exports
|
||||||
set -a
|
set -a
|
||||||
source $ENV_FILE
|
source $ENV_FILE
|
||||||
|
|||||||
@@ -2,9 +2,18 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
./bin/pacapt install --noconfirm \
|
source /etc/os-release
|
||||||
python3-dev \
|
if [[ $ID = "amzn" ]]; then
|
||||||
python3-pip
|
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
|
pip3 install pipenv
|
||||||
pipenv sync
|
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