Update CI image and Python dependency.

This commit is contained in:
Steve Smith
2022-07-26 13:40:06 +10:00
parent 4854676d50
commit e2915e1072
4 changed files with 577 additions and 573 deletions

View File

@@ -17,4 +17,4 @@ pytest = "*"
testinfra = "*" testinfra = "*"
[requires] [requires]
python_version = "3.7" python_version = "3.9"

1124
Pipfile.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
# #
# make > ../bitbucket-pipelines.yml # make > ../bitbucket-pipelines.yml
image: debian:buster image: debian:bullseye
options: options:
size: 2x size: 2x
@@ -240,15 +240,6 @@ pipelines:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_all - pipenv run molecule test -s jira_all
- step:
name: product_install/jira_tarball_download_url
services:
- docker
script:
- export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev
- cd roles/product_install
- pipenv run molecule test -s jira_tarball_download_url
- step: - step:
name: product_install/jira_cached_with_downgrade name: product_install/jira_cached_with_downgrade
services: services:
@@ -285,6 +276,15 @@ pipelines:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_tarball - pipenv run molecule test -s jira_tarball
- step:
name: product_install/jira_tarball_download_url
services:
- docker
script:
- export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev
- cd roles/product_install
- pipenv run molecule test -s jira_tarball_download_url
- step: - step:
name: product_install/jira_version_from_file name: product_install/jira_version_from_file
services: services:
@@ -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

View File

@@ -4,7 +4,7 @@
# #
# make > ../bitbucket-pipelines.yml # make > ../bitbucket-pipelines.yml
image: debian:buster image: debian:bullseye
options: options:
size: 2x size: 2x