.circleci/config.yml
raw| 1 | version: 2 |
| 2 | |
| 3 | jobs: |
| 4 | build: |
| 5 | machine: |
| 6 | enabled: true |
| 7 | docker_layer_caching: true |
| 8 | environment: |
| 9 | - PARALLELISM: 4 # Input to influxdb/build.py |
| 10 | parallelism: 5 # How many CircleCI test containers |
| 11 | steps: |
| 12 | - checkout |
| 13 | - run: |
| 14 | name: Ensure CircleCI parallelism matches "./test.sh count" |
| 15 | command: "[ `./test.sh count` -eq $CIRCLE_NODE_TOTAL ]" |
| 16 | - run: |
| 17 | name: Execute test |
| 18 | command: ./test.sh $CIRCLE_NODE_INDEX |
| 19 | no_output_timeout: 1500s |