--- # This file was generated; to regnerated `cd` to `pipeline_generator` # and run: # # make > ../bitbucket-pipelines.yml image: debian:bookworm options: size: 2x definitions: caches: ansible-collections: ansible_collections pre-commit: ~/.cache/pre-commit services: docker: memory: 4096 pipelines: default: - step: name: Pre-commit image: python:3.9 caches: - pre-commit script: - apt update && apt install -y pipenv - pipenv sync --dev - pipenv run pre-commit run --all-files - step: name: Pre Parallelization stage script: - echo "Running tests in 38 batches" - step: name: Check if the template is up-to-date script: - | actual_scenario_count=$(find ./roles -type f -name "molecule.yml" -exec dirname {} ';' | wc -l | sed -e 's/^[[:space:]]*//') if ! grep -q "Running tests in ${actual_scenario_count} batches" bitbucket-pipelines.yml; then echo "Mismatch between expected (38) and actual number (${actual_scenario_count}) of scenarios. Please look at https://bitbucket.org/atlassian/dc-deployments-automation/src/master/DEVELOPMENT.md for instructions on how to fix this error." exit 1 fi - parallel: - step: name: aws_common/cw-disabled caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/aws_common - pipenv run molecule test -s cw-disabled - step: name: aws_common/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/aws_common - pipenv run molecule test -s default - step: name: aws_common/logs-disabled caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/aws_common - pipenv run molecule test -s logs-disabled - step: name: bitbucket_config/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/bitbucket_config - pipenv run molecule test -s default - step: name: bitbucket_config/iam_elasticsearch caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/bitbucket_config - pipenv run molecule test -s iam_elasticsearch - step: name: confluence_config/aurora caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/confluence_config - pipenv run molecule test -s aurora - step: name: confluence_config/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/confluence_config - pipenv run molecule test -s default - step: name: confluence_config/password_char_escaping caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/confluence_config - pipenv run molecule test -s password_char_escaping - step: name: confluence_config/system_jdk caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/confluence_config - pipenv run molecule test -s system_jdk - step: name: diy_backup/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/diy_backup - pipenv run molecule test -s default - step: name: jira_config/aurora caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/jira_config - pipenv run molecule test -s aurora - step: name: jira_config/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/jira_config - pipenv run molecule test -s default - step: name: jira_config/jira_config_props caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/jira_config - pipenv run molecule test -s jira_config_props - step: name: jira_config/password_char_escaping caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/jira_config - pipenv run molecule test -s password_char_escaping - step: name: linux_common/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/linux_common - pipenv run molecule test -s default - step: name: product_common/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_common - pipenv run molecule test -s default - step: name: product_common/system_jdk caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_common - pipenv run molecule test -s system_jdk - step: name: product_install/bitbucket_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s bitbucket_latest - step: name: product_install/confluence_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s confluence_latest - step: name: product_install/confluence_version_with_uppercase caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s confluence_version_with_uppercase - step: name: product_install/crowd_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s crowd_latest - step: name: product_install/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s default - step: name: product_install/jira_all caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_all - step: name: product_install/jira_cached_with_downgrade caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_cached_with_downgrade - step: name: product_install/jira_cached_with_upgrade caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_cached_with_upgrade - step: name: product_install/jira_software_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_software_latest - step: name: product_install/jira_tarball caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_tarball - step: name: product_install/jira_tarball_download_url caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_tarball_download_url - step: name: product_install/jira_version_from_file caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_version_from_file - step: name: product_install/jira_version_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_version_latest - step: name: product_install/jira_version_override caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s jira_version_override - step: name: product_install/servicedesk3 caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s servicedesk3 - step: name: product_install/servicedesk4 caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s servicedesk4 - step: name: product_install/servicedesk_latest caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_install - pipenv run molecule test -s servicedesk_latest - step: name: product_startup/bitbucket caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_startup - pipenv run molecule test -s bitbucket - step: name: product_startup/default caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_startup - pipenv run molecule test -s default - step: name: product_startup/startup_restart_false caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_startup - pipenv run molecule test -s startup_restart_false - step: name: product_startup/synchrony caches: - ansible-collections - docker - pip services: - docker script: - apt-get update && apt-get install -y rsync - export ANSIBLE_CONFIG=./ansible.cfg - ./bin/install-ansible --dev - cd roles/product_startup - pipenv run molecule test -s synchrony