diff --git a/testground/benchmark/compositions/docker-compose.yml b/testground/benchmark/compositions/docker-compose.yml index 1ab74135d8..9a6fd8eb40 100644 --- a/testground/benchmark/compositions/docker-compose.yml +++ b/testground/benchmark/compositions/docker-compose.yml @@ -1,9 +1,36 @@ version: '3' services: - testplan: - image: ghcr.io/crypto-org-chain/cronos-testground:latest - command: stateless-testcase run /data "${VALIDATORS}" - volumes: - - benchmark-volume:/data - deploy: - replicas: 10 + testplan-0: + extends: + file: template.yml + service: testplan-template + environment: + JOB_COMPLETION_INDEX: 0 + + testplan-1: + extends: + file: template.yml + service: testplan-template + environment: + JOB_COMPLETION_INDEX: 1 + + testplan-2: + extends: + file: template.yml + service: testplan-template + environment: + JOB_COMPLETION_INDEX: 2 + + testplan-3: + extends: + file: template.yml + service: testplan-template + environment: + JOB_COMPLETION_INDEX: 3 + + testplan-4: + extends: + file: template.yml + service: testplan-template + environment: + JOB_COMPLETION_INDEX: 4 diff --git a/testground/benchmark/compositions/template.yml b/testground/benchmark/compositions/template.yml new file mode 100644 index 0000000000..57ede019c3 --- /dev/null +++ b/testground/benchmark/compositions/template.yml @@ -0,0 +1,8 @@ +version: '3' +services: + testplan-template: + image: ghcr.io/crypto-org-chain/cronos-testground:latest + command: stateless-testcase run /data "${VALIDATORS}" + volumes: + - ${DATADIR:-"/tmp/data/out"}:/data + - /tmp:/tmp