DCD-1205: Need to run molecule in the pipenv environment.

This commit is contained in:
Steve
2021-01-20 13:02:45 +11:00
parent c250da08ed
commit 89977a263b
2 changed files with 39 additions and 39 deletions

View File

@@ -40,7 +40,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- molecule test -s cw-disabled - pipenv run molecule test -s cw-disabled
- step: - step:
name: aws_common/default name: aws_common/default
services: services:
@@ -48,7 +48,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: aws_common/logs-disabled name: aws_common/logs-disabled
services: services:
@@ -56,7 +56,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/aws_common - cd roles/aws_common
- molecule test -s logs-disabled - pipenv run molecule test -s logs-disabled
- step: - step:
name: bitbucket_config/default name: bitbucket_config/default
services: services:
@@ -64,7 +64,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/bitbucket_config - cd roles/bitbucket_config
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: confluence_config/aurora name: confluence_config/aurora
services: services:
@@ -72,7 +72,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- molecule test -s aurora - pipenv run molecule test -s aurora
- step: - step:
name: confluence_config/default name: confluence_config/default
services: services:
@@ -80,7 +80,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: confluence_config/password_char_escaping name: confluence_config/password_char_escaping
services: services:
@@ -88,7 +88,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- 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
services: services:
@@ -96,7 +96,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/confluence_config - cd roles/confluence_config
- molecule test -s system_jdk - pipenv run molecule test -s system_jdk
- step: - step:
name: create_backups/default name: create_backups/default
services: services:
@@ -104,7 +104,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/create_backups - cd roles/create_backups
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: diy_backup/default name: diy_backup/default
services: services:
@@ -112,7 +112,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/diy_backup - cd roles/diy_backup
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: jira_config/aurora name: jira_config/aurora
services: services:
@@ -120,7 +120,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- molecule test -s aurora - pipenv run molecule test -s aurora
- step: - step:
name: jira_config/default name: jira_config/default
services: services:
@@ -128,7 +128,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: jira_config/jira_config_props name: jira_config/jira_config_props
services: services:
@@ -136,7 +136,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- 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
services: services:
@@ -144,7 +144,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/jira_config - cd roles/jira_config
- molecule test -s password_char_escaping - pipenv run molecule test -s password_char_escaping
- step: - step:
name: linux_common/default name: linux_common/default
services: services:
@@ -152,7 +152,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/linux_common - cd roles/linux_common
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_common/default name: product_common/default
services: services:
@@ -160,7 +160,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_common - cd roles/product_common
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_common/system_jdk name: product_common/system_jdk
services: services:
@@ -168,7 +168,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_common - cd roles/product_common
- molecule test -s system_jdk - pipenv run molecule test -s system_jdk
- step: - step:
name: product_install/bitbucket_latest name: product_install/bitbucket_latest
services: services:
@@ -176,7 +176,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s bitbucket_latest - pipenv run molecule test -s bitbucket_latest
- step: - step:
name: product_install/confluence_latest name: product_install/confluence_latest
services: services:
@@ -184,7 +184,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s confluence_latest - pipenv run molecule test -s confluence_latest
- step: - step:
name: product_install/crowd_latest name: product_install/crowd_latest
services: services:
@@ -192,7 +192,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s crowd_latest - pipenv run molecule test -s crowd_latest
- step: - step:
name: product_install/default name: product_install/default
services: services:
@@ -200,7 +200,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_install/jira_all name: product_install/jira_all
services: services:
@@ -208,7 +208,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -216,7 +216,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -224,7 +224,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -232,7 +232,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -240,7 +240,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s jira_tarball - pipenv run molecule test -s jira_tarball
- step: - step:
name: product_install/jira_version_from_file name: product_install/jira_version_from_file
services: services:
@@ -248,7 +248,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -256,7 +256,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- 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
services: services:
@@ -264,7 +264,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s jira_version_override - pipenv run molecule test -s jira_version_override
- step: - step:
name: product_install/servicedesk3 name: product_install/servicedesk3
services: services:
@@ -272,7 +272,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s servicedesk3 - pipenv run molecule test -s servicedesk3
- step: - step:
name: product_install/servicedesk4 name: product_install/servicedesk4
services: services:
@@ -280,7 +280,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s servicedesk4 - pipenv run molecule test -s servicedesk4
- step: - step:
name: product_install/servicedesk_latest name: product_install/servicedesk_latest
services: services:
@@ -288,7 +288,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_install - cd roles/product_install
- molecule test -s servicedesk_latest - pipenv run molecule test -s servicedesk_latest
- step: - step:
name: product_startup/bitbucket name: product_startup/bitbucket
services: services:
@@ -296,7 +296,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- molecule test -s bitbucket - pipenv run molecule test -s bitbucket
- step: - step:
name: product_startup/default name: product_startup/default
services: services:
@@ -304,7 +304,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: product_startup/synchrony name: product_startup/synchrony
services: services:
@@ -312,7 +312,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/product_startup - cd roles/product_startup
- molecule test -s synchrony - pipenv run molecule test -s synchrony
- step: - step:
name: restore_backups/default name: restore_backups/default
services: services:
@@ -320,7 +320,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/restore_backups - cd roles/restore_backups
- molecule test -s default - pipenv run molecule test -s default
- step: - step:
name: restore_backups/restore_conf_server name: restore_backups/restore_conf_server
services: services:
@@ -328,7 +328,7 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/restore_backups - cd roles/restore_backups
- molecule test -s restore_conf_server - pipenv run molecule test -s restore_conf_server
- step: - step:
name: restore_backups/restore_jira_clustered name: restore_backups/restore_jira_clustered
services: services:
@@ -336,5 +336,5 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/restore_backups - cd roles/restore_backups
- molecule test -s restore_jira_clustered - pipenv run molecule test -s restore_jira_clustered

View File

@@ -41,5 +41,5 @@ pipelines:
script: script:
- ./bin/install-ansible --dev - ./bin/install-ansible --dev
- cd roles/{{ spath.parts[2] }} - cd roles/{{ spath.parts[2] }}
- molecule test -s {{ spath.parts[4] }} - pipenv run molecule test -s {{ spath.parts[4] }}
{% endfor %} {% endfor %}