mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
upgrade dependencies
This commit is contained in:
17
Pipfile
17
Pipfile
@@ -4,17 +4,16 @@ verify_ssl = true
|
|||||||
name = "pypi"
|
name = "pypi"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
ansible = "==2.10.7"
|
ansible-core = "==2.13.3"
|
||||||
boto3 = "==1.17.49"
|
boto3 = "==1.24.68"
|
||||||
botocore = "==1.20.49"
|
botocore = "==1.27.68"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
molecule = "==3.2.2"
|
molecule = "==4.0.1"
|
||||||
molecule-docker = "==0.2.4"
|
molecule-docker = "==2.0.0"
|
||||||
docker = "==4.4.1"
|
docker = "==6.0.0"
|
||||||
taskcat = "*"
|
|
||||||
pytest = "*"
|
pytest = "*"
|
||||||
testinfra = "*"
|
pytest-testinfra = "*"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.7"
|
python_version = "3"
|
||||||
|
|||||||
1219
Pipfile.lock
generated
1219
Pipfile.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -4,13 +4,14 @@ set -e
|
|||||||
|
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
if [[ $ID = "amzn" ]]; then
|
if [[ $ID = "amzn" ]]; then
|
||||||
|
amazon-linux-extras enable python3.8
|
||||||
|
yum clean metadata
|
||||||
yum install -y \
|
yum install -y \
|
||||||
python3-devel \
|
python2-pip
|
||||||
python3-pip \
|
python38
|
||||||
python2-boto3 \
|
python38-pip
|
||||||
python2-botocore \
|
python38-devel
|
||||||
python-lxml
|
python-lxml
|
||||||
|
|
||||||
else
|
else
|
||||||
# FIXME: Currently assumes Debian-based
|
# FIXME: Currently assumes Debian-based
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@@ -32,4 +33,4 @@ if [[ $1 == "--dev" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing collections from galaxy..."
|
echo "Installing collections from galaxy..."
|
||||||
pipenv run ansible-galaxy collection install -v -r requirements.yml
|
pipenv run ansible-galaxy collection install --upgrade --verbose --requirements-file requirements.yml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# make > ../bitbucket-pipelines.yml
|
# make > ../bitbucket-pipelines.yml
|
||||||
|
|
||||||
image: debian:buster
|
image: debian:bullseye
|
||||||
options:
|
options:
|
||||||
size: 2x
|
size: 2x
|
||||||
|
|
||||||
@@ -383,6 +383,6 @@ pipelines:
|
|||||||
script:
|
script:
|
||||||
- ./bin/install-ansible --dev
|
- ./bin/install-ansible --dev
|
||||||
- apt-get update && apt-get install -y npm
|
- apt-get update && apt-get install -y npm
|
||||||
- npm install -g snyk@1.455.0
|
- npm install -g snyk
|
||||||
- snyk auth $SNYK_TOKEN
|
- snyk auth $SNYK_TOKEN
|
||||||
- pipenv run snyk monitor --severity-threshold=high --project-name=dc-deployments-automation
|
- pipenv run snyk monitor --severity-threshold=high --project-name=dc-deployments-automation
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# make > ../bitbucket-pipelines.yml
|
# make > ../bitbucket-pipelines.yml
|
||||||
|
|
||||||
image: debian:buster
|
image: debian:bullseye
|
||||||
options:
|
options:
|
||||||
size: 2x
|
size: 2x
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
collections:
|
collections:
|
||||||
- name: amazon.aws
|
- name: amazon.aws
|
||||||
version: 3.0.0
|
version: "4.1.0"
|
||||||
|
- name: ansible.posix
|
||||||
|
version: "1.4.0"
|
||||||
|
- name: community.docker
|
||||||
|
version: "3.0.2"
|
||||||
|
- name: community.general
|
||||||
|
version: "5.5.0"
|
||||||
|
- name: community.postgresql
|
||||||
|
version: "2.2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user