mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
Handle and document potential memory limit issues
* Increase node memory limit * Add note to docs that you may need to increase container memory thresholds imposed by docker-for-mac and similar tools if you're using them
This commit is contained in:
2
Makefile
2
Makefile
@@ -387,7 +387,7 @@ clean-ui:
|
|||||||
rm -rf $(UI_BUILD_FLAG_FILE)
|
rm -rf $(UI_BUILD_FLAG_FILE)
|
||||||
|
|
||||||
awx/ui_next/node_modules:
|
awx/ui_next/node_modules:
|
||||||
$(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
|
NODE_OPTIONS=--max-old-space-size=4096 $(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
|
||||||
|
|
||||||
$(UI_BUILD_FLAG_FILE):
|
$(UI_BUILD_FLAG_FILE):
|
||||||
$(NPM_BIN) --prefix awx/ui_next --loglevel warn run compile-strings
|
$(NPM_BIN) --prefix awx/ui_next --loglevel warn run compile-strings
|
||||||
|
|||||||
@@ -92,6 +92,9 @@ docker exec -it tools_awx_1 bash
|
|||||||
# add the updated package.json and package-lock.json files to scm
|
# add the updated package.json and package-lock.json files to scm
|
||||||
git add awx/ui_next_next/package.json awx/ui_next_next/package-lock.json
|
git add awx/ui_next_next/package.json awx/ui_next_next/package-lock.json
|
||||||
```
|
```
|
||||||
|
#### Note:
|
||||||
|
- Building the ui can use up a lot of resources. If you're running docker for mac or similar
|
||||||
|
virtualization, the default memory limit may not be enough and you should increase it.
|
||||||
|
|
||||||
## Building for Production
|
## Building for Production
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
Reference in New Issue
Block a user