traderepublic / Cilicon

🛠️ Self-Hosted ephemeral macOS CI on Apple Silicon
MIT License
950 stars 28 forks source link

Add run untagged registration attribute in GitLab Provisoner #18

Closed displayn closed 1 year ago

displayn commented 1 year ago

This adds an option to set or unset the GitLab Runner to run untagged jobs. [1] If set to false the Runner will not pick any untagged jobs.

Will close Issue #17 🎫

Setting runUntagged to true:

[...]
provisioner:
  type: gitlab
  config:
     [..]
     runUntagged: true
     tagList: "macos-ventura-cilicon"
with_runUntagged_true

Setting RunUntagged to false:

[...]
provisioner:
  type: gitlab
  config:
     [...]
     runUntagged: false
     tagList: "macos-ventura-cilicon"
wit_runUntagged_false

runUntagged is not optional inside the GitLab config block at the moment, happy to get feedback how to implement that.

[1] https://docs.gitlab.com/ee/api/runners.html#register-a-new-runner

Marcocanc commented 1 year ago

I will close this as we have temporarily dropped support for GitLab until someone contributes an updated provisioner