Ran
|
Jobs
1
|
Files
73
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
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 https://github.com/zalando/postgres-operator/commit/d60b424d7 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.
6070 of 14553 relevant lines covered (41.71%)
22.87 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
3 |
59.94 |
-0.38% | pkg/controller/util.go |
6 |
36.99 |
0.0% | pkg/spec/types.go |
9 |
75.23 |
-1.29% | pkg/apis/acid.zalan.do/v1/marshal.go |
17 |
0.0 |
0.0% | pkg/cluster/majorversionupgrade.go |
19 |
0.0 |
0.0% | pkg/controller/operator_config.go |
26 |
0.0 |
0.0% | pkg/apiserver/apiserver.go |
28 |
0.0 |
0.0% | pkg/util/config/config.go |
41 |
49.48 |
-0.79% | pkg/util/patroni/patroni.go |
51 |
55.08 |
9.44% | pkg/cluster/streams.go |
53 |
75.42 |
18.73% | pkg/cluster/util.go |
55 |
0.0 |
0.0% | pkg/apis/acid.zalan.do/v1/crds.go |
56 |
58.68 |
-2.58% | pkg/util/util.go |
65 |
29.22 |
20.17% | pkg/cluster/pod.go |
84 |
34.29 |
7.9% | pkg/cluster/resources.go |
106 |
3.01 |
-0.15% | pkg/controller/postgresql.go |
122 |
1.02 |
1.02% | pkg/cluster/database.go |
135 |
82.99 |
-2.07% | pkg/cluster/connection_pooler.go |
226 |
84.65 |
12.97% | pkg/cluster/k8sres.go |
365 |
14.61 |
1.05% | pkg/apis/acid.zalan.do/v1/zz_generated.deepcopy.go |
372 |
39.47 |
11.15% | pkg/cluster/sync.go |
381 |
52.53 |
8.39% | pkg/cluster/cluster.go |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9463511085.1 | 73 |
41.71 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|