Builds and publishes the O3 Frontend

Build: #2574 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
xiao.openmrs.org
Revision
808f0bee3678cf9b5e4fddb28e8db007d6d14209
First to pass since
#2573 (Manual run by Github Actions)

Error summary

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

#20 65.84 export 'default' (imported as 'styles') was not found in './dashboard.scss' (module has no exports)
#20 65.84  @ ../@openmrs/esm-styleguide/src/internal.ts
#20 65.84  @ ../@openmrs/esm-framework/src/internal.ts 15:0-53 15:0-53
#20 65.84  @ consume shared module (default) @openmrs/esm-framework/src/internal@* (singleton) (fallback: ../@openmrs/esm-framework/src/internal.ts)
#20 65.84  @ ../@openmrs/esm-app-shell/src/run.ts 196:0-891 250:48-60 277:24-40 280:89-113 285:44-62 286:105-136 288:58-70 289:52-70 290:106-137 294:117-148 299:96-127 320:30-45 332:32-43 358:20-27 389:4-31 390:4-13 414:40-49 422:44-67 508:30-44 529:4-29 533:4-33 536:4-16 539:4-19 542:4-15 545:11-31 555:12-32 586:24-49 592:24-49 604:20-36 628:12-46 635:4-18 641:4-25 661:82-93 664:24-48 674:24-36 674:47-58 701:24-48 720:4-25 735:8-28 741:8-34 741:35-51 742:8-44 742:45-71 743:8-27 743:28-37 744:8-30 744:31-43 745:8-43 746:8-22 747:8-20 750:32-56 750:348-375
#20 65.84  @ ../@openmrs/esm-app-shell/src/index.ts
#20 65.84
#20 65.84 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#20 65.84 This can impact web performance.
#20 65.84 Assets:
#20 65.84   19bfc355db535e4f.js (962 KiB)
#20 65.84   11439167aa9d6964.js (966 KiB)
#20 65.84   openmrs.37c5f70b6ac89898.css (2.92 MiB)
#20 65.84
#20 65.84 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#20 65.84 Entrypoints:
#20 65.84   main (2.99 MiB)
#20 65.84       openmrs.37c5f70b6ac89898.css
#20 65.84       openmrs.112d436c1847c4dd.js
#20 65.84 
#20 65.84
#20 65.84 webpack 5.99.9 compiled with 4 warnings in 56134 ms
#20 65.85 [openmrs] Build finished.
#20 DONE 66.1s

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

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

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

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

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

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

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

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

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

#30 [linux/amd64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#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.0s

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

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

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

#34 [linux/arm64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#34 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 18.4s done
#36 exporting manifest sha256:21e737ac63c67bc3bd215825521234d3e23755da8d4ac4c5153287b0af1bc6b7 0.0s done
#36 exporting config sha256:05075451f0c2a8cc482bd72d80af4f50e4cbeabe5b50a39325e2c99c45121792
#36 exporting config sha256:05075451f0c2a8cc482bd72d80af4f50e4cbeabe5b50a39325e2c99c45121792 0.0s done
#36 exporting manifest sha256:0c38dbcba09cf8569ccb2262ffb4f1c3b9d55c9f78de66802f90a3aeb2eecbe4 0.0s done
#36 exporting config sha256:1b649a231218b3bc826857298f3edccde982d63a927eca155d551b0ff852c8e8 0.0s done
#36 exporting manifest list sha256:a3ac91fea79bfc00819ea40081377c4ba5e605df0f219c7b96f1a10c244d27aa 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.5s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:a3ac91fea79bfc00819ea40081377c4ba5e605df0f219c7b96f1a10c244d27aa
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:a3ac91fea79bfc00819ea40081377c4ba5e605df0f219c7b96f1a10c244d27aa 2.0s done
#36 pushing layers 1.1s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:a3ac91fea79bfc00819ea40081377c4ba5e605df0f219c7b96f1a10c244d27aa
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:a3ac91fea79bfc00819ea40081377c4ba5e605df0f219c7b96f1a10c244d27aa 0.6s done
#36 DONE 26.6s

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