Builds and publishes the O3 Frontend

Build: #3679 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Agent
xiao.openmrs.org (2)
Revision
38da5a0f7c02729cbfdfa40b3a61ad1c5aff16d5
Successful since
#3669 ()

Error summary

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

#26 DONE 104.6s

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

#28 [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
#28 DONE 0.2s

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

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

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

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

#33 exporting to image
#33 exporting layers
#33 exporting layers 20.2s done
#33 exporting manifest sha256:233b1ac7b3324f0984379feef3a56d8b6b41e44a03ef38d3d6d558d04fd0d746 0.0s done
#33 exporting config sha256:64a563cdc7366c1ad4e4d8d464708c26ee10f4b5b7ad093a4abb7101de49bc39 0.0s done
#33 exporting attestation manifest sha256:7099bd97b940d55da1e23506301cd3ad2165c418015582a54f9d06f5d2cf8eef 0.1s done
#33 exporting manifest sha256:e99d19f0dffcd389220d1adf8b398cab649d604cb3ea932e19f9be39185003b2 0.0s done
#33 exporting config sha256:560bb65d16df72968ca3ec776128cf039c6e43eebbca73b430076c6d86e986c4 0.0s done
#33 exporting attestation manifest sha256:d6403b6f1341a1310c2a14953525f19c009b3f16e6283b725a68f7061f5555d0 0.1s done
#33 exporting manifest list sha256:30485e9b33086efa7dbaa3e6d181f8d6cadce9dfd7bc70ccdfb5d53bbe0cec97 0.0s done
#33 pushing layers
#33 ...

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

#33 exporting to image
#33 pushing layers 4.9s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:30485e9b33086efa7dbaa3e6d181f8d6cadce9dfd7bc70ccdfb5d53bbe0cec97
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:30485e9b33086efa7dbaa3e6d181f8d6cadce9dfd7bc70ccdfb5d53bbe0cec97 3.6s done
#33 pushing layers 1.0s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:30485e9b33086efa7dbaa3e6d181f8d6cadce9dfd7bc70ccdfb5d53bbe0cec97
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:30485e9b33086efa7dbaa3e6d181f8d6cadce9dfd7bc70ccdfb5d53bbe0cec97 1.8s done
#33 DONE 31.8s