Skip to content

Add support for GitLab CI env vars CI_NODE_TOTAL and CI_NODE_INDEX#73

Merged
ArturT merged 3 commits intomasterfrom
gitlab-ci
Nov 15, 2018
Merged

Add support for GitLab CI env vars CI_NODE_TOTAL and CI_NODE_INDEX#73
ArturT merged 3 commits intomasterfrom
gitlab-ci

Conversation

@ArturT
Copy link
Copy Markdown
Member

@ArturT ArturT commented Nov 15, 2018

Since GitLab 11.5, you can define parallel: x (2 to 50) to a job and have it
run in multiple workers. You no longer need to define all of them
nor define any environmental variable manually.

You can read more from the documentation here:
https://docs.gitlab.com/ee/ci/yaml/#parallel

You can read about pre-defined ENV variables in GitLab CI here:
https://docs.gitlab.com/ee/ci/variables/README.html#predefined-variables-environment-variables

Related: KnapsackPro/knapsack#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant