Request track for guardrails

Hi folks!

I’d like to request guardrails for charms owned by the Kubeflow team (lp: ~kubeflow-charmers).

We follow a ckf-major.minor format (e.g. ckf-1.8), so we need ckf-\d\.\d+ guardrails for:

  • mlmd

Thanks!

Hi!

The guardrail has been added for the mlmd package.

Best regards, Milos

1 Like

Thanks @miloslu !

@dnplas , hi!

Are you sure ckf-\d\.\d+ is the right regexp for you? I see currently you have tracks like 1.14 and 1.0 which don’t match this pattern.

Hi @miloslu - I think there was an error in the guardrail:

{"error-list":[{"code":"invalid-tracks","extra":{"name":"ckf-1.9","package-id":"CeYeQZ1pzcBof8NsvF4ZlhPAPtyu6vNJ","package-type":"charm","track-guardrails":["cfk-\\d\\.\\d+"]},"message":"Invalid track name: ckf-1.9"}]}

There is a typo in it :stuck_out_tongue: it should be ckf not cfk.

Hi @drednout yes, we have two patters, one is ckf-* and the other is like 1.40. Thanks for confirming!

@dnplas I added the correct guardrail, sorry for the typo.

Best regards, Milos

1 Like

Perfect! This works! Thanks.