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

Build: #453 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
2 minutes
Revision
1ca096df449bbfe38e4e7f67909a309d548a1f62 1ca096df449bbfe38e4e7f67909a309d548a1f62
Successful since
#376 ()

Error summary

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

#28 DONE 0.1s

#23 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#23 28.74 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#23 31.20 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
#23 34.17 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
#23 54.56 [openmrs] Running build process ...
#23 90.91 (node:86) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#23 90.91 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#23 90.91         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#23 90.91         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#23 90.91 (Use `node --trace-deprecation ...` to show where the warning was created)
#23 91.23 assets by info 2.4 MiB [immutable]
#23 91.23   assets by path *.woff 1.35 MiB 90 assets
#23 91.23   assets by path *.woff2 1.04 MiB 90 assets
#23 91.23   + 1 asset
#23 91.23 assets by path *.png 64.8 KiB
#23 91.23   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#23 91.23   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#23 91.23   + 6 assets
#23 91.23 assets by status 1.83 MiB [big]
#23 91.23   asset openmrs.js 1.18 MiB [emitted] [minimized] [big] (name: main) 1 related asset
#23 91.23   asset openmrs.css 659 KiB [emitted] [big] (name: main)
#23 91.23 + 5 assets
#23 91.23 Entrypoint main [big] 1.83 MiB = openmrs.css 659 KiB openmrs.js 1.18 MiB
#23 91.23 orphan modules 4.79 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [orphan] 1242 modules
#23 91.23 runtime modules 19.2 KiB 15 modules
#23 91.23 built modules 3.93 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [built]
#23 91.23   javascript modules 3.93 MiB 347 modules
#23 91.23   provide-module modules 420 bytes
#23 91.23     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#23 91.23     + 8 modules
#23 91.23   consume-shared-module modules 420 bytes
#23 91.23     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#23 91.23     + 8 modules
#23 91.23   css modules 665 KiB
#23 91.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]
#23 91.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]
#23 91.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]
#23 91.23
#23 91.23 LOG from InjectManifest
#23 91.23 <i> The service worker at service-worker.js will precache
#23 91.23 <i>         189 URLs, totaling 4.45 MB.
#23 91.23
#23 91.23 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#23 91.23 This can impact web performance.
#23 91.23 Assets:
#23 91.23   openmrs.css (659 KiB)
#23 91.23   openmrs.js (1.18 MiB)
#23 91.23
#23 91.23 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#23 91.23 Entrypoints:
#23 91.23   main (1.83 MiB)
#23 91.23       openmrs.css
#23 91.23       openmrs.js
#23 91.23 
#23 91.23
#23 91.23 webpack 5.75.0 compiled with 2 warnings in 35934 ms
#23 91.23 [openmrs] Build finished.
#23 91.30 npm notice
#23 91.30 npm notice New major version of npm available! 8.19.2 -> 9.1.2
#23 91.30 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.2>
#23 91.30 npm notice Run `npm install -g npm@9.1.2` to update!
#23 91.30 npm notice
#23 DONE 91.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.244 [openmrs] Reading configuration ...
#29 3.246 [openmrs] Assembling the importmap ...
#29 DONE 8.8s

#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.5s

#32 exporting to image
#32 exporting layers
#32 exporting layers 4.7s done
#32 exporting manifest sha256:b05cc6bd52494f4106c9dac301b9d1dd1ce0705012ef457613a279bd481307bf 0.0s done
#32 exporting config sha256:279f32a1294188c5f199a4595d27e13a5698f9924169e55abe75085302b038ba
#32 exporting config sha256:279f32a1294188c5f199a4595d27e13a5698f9924169e55abe75085302b038ba 0.0s done
#32 exporting manifest sha256:a576faef28f77949a563acf2e167abca31995e96ad215fb83b8461ebabb39f79 0.0s done
#32 exporting config sha256:a77cf60e2211318f8ab09c8825026e81ec61c0167bff8d0abeb41fa336266882 0.0s done
#32 exporting manifest list sha256:e628ecd8efd594a1d344ebb281d0664bdf9426ff71b9f86249c11e88cdf884d0 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 4.9s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:e628ecd8efd594a1d344ebb281d0664bdf9426ff71b9f86249c11e88cdf884d0
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:e628ecd8efd594a1d344ebb281d0664bdf9426ff71b9f86249c11e88cdf884d0 0.8s done
#32 pushing layers 0.7s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:e628ecd8efd594a1d344ebb281d0664bdf9426ff71b9f86249c11e88cdf884d0
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:e628ecd8efd594a1d344ebb281d0664bdf9426ff71b9f86249c11e88cdf884d0 0.3s done
#32 DONE 11.5s