-
Notifications
You must be signed in to change notification settings - Fork 289
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
yunikorn-web/1.6.1 package update #40488
Conversation
octo-sts
bot
commented
Jan 24, 2025
Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation. To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify: e.g. /ai-verify partially helpful but I also added bash to the build environment Gen AI suggestions to solve the build error: Based on the build log, I'll analyze and provide specific fixes: • Detected Error: The build log shows successful dependency installation but fails during the build phase, suggesting a runtime execution error in the pipeline. • Error Category: Build Configuration • Failure Point: The pipeline step that runs • Root Cause Analysis: The build environment is set up correctly with all dependencies, but the Angular build process likely needs additional configuration for the production build. • Suggested Fix:
- runs: |
export NODE_OPTIONS="--max-old-space-size=4096"
mkdir -p ${{targets.contextdir}}/usr/share/yunikorn-web/html
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 pnpm i
pnpm build:prod
cp -r dist/yunikorn-web/* ${{targets.contextdir}}/usr/share/yunikorn-web/html
environment:
contents:
packages:
- node-gyp
- nodejs-18
- npm
- pnpm
- python3
environment:
PNPM_HOME: /tmp/.pnpm-store • Explanation: Angular production builds can be memory-intensive. Setting NODE_OPTIONS increases the available memory for the Node.js process. The PNPM_HOME configuration ensures proper dependency caching. • Additional Notes:
• References:
|
Signed-off-by: wolfi-bot <[email protected]>
Upstream require exactly pnpm 9 currently: https://github.com/apache/yunikorn-web/blob/7d48333c033f7c8c0a7ccd3ab4317f2d907133ba/package.json#L92
c064523
to
8f72898
Compare