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-27350: Use trusted tasks #1742

Merged
merged 7 commits into from
Dec 20, 2024
Merged

Conversation

msugakov
Copy link
Contributor

@msugakov msugakov commented Dec 12, 2024

https://issues.redhat.com/browse/ROX-27480 is to follow up about moving fetch script.

Copy link

openshift-ci bot commented Dec 12, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@msugakov msugakov added the konflux-build Run Konflux in PR. Push commit to trigger it. label Dec 12, 2024
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
@msugakov msugakov force-pushed the misha/ROX-27350-use-trusted-tasks branch from cdbee6c to 6914faa Compare December 12, 2024 11:38
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 12, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
@msugakov msugakov force-pushed the misha/ROX-27350-use-trusted-tasks branch 2 times, most recently from 13e98e6 to fa545b5 Compare December 12, 2024 12:52
@msugakov
Copy link
Contributor Author

/retest

@msugakov
Copy link
Contributor Author

/retest scanner-on-push

@msugakov
Copy link
Contributor Author

/retest

@msugakov msugakov force-pushed the misha/ROX-27350-use-trusted-tasks branch from 789a5b8 to 494eae9 Compare December 13, 2024 09:07
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 13, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
@msugakov msugakov force-pushed the misha/ROX-27350-use-trusted-tasks branch from 494eae9 to 2dcfbd5 Compare December 13, 2024 11:00
@msugakov
Copy link
Contributor Author

/retest scanner-slim-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 13, 2024
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 17, 2024
This is paired with stackrox/scanner#1742

The idea is to unify determine-image-tag tasks for scanner and
collector after that.
msugakov added a commit to stackrox/konflux-tasks that referenced this pull request Dec 17, 2024
and add notes to later unify with the StackRox one.

Scanner can be unified with Collector thanks to
stackrox/scanner#1742

It could be that the ultimate unification will come in
https://issues.redhat.com/browse/ROX-26026 but I created a new task
anyway.
in order to match the setup in other repositories and to be able
to re-use shared tasks.
@msugakov
Copy link
Contributor Author

/retest scanner-db-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 17, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-db-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 18, 2024
@stackrox stackrox deleted a comment from openshift-ci bot Dec 18, 2024
@msugakov msugakov force-pushed the misha/ROX-27350-use-trusted-tasks branch from 93df9a1 to af2a4dc Compare December 18, 2024 13:26
@msugakov msugakov added the backport-for-4.6-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1730134914487439 label Dec 18, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-on-push

@msugakov
Copy link
Contributor Author

/retest scanner-slim-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-slim-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@msugakov
Copy link
Contributor Author

/retest scanner-slim-on-push

@stackrox stackrox deleted a comment from openshift-ci bot Dec 19, 2024
@msugakov msugakov marked this pull request as ready for review December 19, 2024 20:07
@msugakov msugakov requested a review from a team as a code owner December 19, 2024 20:07
Copy link

openshift-ci bot commented Dec 19, 2024

@msugakov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-tests af2a4dc link false /test e2e-tests
ci/prow/slim-e2e-tests af2a4dc link false /test slim-e2e-tests

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor

@tommartensen tommartensen left a comment

Choose a reason for hiding this comment

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

LGTM with one thought for the future.

@@ -16,19 +16,19 @@ ENV CI=1
COPY . /src
WORKDIR /src

RUN scripts/konflux/fail-build-if-git-is-dirty.sh
RUN .konflux/scripts/fail-build-if-git-is-dirty.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

We have this script in three different repositories. Can we run it as a separate task before build-container?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea to remove it from repos. Eventually this script only needed in determine-image-tag task.

I created https://issues.redhat.com/browse/ROX-27488

@msugakov msugakov merged commit d708dd3 into master Dec 20, 2024
31 of 43 checks passed
@msugakov msugakov deleted the misha/ROX-27350-use-trusted-tasks branch December 20, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-for-4.6-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1730134914487439 konflux-build Run Konflux in PR. Push commit to trigger it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants