Skip to content

ROX-28568: Add required tasks sast-shell-check and sast-unicode-check to Konflux pipelines #2115

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tommartensen
Copy link
Contributor

@tommartensen tommartensen commented May 7, 2025

Description

Adds two more required tasks to the Konflux pipelines.

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

See description of stackrox/scanner#1881 for validation. Note that EC may display erroneous results for required task presences.

@tommartensen tommartensen self-assigned this May 7, 2025
@codecov-commenter
Copy link

codecov-commenter commented May 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.52%. Comparing base (b3acca9) to head (836e99c).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2115   +/-   ##
=======================================
  Coverage   28.52%   28.52%           
=======================================
  Files          94       94           
  Lines        5757     5757           
  Branches     2547     2547           
=======================================
  Hits         1642     1642           
  Misses       3393     3393           
  Partials      722      722           
Flag Coverage Δ
collector-unit-tests 28.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tommartensen
Copy link
Contributor Author

/retest

1 similar comment
@tommartensen
Copy link
Contributor Author

/retest

@tommartensen tommartensen force-pushed the tm/ROX-28568-sast-shell-and-unicode-tasks-konflux branch from 64a23dd to 836e99c Compare May 8, 2025 08:55
@tommartensen
Copy link
Contributor Author

/test collector-on-push

@tommartensen tommartensen marked this pull request as ready for review May 12, 2025 13:06
@tommartensen tommartensen requested a review from a team as a code owner May 12, 2025 13:06
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @tommartensen - I've reviewed your changes - here's some feedback:

  • Consider adding explicit runAfter fields for the new tasks to make the execution order clear rather than relying solely on implicit data dependencies.
  • DRY up the repeated param definitions (image-digest, image-url, SOURCE_ARTIFACT, CACHI2_ARTIFACT) by using YAML anchors or promoting them to pipeline-level params.
  • Ensure these tasks are included in any pipeline-required-tasks metadata or enforcement logic so they actually get flagged as required in the UI/CLI.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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