postgres-operator/ui
Matthias Adler 1f47f59267
fix: use nodejs-lts image for building frontend code (#2653)
* fix: use nodejs-lts image for building frontend code

Node v14 is end-of-life and should no longer be used. Commit changes Makefile to pull in latest node-lts instead.

Also, use local temporary folder for storing npm generated files to workaround permission issue with old npm version, e.g. emitting these errors:

```
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
```

Both changes should also fix issue https://github.com/zalando/postgres-operator/issues/2651

* fix: add frontend build step

Commit d60b424d79 accidentally removed build steps that are important for building frontend.

This commit restores previous behavior, but switches to nodejs-lts image for building frontend code.

Should restore `app.js` presence in ghcr image, see https://github.com/zalando/postgres-operator/issues/2651.
2024-06-05 15:09:44 +02:00
..
app Bump to v1.12.0 (#2639) 2024-05-31 15:29:29 +02:00
manifests Bump to v1.12.0 (#2639) 2024-05-31 15:29:29 +02:00
operator_ui Bump to v1.12.0 (#2639) 2024-05-31 15:29:29 +02:00
.dockerignore fix: use nodejs-lts image for building frontend code (#2653) 2024-06-05 15:09:44 +02:00
Dockerfile fix: use nodejs-lts image for building frontend code (#2653) 2024-06-05 15:09:44 +02:00
MANIFEST.in Initial commit for Postgres Operator UI (#613) 2019-07-12 17:02:55 +02:00
Makefile fix: use nodejs-lts image for building frontend code (#2653) 2024-06-05 15:09:44 +02:00
requirements.txt [UI] use only one logger adapter and update Dockerfile (#2646) 2024-05-31 11:24:31 +02:00
run_local.sh add the pg version 16 (#2557) 2024-03-13 16:43:25 +01:00
setup.py Initial commit for Postgres Operator UI (#613) 2019-07-12 17:02:55 +02:00
start_server.sh [UI] add toggle for connection pooler (#953) 2020-04-30 09:58:07 +02:00
tox.ini Initial commit for Postgres Operator UI (#613) 2019-07-12 17:02:55 +02:00