-
Notifications
You must be signed in to change notification settings - Fork 243
[comp] Production Deploy #1232
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
Merged
[comp] Production Deploy #1232
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…onfiguration - Updated buildspec.yml to include steps for uploading static and public assets to S3, improving asset management and resolving chunk drift issues. - Added validation for the STATIC_ASSETS_BUCKET environment variable to ensure proper configuration. - Modified next.config.ts to set assetPrefix for production, enabling S3 usage for static assets. - Streamlined Docker build process by copying necessary files to a container-build directory, ensuring a cleaner and more efficient build.
[dev] [claudfuen] claudio/fix-file-upload
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…nt configuration - Modified Dockerfiles for both app and portal to copy all necessary files from the current directory, simplifying the build context. - Updated the CMD instruction to directly run the server.js file, removing the previous conditional checks for entry points, enhancing clarity and efficiency.
[dev] [claudfuen] claudio/fix-file-upload
- Updated buildspec.yml files to upload public assets directly to the S3 bucket root, improving asset management. - Added steps to copy standalone node_modules and ensure the availability of the Prisma client from both the monorepo root and app directory. - Enhanced next.config.ts to include production rewrites for redirecting public assets to S3, streamlining asset delivery. - Included debug statements to verify the contents of the container build directory, ensuring all necessary files are present.
[dev] [claudfuen] claudio/fix-file-upload
- Updated next.config.ts files for both app and portal to enhance the handling of static assets in production. - Replaced the previous single rewrite rule with individual rewrites for common static file types, improving clarity and maintainability of asset management.
[dev] [claudfuen] claudio/fix-file-upload
… in app and portal - Enhanced buildspec.yml files to clarify the upload process for Next.js static and public assets to S3, improving CDN performance. - Refactored next.config.ts files to remove outdated production rewrites for static assets, streamlining asset handling.
[dev] [claudfuen] claudio/fix-file-upload
…one verification - Updated buildspec.yml files to include detailed debug statements for verifying app-specific standalone builds. - Added steps to ensure the presence of server.js, .next directory, and node_modules in the container build. - Improved clarity in the build process by organizing commands and enhancing error handling for file operations.
…build verification - Updated buildspec.yml files to include additional debug statements for verifying the app's own .next build structure and server.js presence. - Refactored steps to copy the app's built files and standalone node_modules, ensuring a more robust container build process. - Improved error handling and clarity in the build process by organizing commands and enhancing feedback for file operations.
[dev] [claudfuen] claudio/fix-file-upload
…andalone server.js - Modified buildspec.yml files to check for app-specific server.js files in the .next/standalone/apps directory, enhancing the build process for individual applications. - Added conditional logic to handle both app-specific and global server.js files, improving flexibility and clarity in the build output.
[dev] [claudfuen] claudio/fix-file-upload
… for assetPrefix - Refactored next.config.ts files to replace the hardcoded S3 asset URL with a dynamic STATIC_ASSETS_URL environment variable for production, enhancing flexibility in asset management.
[dev] [claudfuen] claudio/fix-file-upload
…ng S3 upload - Modified buildspec.yml files to remove the --delete option from the AWS S3 sync command, ensuring that only .map files are excluded from uploads, enhancing the asset management process.
[dev] [claudfuen] claudio/fix-file-upload
Contributor
|
🎉 This PR is included in version 1.51.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.