Builds and publishes the O3 Frontend

Build: #734 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
yu.openmrs.org
Revision
9959e857c5ddc5ae788a95452616d0356cbd4e8b 9959e857c5ddc5ae788a95452616d0356cbd4e8b
Successful since
#683 ()

Error summary

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

#31 49.45 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#31 49.45         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#31 49.45         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#31 49.45 (Use `node --trace-deprecation ...` to show where the warning was created)
#31 49.88 assets by info 4.56 MiB [immutable]
#31 49.88   assets by path *.woff 1.35 MiB 90 assets
#31 49.88   assets by path *.woff2 1.04 MiB 90 assets
#31 49.88   assets by path *.js 1.3 MiB 13 assets
#31 49.88   + 1 asset
#31 49.88 assets by path *.png 64.8 KiB
#31 49.88   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#31 49.88   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#31 49.88   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#31 49.88   + 5 assets
#31 49.88 asset index.html 3.07 KiB [emitted]
#31 49.88 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#31 49.88 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#31 49.88 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#31 49.88 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset
#31 49.88 Entrypoint main [big] 2.08 MiB (1.55 MiB) = openmrs.b241b95610d21d42.css 888 KiB openmrs.a0105937e06b7abf.js 1.21 MiB 2 auxiliary assets
#31 49.88 orphan modules 12.2 MiB (javascript) 2.4 MiB (asset) 38.1 KiB (runtime) [orphan] 3021 modules
#31 49.88 runtime modules 20.8 KiB 16 modules
#31 49.88 built modules 4.75 MiB (javascript) 894 KiB (css/mini-extract) 462 bytes (share-init) 462 bytes (consume-shared) [built]
#31 49.88   javascript modules 4.74 MiB 494 modules
#31 49.88   css modules 894 KiB 14 modules
#31 49.88   provide-module modules 462 bytes 11 modules
#31 49.88   consume-shared-module modules 462 bytes
#31 49.88     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#31 49.88     modules by path consume shared module (default) swr/ 84 bytes 2 modules
#31 49.88     + 7 modules
#31 49.88   optional modules 16 KiB [optional]
#31 49.88     ../@openmrs/esm-translations/translations/am.json 1.87 KiB [optional] [built] [code generated]
#31 49.88     ../@openmrs/esm-translations/translations/ar.json 1.87 KiB [optional] [built] [code generated]
#31 49.88     + 7 modules
#31 49.88
#31 49.88 LOG from InjectManifest
#31 49.88 <i> The service worker at service-worker.js will precache
#31 49.88 <i>         0 URLs, totaling 0 B.
#31 49.88
#31 49.88 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#31 49.88 This can impact web performance.
#31 49.88 Assets:
#31 49.88   openmrs.b241b95610d21d42.css (888 KiB)
#31 49.88   openmrs.a0105937e06b7abf.js (1.21 MiB)
#31 49.88
#31 49.88 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#31 49.88 Entrypoints:
#31 49.88   main (2.08 MiB)
#31 49.88       openmrs.b241b95610d21d42.css
#31 49.88       openmrs.a0105937e06b7abf.js
#31 49.88 
#31 49.88
#31 49.88 webpack 5.92.1 compiled with 2 warnings in 44774 ms
#31 49.88 [openmrs] Build finished.
#31 DONE 50.1s

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

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

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

#35 [linux/arm64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#35 ...

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

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

#37 exporting to image
#37 exporting layers
#37 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
#37 exporting layers 14.2s done
#37 exporting manifest sha256:c2f102965628764e27d3f2ba1e37a956e2231f2eda255096729e8660122779fc 0.0s done
#37 exporting config sha256:bd36461da0e8b9e2a9a10012d3884e83265a9d6a40ede4fa290e5f2aa2019ac6 0.0s done
#37 exporting manifest sha256:a36f3e18076f927afef67c5459b69a23d766fe394059a0c0551596533d93a487 0.0s done
#37 exporting config sha256:b3331e514bc57a5c5b569805f458f77d80e90a634bc730ab8a0bd50bfcbf9f1c 0.0s done
#37 exporting manifest list sha256:39ed1fdd2be837852867da146681ebec8055ba768d009e3c50f22d900444c6ff 0.0s done
#37 pushing layers
#37 ...

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

#37 exporting to image
#37 pushing layers 7.1s done
#37 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:39ed1fdd2be837852867da146681ebec8055ba768d009e3c50f22d900444c6ff
#37 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:39ed1fdd2be837852867da146681ebec8055ba768d009e3c50f22d900444c6ff 0.8s done
#37 pushing layers 1.0s done
#37 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:39ed1fdd2be837852867da146681ebec8055ba768d009e3c50f22d900444c6ff
#37 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:39ed1fdd2be837852867da146681ebec8055ba768d009e3c50f22d900444c6ff 0.4s done
#37 DONE 23.7s

1 warning found (use --debug to expand):
 - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64