-
Notifications
You must be signed in to change notification settings - Fork 48
Remove OUTPUT_DIR from tekton #4601
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
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR removes the OUTPUT_DIR build-arg from Tekton pipelines (replacing it with APP_BUILD_DIR) to preserve the default caddyfile directory and synchronizes Node.js/NPM version requirements across package.json, CI workflows, and build scripts. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary of ChangesHello @dlabrecq, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request streamlines the build process for the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
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.
Code Review
This pull request removes the OUTPUT_DIR build argument from the Tekton pipeline configurations for koku-ui-hccm and koku-ui-ros. This change is intended to fix an issue where the explicit OUTPUT_DIR was overriding the Caddy server's default directory (/dist), causing problems with serving the application. The changes are consistent across the pull request and push pipelines for both applications and appear to be a correct fix for the described problem. The changes look good and I have no further suggestions.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4601 +/- ##
=======================================
Coverage 88.82% 88.82%
=======================================
Files 480 480
Lines 9075 9075
Branches 2198 2198
=======================================
Hits 8061 8061
+ Misses 954 953 -1
- Partials 60 61 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
84bcbd5 to
d891132
Compare
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.
Hey there - I've reviewed your changes - here's some feedback:
- Verify that your Dockerfiles or shared builder scripts have been updated to consume the new APP_BUILD_DIR build-arg and that there are no leftover references to OUTPUT_DIR.
- Ensure that the Node/NPM versions defined in package.json engines are actually installed in both GitHub Actions and Tekton (so builds remain consistent across environments).
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Verify that your Dockerfiles or shared builder scripts have been updated to consume the new APP_BUILD_DIR build-arg and that there are no leftover references to OUTPUT_DIR.
- Ensure that the Node/NPM versions defined in package.json engines are actually installed in both GitHub Actions and Tekton (so builds remain consistent across environments).Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
The caddyfile default (/dist) is being overriden by the OUTPUT_DIR param in tekton
Summary by Sourcery
Upgrade Node.js and npm versions across the project and CI, adjust build scripts accordingly, and eliminate the OUTPUT_DIR Tekton build argument in favor of APP_BUILD_DIR to preserve the default output directory.
Enhancements:
Build:
CI:
Deployment: