Builds and publishes the O3 Frontend

Build: #1685 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
yu.openmrs.org
Revision
d8692ae5f5ea4761fff919b671dda8c1dc916e42
Successful since
#1645 ()

Error summary

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

#25 74.57   + 5 assets
#25 74.57 asset index.html 3.07 KiB [emitted]
#25 74.57 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#25 74.57 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#25 74.57 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#25 74.57 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset
#25 74.57 Entrypoint main [big] 883 KiB (196 KiB) = openmrs.9696ea15df57b138.css 815 KiB openmrs.f44c9992e1f87d3f.js 67.8 KiB 2 auxiliary assets
#25 74.57 orphan modules 12.6 MiB (javascript) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 3220 modules
#25 74.57 runtime modules 25.9 KiB 16 modules
#25 74.57 built modules 7.84 MiB (javascript) 905 KiB (css/mini-extract) 504 bytes (share-init) 504 bytes (consume-shared) [built]
#25 74.57   javascript modules 7.77 MiB 550 modules
#25 74.57   optional modules 68 KiB [optional]
#25 74.57     ../@openmrs/esm-translations/translations/am.json 2.2 KiB [optional] [built] [code generated]
#25 74.57     + 30 modules
#25 74.57   css modules 905 KiB 18 modules
#25 74.57   provide-module modules 504 bytes 12 modules
#25 74.57   consume-shared-module modules 504 bytes
#25 74.57     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#25 74.57     modules by path consume shared module (default) swr/ 84 bytes 2 modules
#25 74.57     + 8 modules
#25 74.57
#25 74.57 LOG from InjectManifest
#25 74.57 <i> The service worker at service-worker.js will precache
#25 74.57 <i>         0 URLs, totaling 0 B.
#25 74.57
#25 74.57 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#25 74.57 This can impact web performance.
#25 74.57 Assets:
#25 74.57   764e684e911acd68.js (846 KiB)
#25 74.57   547606789317319a.js (762 KiB)
#25 74.57   openmrs.9696ea15df57b138.css (815 KiB)
#25 74.57
#25 74.57 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#25 74.57 Entrypoints:
#25 74.57   main (883 KiB)
#25 74.57       openmrs.9696ea15df57b138.css
#25 74.57       openmrs.f44c9992e1f87d3f.js
#25 74.57 
#25 74.57
#25 74.57 webpack 5.97.1 compiled with 2 warnings in 66628 ms
#25 74.58 [openmrs] Build finished.
#25 DONE 74.9s

#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/arm64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#27 CACHED

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

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

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

#31 [linux/arm64 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 1.7s

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

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

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

#36 exporting to image
#36 exporting layers
#36 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
#36 exporting layers 20.1s done
#36 exporting manifest sha256:f0dca127f55c7bf5a4d2a4d0d452d77a8c7ceb6ced3f75c0c70d3bce069a45ec 0.0s done
#36 exporting config sha256:1c1718fb513d6e05d4f4da0fc3d6dbacdefaf0f7898ae5f26af53011fe1bbe9b 0.0s done
#36 exporting manifest sha256:7b99977fa75784d37816f1e0c74a3165b5715df8ff3e38745d7fc2ee2a6ee905 0.0s done
#36 exporting config sha256:f98f9149ccf4c13e82e2988a519161f4fd79629ac6d68901b7f81b1068c1ea06
#36 exporting config sha256:f98f9149ccf4c13e82e2988a519161f4fd79629ac6d68901b7f81b1068c1ea06 0.0s done
#36 exporting manifest list sha256:82041c28167572510286f5d6ddcfef0cb5f4bfcbd147a7b924616275c277b03e 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 3.9s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:82041c28167572510286f5d6ddcfef0cb5f4bfcbd147a7b924616275c277b03e
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:82041c28167572510286f5d6ddcfef0cb5f4bfcbd147a7b924616275c277b03e 1.7s done
#36 pushing layers 1.1s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:82041c28167572510286f5d6ddcfef0cb5f4bfcbd147a7b924616275c277b03e
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:82041c28167572510286f5d6ddcfef0cb5f4bfcbd147a7b924616275c277b03e 0.6s done
#36 DONE 27.5s

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