fix indentation in pipelines config

This commit is contained in:
Lee Goolsbee
2022-09-08 18:16:41 -05:00
parent b1c3516b30
commit c563e745db
2 changed files with 408 additions and 408 deletions

View File

@@ -36,431 +36,431 @@ pipelines:
- parallel: - parallel:
- step: - step:
name: aws_common/cw-disabled name: aws_common/cw-disabled
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- pipenv run molecule test -s cw-disabled - pipenv run molecule test -s cw-disabled
- step: - step:
name: aws_common/default name: aws_common/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: aws_common/logs-disabled name: aws_common/logs-disabled
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- pipenv run molecule test -s logs-disabled - pipenv run molecule test -s logs-disabled
- step: - step:
name: bitbucket_config/default name: bitbucket_config/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/bitbucket_config - cd roles/bitbucket_config
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: bitbucket_config/iam_elasticsearch name: bitbucket_config/iam_elasticsearch
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/bitbucket_config - cd roles/bitbucket_config
- pipenv run molecule test -s iam_elasticsearch - pipenv run molecule test -s iam_elasticsearch
- step: - step:
name: confluence_config/aurora name: confluence_config/aurora
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- pipenv run molecule test -s aurora - pipenv run molecule test -s aurora
- step: - step:
name: confluence_config/default name: confluence_config/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: confluence_config/password_char_escaping name: confluence_config/password_char_escaping
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- pipenv run molecule test -s password_char_escaping - pipenv run molecule test -s password_char_escaping
- step: - step:
name: confluence_config/system_jdk name: confluence_config/system_jdk
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- pipenv run molecule test -s system_jdk - pipenv run molecule test -s system_jdk
- step: - step:
name: diy_backup/default name: diy_backup/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/diy_backup - cd roles/diy_backup
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: jira_config/aurora name: jira_config/aurora
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- pipenv run molecule test -s aurora - pipenv run molecule test -s aurora
- step: - step:
name: jira_config/default name: jira_config/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: jira_config/jira_config_props name: jira_config/jira_config_props
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- pipenv run molecule test -s jira_config_props - pipenv run molecule test -s jira_config_props
- step: - step:
name: jira_config/password_char_escaping name: jira_config/password_char_escaping
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- pipenv run molecule test -s password_char_escaping - pipenv run molecule test -s password_char_escaping
- step: - step:
name: linux_common/default name: linux_common/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/linux_common - cd roles/linux_common
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_common/default name: product_common/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_common - cd roles/product_common
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_common/system_jdk name: product_common/system_jdk
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_common - cd roles/product_common
- pipenv run molecule test -s system_jdk - pipenv run molecule test -s system_jdk
- step: - step:
name: product_install/bitbucket_latest name: product_install/bitbucket_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s bitbucket_latest - pipenv run molecule test -s bitbucket_latest
- step: - step:
name: product_install/confluence_latest name: product_install/confluence_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s confluence_latest - pipenv run molecule test -s confluence_latest
- step: - step:
name: product_install/confluence_version_with_uppercase name: product_install/confluence_version_with_uppercase
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s confluence_version_with_uppercase - pipenv run molecule test -s confluence_version_with_uppercase
- step: - step:
name: product_install/crowd_latest name: product_install/crowd_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s crowd_latest - pipenv run molecule test -s crowd_latest
- step: - step:
name: product_install/default name: product_install/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_install/jira_all name: product_install/jira_all
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./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: - step:
name: product_install/jira_cached_with_downgrade name: product_install/jira_cached_with_downgrade
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_cached_with_downgrade - pipenv run molecule test -s jira_cached_with_downgrade
- step: - step:
name: product_install/jira_cached_with_upgrade name: product_install/jira_cached_with_upgrade
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_cached_with_upgrade - pipenv run molecule test -s jira_cached_with_upgrade
- step: - step:
name: product_install/jira_software_latest name: product_install/jira_software_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_software_latest - pipenv run molecule test -s jira_software_latest
- step: - step:
name: product_install/jira_tarball name: product_install/jira_tarball
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./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: - step:
name: product_install/jira_tarball_download_url name: product_install/jira_tarball_download_url
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_tarball_download_url - 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
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_version_from_file - pipenv run molecule test -s jira_version_from_file
- step: - step:
name: product_install/jira_version_latest name: product_install/jira_version_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_version_latest - pipenv run molecule test -s jira_version_latest
- step: - step:
name: product_install/jira_version_override name: product_install/jira_version_override
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s jira_version_override - pipenv run molecule test -s jira_version_override
- step: - step:
name: product_install/servicedesk3 name: product_install/servicedesk3
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s servicedesk3 - pipenv run molecule test -s servicedesk3
- step: - step:
name: product_install/servicedesk4 name: product_install/servicedesk4
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s servicedesk4 - pipenv run molecule test -s servicedesk4
- step: - step:
name: product_install/servicedesk_latest name: product_install/servicedesk_latest
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- pipenv run molecule test -s servicedesk_latest - pipenv run molecule test -s servicedesk_latest
- step: - step:
name: product_startup/bitbucket name: product_startup/bitbucket
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- pipenv run molecule test -s bitbucket - pipenv run molecule test -s bitbucket
- step: - step:
name: product_startup/default name: product_startup/default
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- pipenv run molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_startup/startup_restart_false name: product_startup/startup_restart_false
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- pipenv run molecule test -s startup_restart_false - pipenv run molecule test -s startup_restart_false
- step: - step:
name: product_startup/synchrony name: product_startup/synchrony
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- pipenv run molecule test -s synchrony - pipenv run molecule test -s synchrony
- step: - step:
name: Run Snyk security scan name: Run Snyk security scan
services: services:
- docker - docker
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 - 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

@@ -37,25 +37,25 @@ pipelines:
- parallel: - parallel:
{% for spath in scenario_paths %} {% for spath in scenario_paths %}
- step: - step:
name: {{ spath.parts[2] }}/{{ spath.parts[4] }} name: {{ spath.parts[2] }}/{{ spath.parts[4] }}
caches: caches:
- ansible-collections - ansible-collections
services: services:
- docker - docker
script: script:
- export ANSIBLE_CONFIG=./ansible.cfg - export ANSIBLE_CONFIG=./ansible.cfg
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/{{ spath.parts[2] }} - cd roles/{{ spath.parts[2] }}
- pipenv run molecule test -s {{ spath.parts[4] }} - pipenv run molecule test -s {{ spath.parts[4] }}
{% endfor %} {% endfor %}
- step: - step:
name: Run Snyk security scan name: Run Snyk security scan
services: services:
- docker - docker
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 - 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