Plan responsible for building Docker images for the 3.x demo and development sites

Build: #1764 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

  3. Generate Prefilled Containers

Job result summary

Completed
Duration
2 minutes
Agent
xiao.openmrs.org
Revision
b884a4a894e6dc57ee9d67919bd3a9b7fe549b88 b884a4a894e6dc57ee9d67919bd3a9b7fe549b88
Successful since
#1743 ()

Error summary

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

#22 45.47 npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
#22 45.93 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#22 48.04 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#22 49.99 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#22 84.18 [openmrs] Reading configuration ...
#22 84.20 [openmrs] Assembling the importmap ...
#22 88.10 npm notice
#22 88.10 npm notice New major version of npm available! 9.8.1 -> 10.2.0
#22 88.10 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
#22 88.10 npm notice Run `npm install -g npm@10.2.0` to update!
#22 88.10 npm notice
#22 DONE 88.8s

#28 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#28 3.429 npm WARN exec The following package was not found and will be installed: openmrs@5.2.1-pre.1067
#28 8.478 [openmrs] Running build process ...
#28 45.84 (node:38) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#28 45.84 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#28 45.84         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#28 45.84         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#28 45.84 (Use `node --trace-deprecation ...` to show where the warning was created)
#28 46.16 assets by info 4.88 MiB [immutable]
#28 46.16   assets by path *.woff 1.35 MiB 90 assets
#28 46.16   assets by path *.woff2 1.04 MiB 90 assets
#28 46.16   assets by path *.js 1.18 MiB 4 assets
#28 46.16   asset openmrs.f96bacfdad9b5783.css 1.3 MiB [emitted] [immutable] [big] (name: main) 1 related asset
#28 46.16 assets by path *.png 64.8 KiB
#28 46.16   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#28 46.16   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#28 46.16   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#28 46.16   asset icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png 6.87 KiB [emitted]
#28 46.16   + 4 assets
#28 46.16 asset index.html 2.96 KiB [emitted]
#28 46.16 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#28 46.16 asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
#28 46.16 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#28 46.16 Entrypoint main [big] 2.43 MiB (1.5 MiB) = openmrs.f96bacfdad9b5783.css 1.3 MiB openmrs.279cfee633fd7860.js 1.13 MiB 2 auxiliary assets
#28 46.16 orphan modules 10.9 MiB (javascript) 39.7 KiB (css/mini-extract) 2.4 MiB (asset) 46.2 KiB (runtime) [orphan] 1487 modules
#28 46.16 runtime modules 19 KiB 14 modules
#28 46.16 built modules 4.39 MiB (javascript) 1.31 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
#28 46.16   javascript modules 4.39 MiB 234 modules
#28 46.16   css modules 1.31 MiB
#28 46.16     modules by path ../@react-spectrum/ 582 KiB 11 modules
#28 46.16     modules by path ../@openmrs/ 759 KiB 3 modules
#28 46.16   provide-module modules 420 bytes
#28 46.16     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#28 46.16     + 8 modules
#28 46.16   consume-shared-module modules 420 bytes
#28 46.16     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#28 46.16     + 8 modules
#28 46.16
#28 46.16 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#28 46.16 This can impact web performance.
#28 46.16 Assets:
#28 46.16   openmrs.f96bacfdad9b5783.css (1.3 MiB)
#28 46.16   openmrs.279cfee633fd7860.js (1.13 MiB)
#28 46.16
#28 46.16 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#28 46.16 Entrypoints:
#28 46.16   main (2.43 MiB)
#28 46.16       openmrs.f96bacfdad9b5783.css
#28 46.16       openmrs.279cfee633fd7860.js
#28 46.16 
#28 46.16
#28 46.16 webpack 5.88.2 compiled with 2 warnings in 36624 ms
#28 46.16 [openmrs] Build finished.
#28 DONE 46.4s

#29 [linux/amd64 dev 7/7] 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
#29 DONE 0.1s

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

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

#32 exporting to image
#32 exporting layers
#32 exporting layers 11.8s done
#32 exporting manifest sha256:bd526b05e817e38d1e9654d3905534fed7a59e5cb0bacac028a987294b8eb358 0.0s done
#32 exporting config sha256:3f3b74bbe0a0356b13714fc498cfdd06c66501918a24ba844e12909b1ebfde02 0.0s done
#32 exporting manifest sha256:dc95d504e89c3e1b8ff2dff8b6782417aee6f9aedea60d449fe820fb3b30fa1b 0.0s done
#32 exporting config sha256:255b9e08bab4bd575eb7b7f9125d312fbfd5752335190aa0c4dbb3d354d48535 0.0s done
#32 exporting manifest list sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb
#32 exporting manifest list sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb 0.0s done
#32 pushing layers
#32 ...

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

#32 exporting to image
#32 pushing layers 6.1s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb 0.8s done
#32 pushing layers 1.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:923f184b9ce00eaedfea0f368ccbde5ca07ac6e2032a36b54de3242f1e6082eb 0.4s done
#32 DONE 20.9s