-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat(RELEASE-1158): introduce reduce-snapshot #552
Conversation
55fab62
to
066d49a
Compare
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.
I only reviewed the stepaction because the task is similar and I didn't want to write the same stuff twice
c43c0b9
to
63f613f
Compare
d78a246
to
54d4c62
Compare
39394fe
to
e33473f
Compare
34ec53b
to
0c2f22e
Compare
f460a98
to
3dc5e99
Compare
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.
The reduce-snapshot tests are a little confusing to me because every one applies a snapshot and creates a snapshot.json file. However, some tests do not use the CR, and some do not use the json. Can the setup part of the tests only create the json or the CR (whatever is used) and not the other?
tasks/reduce-snapshot/tests/test-reduce-snapshot-disabled-single-component-mode.yaml
Outdated
Show resolved
Hide resolved
tasks/reduce-snapshot/tests/test-reduce-snapshot-missing-resource.yaml
Outdated
Show resolved
Hide resolved
tasks/reduce-snapshot/tests/test-reduce-snapshot-no-namespace-parameter.yaml
Outdated
Show resolved
Hide resolved
tasks/reduce-snapshot/tests/test-reduce-snapshot-wrong-component.yaml
Outdated
Show resolved
Hide resolved
3dc5e99
to
0bc57bc
Compare
- This PR contains a new Task called reduce-snapshot - It is designed to reduce a Snapshot to a Single Component such that the Snapshot can be passed downstream to other tasks. - It uses a shared script from Enterprise Contract so that the ITS EC pipeline uses the same logic to reduce the snapshot. - A new step was added to the collect-data task, to provide data needed for the parameters of the reduce-snapshot task. - A new RPA data parameter called `singleComponentMode` is used to activate the feature. Signed-off-by: Scott Hebert <[email protected]>
0bc57bc
to
2bb5248
Compare
New changes are detected. LGTM label has been removed. |
/test release-pipelines-e2e-suite |
reduce-snapshot
such that the Snapshot can be passed downstream to other tasks.
ITS EC pipeline
uses the same logic to reduce the snapshot.collect-data
task, to providedata needed for the parameters of the
reduce-snapshot
task.singleComponentMode
is used toactivate the feature.