Skip to content
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

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

scoheb
Copy link
Collaborator

@scoheb scoheb commented Sep 12, 2024

  • 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.

@scoheb scoheb requested a review from a team as a code owner September 12, 2024 03:14
@scoheb scoheb force-pushed the RELEASE-1158 branch 2 times, most recently from 55fab62 to 066d49a Compare September 12, 2024 03:25
Copy link
Collaborator

@johnbieren johnbieren left a 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

stepactions/README.md Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/README.md Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
stepactions/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
@scoheb scoheb force-pushed the RELEASE-1158 branch 4 times, most recently from c43c0b9 to 63f613f Compare September 12, 2024 16:02
@scoheb scoheb force-pushed the RELEASE-1158 branch 2 times, most recently from d78a246 to 54d4c62 Compare September 12, 2024 19:22
tasks/reduce-snapshot/reduce-snapshot.yaml Outdated Show resolved Hide resolved
tasks/reduce-snapshot/README.md Outdated Show resolved Hide resolved
@scoheb scoheb force-pushed the RELEASE-1158 branch 2 times, most recently from 39394fe to e33473f Compare September 12, 2024 20:10
@scoheb scoheb marked this pull request as draft September 17, 2024 02:01
@scoheb scoheb force-pushed the RELEASE-1158 branch 8 times, most recently from 34ec53b to 0c2f22e Compare September 18, 2024 20:27
@scoheb scoheb marked this pull request as ready for review September 18, 2024 20:29
@scoheb scoheb requested a review from mmalina September 18, 2024 20:29
@scoheb scoheb force-pushed the RELEASE-1158 branch 4 times, most recently from f460a98 to 3dc5e99 Compare September 19, 2024 00:50
Copy link
Collaborator

@johnbieren johnbieren left a 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/reduce-snapshot.yaml Outdated Show resolved Hide resolved
tasks/reduce-snapshot/reduce-snapshot.yaml Show resolved Hide resolved
tasks/collect-data/collect-data.yaml Show resolved Hide resolved
tasks/collect-data/collect-data.yaml Outdated Show resolved Hide resolved
tasks/reduce-snapshot/README.md Outdated Show resolved Hide resolved
- 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]>
Copy link

openshift-ci bot commented Sep 20, 2024

New changes are detected. LGTM label has been removed.

@scoheb
Copy link
Collaborator Author

scoheb commented Sep 20, 2024

/test release-pipelines-e2e-suite

@scoheb scoheb merged commit 293ec13 into konflux-ci:development Sep 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants