-
Notifications
You must be signed in to change notification settings - Fork 327
runner install
profile fixes & improvement
#3755
Conversation
3cf43b1
to
a5c0d5d
Compare
Edit: I am now realizing this is not related to your PR, exactly, so lmk if I should open an issue or we can discuss separately!
Also, why does that OCI URL list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic, and working well for me!
It is indeed
This is because of the package we're using to parse the repository name for the Docker image supplied to Kubernetes for runner install, odrImageRef, err := dockerparser.Parse(odrImage) |
… runner profile as default. Also fix the config to include the ID in the name of the profile again.
This commit updates the OnDemandRunnerConfig interface to accept no arguments once again. The runner install CLI appends the ID of the runner to the profile name after this config is retrieved. Also, if target labels for the runner profile are specified (not possible yet), then the profile uses target labels instead of a target ID.
…on runner install.
6ac0d66
to
031f4b7
Compare
Ah, just realized the docs need to be updated now! https://www.waypointproject.io/docs/runner/profiles#viewing-runner-profiles |
b298d57
to
6af5d46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve!
[ ] Fix the ODR config for profiles created during
runner install
to not set the new profile as the default[ ] Fix the ODR config for profiles created during
runner install
to include the runner ID in the profile name[ ] Modify behavior of
runner install
to set target labels instead of target ID on the runner profile if the user provided one or more-label
flags after--
duringrunner install
. Example below :