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

Build: #482 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
2 minutes
Revision
5d8f4436b40838c82b7225d9b88dc2a2ba0e6e38 5d8f4436b40838c82b7225d9b88dc2a2ba0e6e38
Successful since
#376 ()

Error summary

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


#21 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#21 28.26 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#21 28.55 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#21 29.01 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#21 31.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
#21 33.50 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
#21 54.16 [openmrs] Running build process ...
#21 89.94 (node:86) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#21 89.94 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#21 89.94         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#21 89.94         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#21 89.94 (Use `node --trace-deprecation ...` to show where the warning was created)
#21 90.23 assets by info 2.4 MiB [immutable]
#21 90.23   assets by path *.woff 1.35 MiB 90 assets
#21 90.23   assets by path *.woff2 1.04 MiB 90 assets
#21 90.23   + 1 asset
#21 90.23 assets by path *.png 64.8 KiB
#21 90.23   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#21 90.23   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#21 90.23   + 6 assets
#21 90.23 assets by status 1.83 MiB [big]
#21 90.23   asset openmrs.js 1.19 MiB [emitted] [minimized] [big] (name: main) 1 related asset
#21 90.23   asset openmrs.css 659 KiB [emitted] [big] (name: main)
#21 90.23 + 5 assets
#21 90.23 Entrypoint main [big] 1.83 MiB = openmrs.css 659 KiB openmrs.js 1.19 MiB
#21 90.23 orphan modules 4.8 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [orphan] 1245 modules
#21 90.23 runtime modules 19.2 KiB 15 modules
#21 90.23 built modules 3.93 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [built]
#21 90.23   javascript modules 3.93 MiB 348 modules
#21 90.23   provide-module modules 420 bytes
#21 90.23     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#21 90.23     + 8 modules
#21 90.23   consume-shared-module modules 420 bytes
#21 90.23     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#21 90.23     + 8 modules
#21 90.23   css modules 665 KiB
#21 90.23     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]
#21 90.23     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]
#21 90.23     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]
#21 90.23
#21 90.23 LOG from InjectManifest
#21 90.23 <i> The service worker at service-worker.js will precache
#21 90.23 <i>         189 URLs, totaling 4.46 MB.
#21 90.23
#21 90.23 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#21 90.23 This can impact web performance.
#21 90.23 Assets:
#21 90.23   openmrs.css (659 KiB)
#21 90.23   openmrs.js (1.19 MiB)
#21 90.23
#21 90.23 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#21 90.23 Entrypoints:
#21 90.23   main (1.83 MiB)
#21 90.23       openmrs.css
#21 90.23       openmrs.js
#21 90.23 
#21 90.23
#21 90.23 webpack 5.75.0 compiled with 2 warnings in 35276 ms
#21 90.23 [openmrs] Build finished.
#21 90.29 npm notice
#21 90.29 npm notice New major version of npm available! 8.19.2 -> 9.1.3
#21 90.29 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.3>
#21 90.29 npm notice Run `npm install -g npm@9.1.3` to update!
#21 90.29 npm notice
#21 DONE 90.6s

#29 [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --mode config --config spa-build-config.json --target ./spa
#29 3.081 [openmrs] Reading configuration ...
#29 3.083 [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.6s

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

#32 exporting to image
#32 exporting layers
#32 exporting layers 7.2s done
#32 exporting manifest sha256:504933cf63b77eeec0598997a3e9990640ed29d4a444cdb5f5d752739b72f5da 0.0s done
#32 exporting config sha256:9e24ba27f4267b35f26c862890847a98281935b26571db395c593af2dcdea05d 0.0s done
#32 exporting manifest sha256:56a905d49e507bf9da57573ce55816d29f167066b83ad89ab7ca8bdb63d8cd8f 0.0s done
#32 exporting config sha256:b2fe83897813f546fdb4e097935c9472da5239de30e8ba7da729ec89eca2205b 0.0s done
#32 exporting manifest list sha256:bd5cfbe91a678b309e63af85d6c40601da5e447707916fa254645814816f968f 0.0s done
#32 pushing layers
#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 3.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:bd5cfbe91a678b309e63af85d6c40601da5e447707916fa254645814816f968f
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:bd5cfbe91a678b309e63af85d6c40601da5e447707916fa254645814816f968f 0.9s done
#32 pushing layers 0.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:bd5cfbe91a678b309e63af85d6c40601da5e447707916fa254645814816f968f
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:bd5cfbe91a678b309e63af85d6c40601da5e447707916fa254645814816f968f 0.4s done
#32 DONE 12.9s