Builds and publishes the O3 Frontend

Build: #18 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
yu.openmrs.org
Revision
49ea5b6fd6080a3ce412c8a34fd084a829fac734
Successful since
#5 ()

Error summary

The build generated some errors. See the full build log for more details.


#29 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#29 4.361 [openmrs] Running build process ...
#29 58.97 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#29 58.97 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#29 58.97         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#29 58.97         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#29 58.97 (Use `node --trace-deprecation ...` to show where the warning was created)
#29 59.24 assets by info 7.13 MiB [immutable]
#29 59.24   assets by path *.woff2 1.04 MiB 90 assets
#29 59.24   assets by path *.js 2.78 MiB 63 assets
#29 59.24   assets by path *.css 3.3 MiB 2 assets
#29 59.24 assets by path *.png 64.8 KiB
#29 59.24   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#29 59.24   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#29 59.24   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#29 59.24   + 5 assets
#29 59.24 asset index.html 3.19 KiB [emitted]
#29 59.24 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#29 59.24 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#29 59.24 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#29 59.24 asset service-worker.js 289 bytes [emitted] [minimized] 1 related asset
#29 59.24 Entrypoint main [big] 3.22 MiB (125 KiB) = openmrs.4180ef571648d105.css 3.16 MiB openmrs.5e8008de18eb92c3.js 67.8 KiB 2 auxiliary assets
#29 59.24 orphan modules 19.5 MiB (javascript) 1.04 MiB (asset) 54.4 KiB (runtime) [orphan] 3242 modules
#29 59.24 runtime modules 26 KiB 16 modules
#29 59.24 built modules 9.8 MiB (javascript) 3.31 MiB (css/mini-extract) 504 bytes (share-init) 504 bytes (consume-shared) [built]
#29 59.24   javascript modules 9.72 MiB 570 modules
#29 59.24   optional modules 87.9 KiB [optional]
#29 59.24     ../@openmrs/esm-translations/translations/am.json 2.24 KiB [optional] [built] [code generated]
#29 59.24     + 38 modules
#29 59.24   css modules 3.31 MiB 20 modules
#29 59.24   provide-module modules 504 bytes
#29 59.24     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#29 59.24     + 10 modules
#29 59.24   consume-shared-module modules 504 bytes
#29 59.24     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#29 59.24     + 10 modules
#29 59.24
#29 59.24 LOG from InjectManifest
#29 59.24 <i> The service worker at service-worker.js will precache
#29 59.24 <i>         0 URLs, totaling 0 B.
#29 59.24
#29 59.24 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#29 59.24 This can impact web performance.
#29 59.24 Assets:
#29 59.24   d8a9ad3b26e7673f.js (959 KiB)
#29 59.24   171e8e16982a0f14.js (976 KiB)
#29 59.24   openmrs.4180ef571648d105.css (3.16 MiB)
#29 59.24
#29 59.24 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#29 59.24 Entrypoints:
#29 59.24   main (3.22 MiB)
#29 59.24       openmrs.4180ef571648d105.css
#29 59.24       openmrs.5e8008de18eb92c3.js
#29 59.24 
#29 59.24
#29 59.24 webpack 5.102.0 compiled with 2 warnings in 54148 ms
#29 59.24 [openmrs] Build finished.
#29 DONE 59.5s

#30 [linux/amd64 dev 8/8] RUN if [ ! -f ./spa/index.html ]; then echo 'Build failed. Please check the logs above for details. This may have happened because of an update to a library that OpenMRS depends on.'; exit 1; fi
#30 DONE 0.2s

#31 [linux/amd64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html
#31 DONE 2.2s

#32 [linux/arm64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html
#32 DONE 2.2s

#33 [linux/arm64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#33 DONE 0.3s

#34 [linux/amd64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#34 DONE 0.3s

#35 exporting to image
#35 exporting layers
#35 exporting layers 25.2s done
#35 exporting manifest sha256:0bcb273844c187b779901ea086f515589bd6f74a1339ca749a62820301ac0769 0.0s done
#35 exporting config sha256:b733c26a48bec59a4ec8e164288d93cc15d8087de97795e713b25218b7350f07 0.0s done
#35 exporting attestation manifest sha256:5af44cb5656c6b5b93094d83299b05993e64ad54627d2a5d135332c99b389936
#35 exporting attestation manifest sha256:5af44cb5656c6b5b93094d83299b05993e64ad54627d2a5d135332c99b389936 0.1s done
#35 exporting manifest sha256:d3240657ed5346bc7a5f5f7aeaaa2762e764297201a914a1649d1a9c03770a2c 0.0s done
#35 exporting config sha256:48f4b4d56d9191e5e13a19ce3e4f5704b34c2b98e67099dc0df3f6a2e6f9c010 0.0s done
#35 exporting attestation manifest sha256:dd99ddea5303852cdf19c5ae34848bdeb8e14f3747c475b2c6a4f37a9e75582b 0.1s done
#35 exporting manifest list sha256:e60935a45b560c9edcc668dbcef18a8df0566aae8936a675bc706d77e4c6929b 0.0s done
#35 pushing layers
#35 ...

#36 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io
#36 DONE 0.0s

#35 exporting to image
#35 pushing layers 7.1s done
#35 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly-core-2.8@sha256:e60935a45b560c9edcc668dbcef18a8df0566aae8936a675bc706d77e4c6929b
#35 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly-core-2.8@sha256:e60935a45b560c9edcc668dbcef18a8df0566aae8936a675bc706d77e4c6929b 4.1s done
#35 pushing layers 0.9s done
#35 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3-core-2.8@sha256:e60935a45b560c9edcc668dbcef18a8df0566aae8936a675bc706d77e4c6929b
#35 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3-core-2.8@sha256:e60935a45b560c9edcc668dbcef18a8df0566aae8936a675bc706d77e4c6929b 1.9s done
#35 DONE 39.7s