-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuing Work from #184: add retention command #364
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: ALTHAF <[email protected]>
Signed-off-by: ALTHAF <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
…nges-pr Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
rizul@rizu:~/OSS/harbor-cli$ ./harbor-cli tag retention create
INFO[0036] Added Tag Retention Rule rizul@rizu:~/OSS/harbor-cli$ ./harbor-cli tag retention list --project-name asdfghj
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ID Action Disabled Params Priority Scope Selectors Tag Selectors Template │
│ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│ 0 retain false latestPushedK: 2, 0 repository: [{repoMatches **}] &{matches {"untagged":true} **} latestPushedK │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ rizul@rizu:~/OSS/harbor-cli$ ./harbor-cli tag retention delete
INFO[0010] retention rule deleted successfully
INFO[0010] Retention Policy deleted successfully all 3 are happening smoothly |
BUG: Inconsistent behavior from Harbor API after deleting a retention policy.
This is error from harbor API side I think. |
Signed-off-by: Rizul Gupta <[email protected]>
this seems to be a problem with upstream Harbor. I suggest creating an issue there explaining the problem and referencing it here. |
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
@bupd the login is failing here also like i mentioned I am not able to login on website also |
Description
This PR continues the work started by @Althaf66 in #184.
Changes and Fixes:
Incorporating changes suggested by @bupd