Builds and publishes the O3 Frontend

Build: #2098 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
yu.openmrs.org
Revision
1674330fbbe63d0d2c7628823033a1589665f7ae
Successful since
#2079 ()

Error summary

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

#25 78.79   + 5 assets
#25 78.79 asset index.html 3.11 KiB [emitted]
#25 78.79 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#25 78.79 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#25 78.79 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#25 78.79 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset
#25 78.79 Entrypoint main [big] 1.04 MiB (202 KiB) = openmrs.5c1e3b38e3e32e57.css 1000 KiB openmrs.16a853aa05683491.js 67.9 KiB 2 auxiliary assets
#25 78.79 orphan modules 14 MiB (javascript) 1.04 MiB (asset) 48.9 KiB (runtime) [orphan] 3233 modules
#25 78.79 runtime modules 25.9 KiB 16 modules
#25 78.79 built modules 9.03 MiB (javascript) 1.06 MiB (css/mini-extract) 504 bytes (share-init) 504 bytes (consume-shared) [built]
#25 78.79   javascript modules 8.96 MiB 558 modules
#25 78.79   optional modules 71.7 KiB [optional]
#25 78.79     ../@openmrs/esm-translations/translations/am.json 2.24 KiB [optional] [built] [code generated]
#25 78.79     + 31 modules
#25 78.79   css modules 1.06 MiB 18 modules
#25 78.79   provide-module modules 504 bytes 12 modules
#25 78.79   consume-shared-module modules 504 bytes
#25 78.79     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#25 78.79     modules by path consume shared module (default) swr/ 84 bytes 2 modules
#25 78.79     + 8 modules
#25 78.79
#25 78.79 LOG from InjectManifest
#25 78.79 <i> The service worker at service-worker.js will precache
#25 78.79 <i>         0 URLs, totaling 0 B.
#25 78.79
#25 78.79 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#25 78.79 This can impact web performance.
#25 78.79 Assets:
#25 78.79   219ac78562b446c4.js (917 KiB)
#25 78.79   98588b303301e836.js (945 KiB)
#25 78.79   openmrs.5c1e3b38e3e32e57.css (1000 KiB)
#25 78.79
#25 78.79 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#25 78.79 Entrypoints:
#25 78.79   main (1.04 MiB)
#25 78.79       openmrs.5c1e3b38e3e32e57.css
#25 78.79       openmrs.16a853aa05683491.js
#25 78.79 
#25 78.79
#25 78.79 webpack 5.99.7 compiled with 2 warnings in 70356 ms
#25 78.80 [openmrs] Build finished.
#25 DONE 79.0s

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

#27 [linux/amd64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#27 CACHED

#28 [linux/amd64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh
#28 CACHED

#29 [linux/amd64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/*
#29 CACHED

#30 [linux/amd64 stage-1 2/8] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
#30 CACHED

#31 [linux/amd64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf
#31 CACHED

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

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

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

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

#36 exporting to image
#36 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
#36 exporting layers
#36 exporting layers 20.1s done
#36 exporting manifest sha256:c6298fbac5801d35289af7410917bc7f6fcd27c84a95a32e767af336ce7f1714 0.0s done
#36 exporting config sha256:495dfb4d6d82e3e794212558c40841386b696cb5a7a2f8cdc122b06876ffe105 0.0s done
#36 exporting manifest sha256:8ed6eeebcedd8090a3c64f5171a4c985b10c4dc893c8b748401269896c671982 0.0s done
#36 exporting config sha256:441340a31ef32abae23c9b3937cb16e0365fbcb4602daf1c54516bc153bc3b4a 0.0s done
#36 exporting manifest list sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a
#36 exporting manifest list sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a 0.0s done
#36 pushing layers
#36 ...

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

#36 exporting to image
#36 pushing layers 4.0s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a 1.9s done
#36 pushing layers 0.6s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:8aee5ea615fa0613a2ea899d0adf94cbe764720d0a3faf5ef17527b662624e8a 0.6s done
#36 DONE 27.4s

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