[WIP] nextjs build-app.sh #953

Draft
VPhung24 wants to merge 5 commits from snowball/stack-orchestrator:nextjs into main
Owner

Let's update this script to

  • CERC_NEXT_VERSION: app's next dep version
  • CERC_DEFAULT_WEBPACK_VER && CERC_WEBPACK_VERSION: app's webpack dep version if exists otherwise depends on next version's webpack peer dep (needs update)
  • Remove adding pwa config unnecessarily: concat just the webpack config needed for setting env vars based on env to the existing nextjs configs
  • Add webpack import/require if needed to the nextjs.config file
  • Update compile and generate commands for versions that do not support next experimental-compile <or command based on next version> (<13.4.2) [note: needs testing]
  • Use projects build command and replace next build with experimental compile command based on next version if necessarily
Let's update this script to - `CERC_NEXT_VERSION`: app's `next` dep version - `CERC_DEFAULT_WEBPACK_VER` && `CERC_WEBPACK_VERSION`: app's `webpack` dep version if exists otherwise depends on `next` version's `webpack` peer dep (needs update) - Remove adding pwa config unnecessarily: concat just the webpack config needed for setting env vars based on env to the existing `nextjs` configs - Add `webpack` import/require if needed to the `nextjs.config` file - Update `compile` and `generate` commands for versions that do not support `next experimental-compile <or command based on `next` version>` (`<13.4.2`) [note: needs testing] - Use projects `build` command and replace `next build` with experimental compile command based on `next` version if necessarily
VPhung24 added 1 commit 2024-10-14 16:42:25 +00:00
nextjs build-app updates
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 34s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m35s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 6m32s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m54s
Smoke Test / Run basic test suite (pull_request) Successful in 4m8s
333a3eea02
VPhung24 added 1 commit 2024-10-15 19:53:58 +00:00
webpack based on app next version
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 32s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m18s
Webapp Test / Run webapp test suite (pull_request) Successful in 6m1s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m18s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m13s
Smoke Test / Run basic test suite (pull_request) Successful in 4m17s
fcf2584a3a
VPhung24 added 1 commit 2024-10-16 18:50:58 +00:00
nextjs-snowball
Some checks failed
Deploy Test / Run deploy test suite (pull_request) Failing after 33s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 34s
Lint Checks / Run linter (pull_request) Successful in 37s
Smoke Test / Run basic test suite (pull_request) Failing after 37s
Webapp Test / Run webapp test suite (pull_request) Failing after 39s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 40s
f982b7fd33
VPhung24 added 2 commits 2024-10-16 18:56:06 +00:00
app type webapp/snowball/nextjs
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 33s
Deploy Test / Run deploy test suite (pull_request) Failing after 33s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 33s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 29s
Webapp Test / Run webapp test suite (pull_request) Failing after 30s
Smoke Test / Run basic test suite (pull_request) Failing after 29s
69f558ecaa
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 33s
Deploy Test / Run deploy test suite (pull_request) Failing after 33s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 33s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 29s
Webapp Test / Run webapp test suite (pull_request) Failing after 30s
Smoke Test / Run basic test suite (pull_request) Failing after 29s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u nextjs:snowball-nextjs
git checkout snowball-nextjs
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#953
No description provided.