Builds and publishes the O3 Frontend

Build: #231 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Agent
xiao.openmrs.org
Revision
8a1b56847a1b72876f1099633a4d2fadaf358399 8a1b56847a1b72876f1099633a4d2fadaf358399
Successful since
#118 ()

Error summary

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

#20 62.40 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#20 62.40 [openmrs] Assembling dependencies and building import map and routes registry...
#20 66.48 [openmrs] Finished assembling frontend distribution
#20 66.50 npm notice
#20 66.50 npm notice New minor version of npm available! 10.2.4 -> 10.5.0
#20 66.50 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
#20 66.50 npm notice Run `npm install -g npm@10.5.0` to update!
#20 66.50 npm notice
#20 DONE 67.0s

#30 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#30 3.979 [openmrs] Running build process ...
#30 40.22 (node:24) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#30 40.22 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#30 40.22         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#30 40.22         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#30 40.22 (Use `node --trace-deprecation ...` to show where the warning was created)
#30 40.54 assets by info 4.8 MiB [immutable]
#30 40.54   assets by path *.woff 1.35 MiB 90 assets
#30 40.54   assets by path *.woff2 1.04 MiB 90 assets
#30 40.54   assets by path *.js 1.22 MiB 3 assets
#30 40.54   + 1 asset
#30 40.54 assets by path *.png 64.8 KiB
#30 40.54   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#30 40.54   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#30 40.54   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#30 40.54   + 5 assets
#30 40.54 asset index.html 3.07 KiB [emitted]
#30 40.54 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#30 40.54 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#30 40.54 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#30 40.54 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset
#30 40.54 Entrypoint main [big] 2.37 MiB (1.6 MiB) = openmrs.1afb19db80558884.css 1.19 MiB openmrs.98d55db830a1ee69.js 1.19 MiB 2 auxiliary assets
#30 40.54 orphan modules 11 MiB (javascript) 35.1 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1846 modules
#30 40.54 runtime modules 19 KiB 13 modules
#30 40.54 built modules 4.54 MiB (javascript) 1.19 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
#30 40.54   javascript modules 4.54 MiB 234 modules
#30 40.54   css modules 1.19 MiB
#30 40.54     modules by path ../@react-spectrum/ 457 KiB 11 modules
#30 40.54     modules by path ../@openmrs/ 764 KiB 4 modules
#30 40.54   provide-module modules 420 bytes
#30 40.54     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#30 40.54     + 8 modules
#30 40.54   consume-shared-module modules 420 bytes
#30 40.54     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#30 40.54     + 8 modules
#30 40.54
#30 40.54 LOG from InjectManifest
#30 40.54 <i> The service worker at service-worker.js will precache
#30 40.54 <i>         0 URLs, totaling 0 B.
#30 40.54
#30 40.54 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#30 40.54 This can impact web performance.
#30 40.54 Assets:
#30 40.54   openmrs.1afb19db80558884.css (1.19 MiB)
#30 40.54   openmrs.98d55db830a1ee69.js (1.19 MiB)
#30 40.54
#30 40.54 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#30 40.54 Entrypoints:
#30 40.54   main (2.37 MiB)
#30 40.54       openmrs.1afb19db80558884.css
#30 40.54       openmrs.98d55db830a1ee69.js
#30 40.54 
#30 40.54
#30 40.54 webpack 5.90.3 compiled with 2 warnings in 35710 ms
#30 40.54 [openmrs] Build finished.
#30 DONE 40.7s

#31 [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
#31 DONE 0.1s

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

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

#34 exporting to image
#34 exporting layers
#34 exporting layers 13.6s done
#34 exporting manifest sha256:9fa070a25ce9111ba586722db8573c1fb4ed92a46a3b12714037c0b98d3b2d05 0.0s done
#34 exporting config sha256:2c414783f118b742607bc4bc1ceb6be20a99cc9ce22d55c3f1e67798ae2dfddd
#34 exporting config sha256:2c414783f118b742607bc4bc1ceb6be20a99cc9ce22d55c3f1e67798ae2dfddd 0.0s done
#34 exporting manifest sha256:02303ee3e7a0c1a1a091f6e7d560877b0085840fa963e04bccab16670f828ecc 0.0s done
#34 exporting config sha256:2934d84b92a0f37b511fcc63ba3fd01e5fa3bf589d46d17b85f4f4f04dc7c28a 0.0s done
#34 exporting manifest list sha256:00a2d57586c14ad03949450bd4841f8967bb7cbfc42142792cd9c11f9fc7e145 0.0s done
#34 pushing layers
#34 ...

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

#34 exporting to image
#34 pushing layers 4.6s done
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:00a2d57586c14ad03949450bd4841f8967bb7cbfc42142792cd9c11f9fc7e145
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:00a2d57586c14ad03949450bd4841f8967bb7cbfc42142792cd9c11f9fc7e145 0.7s done
#34 pushing layers 1.1s done
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:00a2d57586c14ad03949450bd4841f8967bb7cbfc42142792cd9c11f9fc7e145
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:00a2d57586c14ad03949450bd4841f8967bb7cbfc42142792cd9c11f9fc7e145 0.4s done
#34 DONE 20.5s