parallel

Run a job multiple times in parallel.

Supported: number, matrix

Examples

Run N times in parallel

job:
  script: echo "job $CI_NODE_INDEX of $CI_NODE_TOTAL"
  parallel: 5

Matrix of variable combinations

job:
  script: echo "deploying to $PROVIDER on $STACK"
  parallel:
    matrix:
      - PROVIDER: aws
        STACK:
          - app1
          - app2
      - PROVIDER: gcp
        STACK:
          - app1