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

ROX-26528: add rpms-signature-scan task to pipeline #1893

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

tommartensen
Copy link
Contributor

@tommartensen tommartensen commented Oct 14, 2024

Description

Add new required task to pipeline.

The task should run after the build-container task and assign its IMAGE_URL and IMAGE_DIGEST results to the tasks parameters.

Checklist

  • Investigated and inspected CI test results
  • [ ] Updated documentation accordingly

Automated testing

  • [ ] Added unit tests
  • [ ] Added integration tests
  • [ ] Added regression tests

If any of these don't apply, please comment below.

Testing Performed

No new tests required. Konflux CI pipeline passes.

Copy link
Contributor

@msugakov msugakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit and CI succeeded.

UI however is wonderfully broken for this run and I only see No logs found. for every task.

image

I don't want to block the review on this as we can address issues in subsequent PRs.

Comment on lines 568 to 572
params:
- name: image-digest
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] The indentation looks too off here compared to other tasks.

@tommartensen
Copy link
Contributor Author

Looks legit and CI succeeded.
UI however is wonderfully broken for this run and I only see No logs found. for every task.

There were no warnings or errors reported by the scan when I looked at the results.

@tommartensen
Copy link
Contributor Author

This is the output for the task (from the second commit in this PR). The task iterates through all architectures found in the index image to check for the presence of unsigned RPMs.

collector-build-9pcrc-rpms-signature-scan.log

@tommartensen tommartensen merged commit 68c1d36 into master Oct 15, 2024
66 of 67 checks passed
@tommartensen tommartensen deleted the tm/ROX-26528-add-rpms-signature-scan-task branch October 15, 2024 08:51
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.

2 participants