You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried yaml syntax, python syntax, even writing the data in a file and reading it back with @/tmp/filename.
Each of my attempts resulted in 'Impossible to update object (400: container_expiration_policy_attributes is invalid)'
Does anyone know the correct syntax to set the policy attributes per CLI ?
It was easy to do with the gitlab python module, but I'm sure that I could accomplish the same with the CLI.
@KarHo17 I think that's a hash type and unfortunately we don't formally support hash types in the CLI yet, we need to add some parsing there. Could you please subscribe to this issue for progress on that? #1735
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to figure out the syntax for the gitlab cli to set the container expiration policy attributes for my projects.
gitlab project update --id <ID> --container-expiration-policy-attributes CONTAINER_EXPIRATION_POLICY_ATTRIBUTES.
I've tried yaml syntax, python syntax, even writing the data in a file and reading it back with @/tmp/filename.
Each of my attempts resulted in 'Impossible to update object (400: container_expiration_policy_attributes is invalid)'
Does anyone know the correct syntax to set the policy attributes per CLI ?
It was easy to do with the gitlab python module, but I'm sure that I could accomplish the same with the CLI.
All reactions