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-20235: build collector-full on Konflux #1441

Merged
merged 124 commits into from
Feb 16, 2024
Merged

Conversation

tommartensen
Copy link
Contributor

@tommartensen tommartensen commented Nov 21, 2023

Description

This PR adds the collector-full builds to Konflux.
The difference to collector-slim builds is addition of kernel modules downloaded from support packages and from the driver-builds image.

Planned follow-ups:

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

I tested the new image in the collector integration tests.
StackRox E2E tests were validated in stackrox/stackrox#9614.

tommartensen and others added 30 commits October 16, 2023 10:34
Co-authored-by: red-hat-trusted-app-pipeline <[email protected]>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
Co-authored-by: red-hat-trusted-app-pipeline <123456+red-hat-trusted-app-pipeline[bot]@users.noreply.github.com>
.tekton/collector-pull-request.yaml Show resolved Hide resolved
collector/container/konflux.Dockerfile Show resolved Hide resolved
.tekton/collector-pull-request.yaml Outdated Show resolved Hide resolved
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.

This might be the final comment from me.

.tekton/collector-pull-request.yaml Outdated Show resolved Hide resolved
collector/container/scripts/download-support-package.sh Outdated Show resolved Hide resolved
.tekton/collector-pull-request.yaml Outdated Show resolved Hide resolved
.tekton/collector-push.yaml Outdated Show resolved Hide resolved
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.

Ah, sorry, I did not realize MODULE_VERSION file is also a dependency of the script. LGTM.

"$(workspaces.source.path)/source"
"$(workspaces.source.path)/source/collector/container/scripts/download-support-package.sh" \
"$(workspaces.source.path)/source/staging" \
"$(cat $(workspaces.source.path)/source/kernel-modules/MODULE_VERSION)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Cosmetics:

Suggested change
"$(cat $(workspaces.source.path)/source/kernel-modules/MODULE_VERSION)"
"$(cat "$(workspaces.source.path)/source/kernel-modules/MODULE_VERSION")"

"$(workspaces.source.path)/source"
"$(workspaces.source.path)/source/collector/container/scripts/download-support-package.sh" \
"$(workspaces.source.path)/source/staging" \
"$(cat $(workspaces.source.path)/source/kernel-modules/MODULE_VERSION)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"$(cat $(workspaces.source.path)/source/kernel-modules/MODULE_VERSION)"
"$(cat "$(workspaces.source.path)/source/kernel-modules/MODULE_VERSION")"

@tommartensen tommartensen merged commit f4b8812 into master Feb 16, 2024
50 of 51 checks passed
@tommartensen tommartensen deleted the tm/rhtap-full-collector branch February 16, 2024 11:42
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.

3 participants