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

Build: #481 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.

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

#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.173 [openmrs] Reading configuration ...
#29 3.175 [openmrs] Assembling the importmap ...
#29 DONE 9.1s

#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 6.7s done
#32 exporting manifest sha256:8a751bad33640786548f537770b4ddf7576a3c9300a16e9f561972634bbcb977 0.0s done
#32 exporting config sha256:44b00c4823cf8d4174a27ca48c4dcaa55234e547e4b483f025d4a1af2a15945e 0.0s done
#32 exporting manifest sha256:4e709c0f73f99f660ef25135688076aa151a160bf0d9245717265976e5f7ace5 0.0s done
#32 exporting config sha256:4864fafdcf6f83c32837a10141c7a362363244dd85896ec44bdcd74c24670270
#32 exporting config sha256:4864fafdcf6f83c32837a10141c7a362363244dd85896ec44bdcd74c24670270 0.0s done
#32 exporting manifest list sha256:69f3c962f483bbaa0296a051b927e18b8caa37743491efeb0ce35f4cc9e26cc7 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.9s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:69f3c962f483bbaa0296a051b927e18b8caa37743491efeb0ce35f4cc9e26cc7
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:69f3c962f483bbaa0296a051b927e18b8caa37743491efeb0ce35f4cc9e26cc7 0.9s done
#32 pushing layers 0.6s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:69f3c962f483bbaa0296a051b927e18b8caa37743491efeb0ce35f4cc9e26cc7
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:69f3c962f483bbaa0296a051b927e18b8caa37743491efeb0ce35f4cc9e26cc7 0.4s done
#32 DONE 12.6s