DCD-1205: Shorten the batch names.

This commit is contained in:
Steve
2021-01-20 12:09:18 +11:00
parent 5b7d4382af
commit ad661add8f
2 changed files with 39 additions and 40 deletions

View File

@@ -32,7 +32,7 @@ pipelines:
fi fi
- parallel: - parallel:
- step: - step:
name: Molecule Test Batch - aws_common/cw-disabled name: aws_common/cw-disabled
services: services:
- docker - docker
script: script:
@@ -40,7 +40,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 1 - ./bin/run-tests-in-batches --batch 1
- step: - step:
name: Molecule Test Batch - aws_common/default name: aws_common/default
services: services:
- docker - docker
script: script:
@@ -48,7 +48,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 2 - ./bin/run-tests-in-batches --batch 2
- step: - step:
name: Molecule Test Batch - aws_common/logs-disabled name: aws_common/logs-disabled
services: services:
- docker - docker
script: script:
@@ -56,7 +56,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 3 - ./bin/run-tests-in-batches --batch 3
- step: - step:
name: Molecule Test Batch - bitbucket_config/default name: bitbucket_config/default
services: services:
- docker - docker
script: script:
@@ -64,7 +64,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 4 - ./bin/run-tests-in-batches --batch 4
- step: - step:
name: Molecule Test Batch - confluence_config/aurora name: confluence_config/aurora
services: services:
- docker - docker
script: script:
@@ -72,7 +72,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 5 - ./bin/run-tests-in-batches --batch 5
- step: - step:
name: Molecule Test Batch - confluence_config/default name: confluence_config/default
services: services:
- docker - docker
script: script:
@@ -80,7 +80,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 6 - ./bin/run-tests-in-batches --batch 6
- step: - step:
name: Molecule Test Batch - confluence_config/password_char_escaping name: confluence_config/password_char_escaping
services: services:
- docker - docker
script: script:
@@ -88,7 +88,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 7 - ./bin/run-tests-in-batches --batch 7
- step: - step:
name: Molecule Test Batch - confluence_config/system_jdk name: confluence_config/system_jdk
services: services:
- docker - docker
script: script:
@@ -96,7 +96,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 8 - ./bin/run-tests-in-batches --batch 8
- step: - step:
name: Molecule Test Batch - create_backups/default name: create_backups/default
services: services:
- docker - docker
script: script:
@@ -104,7 +104,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 9 - ./bin/run-tests-in-batches --batch 9
- step: - step:
name: Molecule Test Batch - diy_backup/default name: diy_backup/default
services: services:
- docker - docker
script: script:
@@ -112,7 +112,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 10 - ./bin/run-tests-in-batches --batch 10
- step: - step:
name: Molecule Test Batch - jira_config/aurora name: jira_config/aurora
services: services:
- docker - docker
script: script:
@@ -120,7 +120,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 11 - ./bin/run-tests-in-batches --batch 11
- step: - step:
name: Molecule Test Batch - jira_config/default name: jira_config/default
services: services:
- docker - docker
script: script:
@@ -128,7 +128,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 12 - ./bin/run-tests-in-batches --batch 12
- step: - step:
name: Molecule Test Batch - jira_config/jira_config_props name: jira_config/jira_config_props
services: services:
- docker - docker
script: script:
@@ -136,7 +136,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 13 - ./bin/run-tests-in-batches --batch 13
- step: - step:
name: Molecule Test Batch - jira_config/password_char_escaping name: jira_config/password_char_escaping
services: services:
- docker - docker
script: script:
@@ -144,7 +144,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 14 - ./bin/run-tests-in-batches --batch 14
- step: - step:
name: Molecule Test Batch - linux_common/default name: linux_common/default
services: services:
- docker - docker
script: script:
@@ -152,7 +152,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 15 - ./bin/run-tests-in-batches --batch 15
- step: - step:
name: Molecule Test Batch - product_common/default name: product_common/default
services: services:
- docker - docker
script: script:
@@ -160,7 +160,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 16 - ./bin/run-tests-in-batches --batch 16
- step: - step:
name: Molecule Test Batch - product_common/system_jdk name: product_common/system_jdk
services: services:
- docker - docker
script: script:
@@ -168,7 +168,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 17 - ./bin/run-tests-in-batches --batch 17
- step: - step:
name: Molecule Test Batch - product_install/bitbucket_latest name: product_install/bitbucket_latest
services: services:
- docker - docker
script: script:
@@ -176,7 +176,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 18 - ./bin/run-tests-in-batches --batch 18
- step: - step:
name: Molecule Test Batch - product_install/confluence_latest name: product_install/confluence_latest
services: services:
- docker - docker
script: script:
@@ -184,7 +184,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 19 - ./bin/run-tests-in-batches --batch 19
- step: - step:
name: Molecule Test Batch - product_install/crowd_latest name: product_install/crowd_latest
services: services:
- docker - docker
script: script:
@@ -192,7 +192,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 20 - ./bin/run-tests-in-batches --batch 20
- step: - step:
name: Molecule Test Batch - product_install/default name: product_install/default
services: services:
- docker - docker
script: script:
@@ -200,7 +200,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 21 - ./bin/run-tests-in-batches --batch 21
- step: - step:
name: Molecule Test Batch - product_install/jira_all name: product_install/jira_all
services: services:
- docker - docker
script: script:
@@ -208,7 +208,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 22 - ./bin/run-tests-in-batches --batch 22
- step: - step:
name: Molecule Test Batch - product_install/jira_cached_with_downgrade name: product_install/jira_cached_with_downgrade
services: services:
- docker - docker
script: script:
@@ -216,7 +216,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 23 - ./bin/run-tests-in-batches --batch 23
- step: - step:
name: Molecule Test Batch - product_install/jira_cached_with_upgrade name: product_install/jira_cached_with_upgrade
services: services:
- docker - docker
script: script:
@@ -224,7 +224,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 24 - ./bin/run-tests-in-batches --batch 24
- step: - step:
name: Molecule Test Batch - product_install/jira_software_latest name: product_install/jira_software_latest
services: services:
- docker - docker
script: script:
@@ -232,7 +232,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 25 - ./bin/run-tests-in-batches --batch 25
- step: - step:
name: Molecule Test Batch - product_install/jira_tarball name: product_install/jira_tarball
services: services:
- docker - docker
script: script:
@@ -240,7 +240,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 26 - ./bin/run-tests-in-batches --batch 26
- step: - step:
name: Molecule Test Batch - product_install/jira_version_from_file name: product_install/jira_version_from_file
services: services:
- docker - docker
script: script:
@@ -248,7 +248,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 27 - ./bin/run-tests-in-batches --batch 27
- step: - step:
name: Molecule Test Batch - product_install/jira_version_latest name: product_install/jira_version_latest
services: services:
- docker - docker
script: script:
@@ -256,7 +256,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 28 - ./bin/run-tests-in-batches --batch 28
- step: - step:
name: Molecule Test Batch - product_install/jira_version_override name: product_install/jira_version_override
services: services:
- docker - docker
script: script:
@@ -264,7 +264,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 29 - ./bin/run-tests-in-batches --batch 29
- step: - step:
name: Molecule Test Batch - product_install/servicedesk3 name: product_install/servicedesk3
services: services:
- docker - docker
script: script:
@@ -272,7 +272,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 30 - ./bin/run-tests-in-batches --batch 30
- step: - step:
name: Molecule Test Batch - product_install/servicedesk4 name: product_install/servicedesk4
services: services:
- docker - docker
script: script:
@@ -280,7 +280,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 31 - ./bin/run-tests-in-batches --batch 31
- step: - step:
name: Molecule Test Batch - product_install/servicedesk_latest name: product_install/servicedesk_latest
services: services:
- docker - docker
script: script:
@@ -288,7 +288,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 32 - ./bin/run-tests-in-batches --batch 32
- step: - step:
name: Molecule Test Batch - product_startup/bitbucket name: product_startup/bitbucket
services: services:
- docker - docker
script: script:
@@ -296,7 +296,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 33 - ./bin/run-tests-in-batches --batch 33
- step: - step:
name: Molecule Test Batch - product_startup/default name: product_startup/default
services: services:
- docker - docker
script: script:
@@ -304,7 +304,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 34 - ./bin/run-tests-in-batches --batch 34
- step: - step:
name: Molecule Test Batch - product_startup/synchrony name: product_startup/synchrony
services: services:
- docker - docker
script: script:
@@ -312,7 +312,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 35 - ./bin/run-tests-in-batches --batch 35
- step: - step:
name: Molecule Test Batch - restore_backups/default name: restore_backups/default
services: services:
- docker - docker
script: script:
@@ -320,7 +320,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 36 - ./bin/run-tests-in-batches --batch 36
- step: - step:
name: Molecule Test Batch - restore_backups/restore_conf_server name: restore_backups/restore_conf_server
services: services:
- docker - docker
script: script:
@@ -328,7 +328,7 @@ pipelines:
- ./bin/run-tests-in-batches --batch 37 - ./bin/run-tests-in-batches --batch 37
- step: - step:
name: Molecule Test Batch - restore_backups/restore_jira_clustered name: restore_backups/restore_jira_clustered
services: services:
- docker - docker
script: script:

View File

@@ -15,8 +15,7 @@ class Pipeline:
print(generated_output) print(generated_output)
def _build_steps(self): def _build_steps(self):
return [Step(f"Molecule Test Batch - {scenario_name}", return [Step(scenario_name, self._build_script_commands(index))
self._build_script_commands(index))
for index, (scenario_rel_path, scenario_name) in for index, (scenario_rel_path, scenario_name) in
enumerate(self._find_all_scenarios(), 1)] enumerate(self._find_all_scenarios(), 1)]