Skip to content

Expose `CI_CONCURRENT_(PROJECT)_ID`

Kamil Trzciński requested to merge expose-concurrent-id into master

What does this MR do?

This adds support for two new runner variables:

  • CI_CONCURRENT_ID a unique monotic ID of job running in context of given runner (token).
  • CI_CONCURRENT_PROJECT_ID a unique monotic ID of job running in context of given runner (token) and project,

This is helpful to configure CI_PROJECT_ID with own unique path to be used on shared environment.

Why was this MR needed?

Make CI_PROJECT_DIR flexible enough to increase concurrency when using on shared environment.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

not yet?

Merge request reports