Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What's the syntax for CONTAINER_EXPIRATION_POLICY_ATTRIBUTES ?#2284

KarHo17 started this conversation inGeneral
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

@KarHo17 I think that's a hash type and unfortunately we don't formally supporthash types in the CLI yet, we need to add some parsing there. Could you please subscribe to this issue for progress on that?#1735

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@KarHo17@nejch

[8]ページ先頭

©2009-2025 Movatter.jp