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

Build: #2219 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

  3. Generate pre-filled Docker Images

  4. Run E2E tests

Job result summary

Completed
Duration
2 minutes
Agent
xiao.openmrs.org
Revision
2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d 2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d
Successful since
#2063 ()

Error summary

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

#21 47.59 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
#21 69.21 [openmrs] Reading configuration ...
#21 69.21 [openmrs] Assembling the importmap ...
#21 74.30 npm notice
#21 74.30 npm notice New minor version of npm available! 10.2.3 -> 10.3.0
#21 74.30 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.3.0>
#21 74.30 npm notice Run `npm install -g npm@10.3.0` to update!
#21 74.30 npm notice
#21 DONE 74.7s

#29 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#29 3.192 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1419
#29 6.698 [openmrs] Running build process ...
#29 43.17 (node:24) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#29 43.17 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#29 43.17         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#29 43.17         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#29 43.17 (Use `node --trace-deprecation ...` to show where the warning was created)
#29 43.58 assets by info 4.79 MiB [immutable]
#29 43.58   assets by path *.woff 1.35 MiB 90 assets
#29 43.58   assets by path *.woff2 1.04 MiB 90 assets
#29 43.58   assets by path *.js 1.22 MiB 3 assets
#29 43.58   asset openmrs.a6899a603c61b967.css 1.18 MiB [emitted] [immutable] [big] (name: main) 1 related asset
#29 43.58 assets by path *.png 64.8 KiB
#29 43.58   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#29 43.58   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#29 43.58   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#29 43.58   asset icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png 6.87 KiB [emitted]
#29 43.58   + 4 assets
#29 43.58 asset index.html 3.07 KiB [emitted]
#29 43.58 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#29 43.58 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#29 43.58 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#29 43.58 Entrypoint main [big] 2.36 MiB (1.59 MiB) = openmrs.a6899a603c61b967.css 1.18 MiB openmrs.5964189fb351657c.js 1.18 MiB 2 auxiliary assets
#29 43.58 orphan modules 10.8 MiB (javascript) 35.1 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1844 modules
#29 43.58 runtime modules 18.9 KiB 13 modules
#29 43.58 built modules 4.52 MiB (javascript) 1.18 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
#29 43.58   javascript modules 4.52 MiB 234 modules
#29 43.58   css modules 1.18 MiB
#29 43.58     modules by path ../@react-spectrum/ 447 KiB 11 modules
#29 43.58     modules by path ../@openmrs/ 764 KiB 4 modules
#29 43.58   provide-module modules 420 bytes
#29 43.58     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#29 43.58     + 8 modules
#29 43.58   consume-shared-module modules 420 bytes
#29 43.58     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#29 43.58     + 8 modules
#29 43.58
#29 43.58 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#29 43.58 This can impact web performance.
#29 43.58 Assets:
#29 43.58   openmrs.a6899a603c61b967.css (1.18 MiB)
#29 43.58   openmrs.5964189fb351657c.js (1.18 MiB)
#29 43.58
#29 43.58 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#29 43.58 Entrypoints:
#29 43.58   main (2.36 MiB)
#29 43.58       openmrs.a6899a603c61b967.css
#29 43.58       openmrs.5964189fb351657c.js
#29 43.58 
#29 43.58
#29 43.58 webpack 5.89.0 compiled with 2 warnings in 36031 ms
#29 43.59 [openmrs] Build finished.
#29 DONE 43.7s

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

#31 [linux/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#31 ...

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

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

#33 exporting to image
#33 exporting layers
#33 exporting layers 12.2s done
#33 exporting manifest sha256:4185f84d30bd4a2e04f0d607183b1743284d2ae71560ce62330da6aeeba985ad 0.0s done
#33 exporting config sha256:bc88ae4f5a4862e77abcb28d969fffcff904eed486db5d0fc4db4f7e03c6eec2 0.0s done
#33 exporting manifest sha256:3bb2d3d210064bfcb25f4d12f9c8a642083f50adf8f71ed19ca4e30be67119d6 0.0s done
#33 exporting config sha256:47dcda453e23da1eb154a36d3809cfd007f1390da9a5b85761633d5e3e70a12a 0.0s done
#33 exporting manifest list sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574
#33 exporting manifest list sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574 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 5.2s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574 0.8s done
#33 pushing layers 1.2s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:b7e06b821656bb024690cd3508b6dd0345adbfff0e6cb29c8a58e9d4bb22a574 0.3s done
#33 DONE 19.8s