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

View File

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