-
Notifications
You must be signed in to change notification settings - Fork 29
feat: added lifecycle_rules submodule #999
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
base: main
Are you sure you want to change the base?
Conversation
|
/run pipeline |
2 similar comments
|
/run pipeline |
|
/run pipeline |
| variable "object_versioning_enabled" { | ||
| description = "Whether to enable object versioning to keep multiple versions of an object in a bucket." | ||
| type = bool | ||
| default = false | ||
| } |
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.
This does not do this. In fact this is not used in the code anywhere. It is only used in cross variable validation.
This is not a pattern used anywhere in the TIM, AFAIK.
| output, err := options.RunTestConsistency() | ||
| assert.Nil(t, err, "This should not have errored") | ||
| assert.NotNil(t, output, "Expected some output") | ||
| } |
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.
PR tests cannot be overlooked for a whole module.
I think sufficient coverage would be to update the basic example to use the new module, the same way it validates the buckets module.
Extending the basic example would mean no need for any additional example code, or additional tests.
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.
Why are we not adding archive rule as well?
Description
Added a new
lifecycle_rulessubmodule which allows to add multiple expiry lifecycle rules to an existing cos buckethttps://github.ibm.com/GoldenEye/issues/issues/15834
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
This PR Adds a new
lifecycle_rulessubmodule which allows to add multiple expiry lifecycle rules to an existing cos bucketRun the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers