Skip to content

Add unique machine identifier values to gitlab-runner

Scope

We should ensure that a gitlab-runner instance is associated with a new unique ID. This unique ID should live in a separate config TOML file so as to discourage having it being copied around with the config.toml. The system ID should be generated (if missing) whenever the configuration is loaded. Whenever we end up generating a new unique ID value, we should log that fact with the short token with INFO level.

When loadConfig() is executed, we'll want to run the check in case we need to save back the file with any missing unique_id values.

Background

  • Related discussion here

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by Pedro Pombeiro