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

Build: #451 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
1 minute
Revision
1ca096df449bbfe38e4e7f67909a309d548a1f62 1ca096df449bbfe38e4e7f67909a309d548a1f62
Successful since
#376 ()

Error summary

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

#28 [linux/arm64 stage-1 6/7] COPY nginx.conf /etc/nginx/nginx.conf
#28 DONE 0.1s

#19 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#19 30.51 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#19 33.15 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
#19 35.41 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#19 55.52 [openmrs] Running build process ...
#19 91.76 (node:86) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#19 91.76 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#19 91.76         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#19 91.76         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#19 91.76 (Use `node --trace-deprecation ...` to show where the warning was created)
#19 92.06 assets by info 2.4 MiB [immutable]
#19 92.06   assets by path *.woff 1.35 MiB 90 assets
#19 92.06   assets by path *.woff2 1.04 MiB 90 assets
#19 92.06   + 1 asset
#19 92.06 assets by path *.png 64.8 KiB
#19 92.06   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#19 92.06   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#19 92.06   + 6 assets
#19 92.06 assets by status 1.83 MiB [big]
#19 92.06   asset openmrs.js 1.18 MiB [emitted] [minimized] [big] (name: main) 1 related asset
#19 92.06   asset openmrs.css 659 KiB [emitted] [big] (name: main)
#19 92.06 + 5 assets
#19 92.06 Entrypoint main [big] 1.83 MiB = openmrs.css 659 KiB openmrs.js 1.18 MiB
#19 92.06 orphan modules 4.79 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [orphan] 1242 modules
#19 92.06 runtime modules 19.2 KiB 15 modules
#19 92.06 built modules 3.93 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [built]
#19 92.06   javascript modules 3.93 MiB 347 modules
#19 92.06   provide-module modules 420 bytes
#19 92.06     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#19 92.06     + 8 modules
#19 92.06   consume-shared-module modules 420 bytes
#19 92.06     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#19 92.06     + 8 modules
#19 92.06   css modules 665 KiB
#19 92.06     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/dist/openmrs-esm-styleguide.css 663 KiB [built] [code generated]
#19 92.06     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss 930 bytes [built] [code generated]
#19 92.06     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/error-state/error-state.module.scss 1.5 KiB [built] [code generated]
#19 92.06
#19 92.06 LOG from InjectManifest
#19 92.06 <i> The service worker at service-worker.js will precache
#19 92.06 <i>         189 URLs, totaling 4.45 MB.
#19 92.06
#19 92.06 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#19 92.06 This can impact web performance.
#19 92.06 Assets:
#19 92.06   openmrs.css (659 KiB)
#19 92.06   openmrs.js (1.18 MiB)
#19 92.06
#19 92.06 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#19 92.06 Entrypoints:
#19 92.06   main (1.83 MiB)
#19 92.06       openmrs.css
#19 92.06       openmrs.js
#19 92.06 
#19 92.06
#19 92.06 webpack 5.75.0 compiled with 2 warnings in 35772 ms
#19 92.06 [openmrs] Build finished.
#19 92.12 npm notice
#19 92.12 npm notice New major version of npm available! 8.19.2 -> 9.1.2
#19 92.12 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.2>
#19 92.12 npm notice Run `npm install -g npm@9.1.2` to update!
#19 92.12 npm notice
#19 DONE 92.4s

#29 [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --mode config --config spa-build-config.json --target ./spa
#29 2.873 [openmrs] Reading configuration ...
#29 2.875 [openmrs] Assembling the importmap ...
#29 DONE 7.5s

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

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

#32 exporting to image
#32 exporting layers
#32 exporting layers 4.6s done
#32 exporting manifest sha256:853245703d675da570952889530491f7e705f18d104bb5e4d02261941fbb55ca 0.0s done
#32 exporting config sha256:bb22e3223e33f6b64eb64c1d866d23b21c173dfaf20ffe4c5b2d61886c2c48b0 0.0s done
#32 exporting manifest sha256:e0fd44c2f8758498bfe19e8a57aab4f647b18e058f85a650583c0687353d0405 0.0s done
#32 exporting config sha256:9e258380a0cbdbf00459a99e79cdf9a2fc5ee98374f2ad2ffa938ef19166926c 0.0s done
#32 exporting manifest list sha256:83e7d04da11a360e27bf0c10513bbbcb4fb3d733d4abfd481a42a0feb6eaaa8f 0.0s done
#32 ...

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

#32 exporting to image
#32 pushing layers
#32 pushing layers 3.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:83e7d04da11a360e27bf0c10513bbbcb4fb3d733d4abfd481a42a0feb6eaaa8f
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:83e7d04da11a360e27bf0c10513bbbcb4fb3d733d4abfd481a42a0feb6eaaa8f 0.9s done
#32 pushing layers 0.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:83e7d04da11a360e27bf0c10513bbbcb4fb3d733d4abfd481a42a0feb6eaaa8f
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:83e7d04da11a360e27bf0c10513bbbcb4fb3d733d4abfd481a42a0feb6eaaa8f 0.3s done
#32 DONE 10.1s