-
Notifications
You must be signed in to change notification settings - Fork 594
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 (url-logger) Implement logic for a selection classifier #4411
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think we need these changes for other steps, since the url log is only needed for build related steps.
if we implement it for other steps it may overwrite the existing url-log.json . i would restrict it to only npmExecuteScripts, mavenBuild, golangBuild, pythonBuild, kanikoExecute, helmExecute, gradleBuild, mtaBuild
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge this on Monday.
Moved Maven fix to another PR: #4421.
/it-go |
Kudos, SonarCloud Quality Gate passed! |
* forcing the urls finder to relaxed * adding a classifier map * passing the stepName to the kaniko command executor bundle * pass stepName to maven utils for mavenBuild * improve enabling of Maven access log generation * Revert "improve enabling of Maven access log generation" This reverts commit 80b7722. * Revert "pass stepName to maven utils for mavenBuild" This reverts commit a4f99ae. * use reflection to update command stepName for mavenBuild * Revert "use reflection to update command stepName for mavenBuild" This reverts commit ef85c78. --------- Co-authored-by: I557621 <[email protected]> Co-authored-by: Jordi van Liempt <[email protected]>
Changes
Fixes the access log (
url-log.json
) generation for golangBuild and kanikoExecute. For golangBuild, a selection classifier is added to make the URL detection less strict so that URLs without a protocol are also considered.