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

Build: #707 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
2 minutes
Revision
b4adfca0fa75db5a5a75869447246e2ed239972a b4adfca0fa75db5a5a75869447246e2ed239972a
Successful since
#572 ()

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 30.01 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#21 30.72 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#21 30.90 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 32.69 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 34.69 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 53.78 [openmrs] Running build process ...
#21 90.53 (node:86) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#21 90.53 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#21 90.53         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#21 90.53         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#21 90.53 (Use `node --trace-deprecation ...` to show where the warning was created)
#21 90.78 assets by info 2.4 MiB [immutable]
#21 90.78   assets by path *.woff 1.35 MiB 90 assets
#21 90.78   assets by path *.woff2 1.04 MiB 90 assets
#21 90.78   + 1 asset
#21 90.78 assets by path *.png 64.8 KiB
#21 90.78   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#21 90.78   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#21 90.78   + 6 assets
#21 90.78 assets by status 1.82 MiB [big]
#21 90.78   asset openmrs.js 1.17 MiB [emitted] [minimized] [big] (name: main) 1 related asset
#21 90.78   asset openmrs.css 659 KiB [emitted] [big] (name: main)
#21 90.78 + 5 assets
#21 90.78 Entrypoint main [big] 1.82 MiB = openmrs.css 659 KiB openmrs.js 1.17 MiB
#21 90.78 orphan modules 5.03 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [orphan] 1242 modules
#21 90.78 runtime modules 19.2 KiB 15 modules
#21 90.78 built modules 4.08 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [built]
#21 90.78   javascript modules 4.08 MiB 261 modules
#21 90.78   provide-module modules 420 bytes
#21 90.78     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#21 90.78     + 8 modules
#21 90.78   consume-shared-module modules 420 bytes
#21 90.78     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#21 90.78     + 8 modules
#21 90.78   css modules 665 KiB
#21 90.78     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.78     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.78     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.78
#21 90.78 LOG from InjectManifest
#21 90.78 <i> The service worker at service-worker.js will precache
#21 90.78 <i>         189 URLs, totaling 4.44 MB.
#21 90.78
#21 90.78 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#21 90.78 This can impact web performance.
#21 90.78 Assets:
#21 90.78   openmrs.css (659 KiB)
#21 90.78   openmrs.js (1.17 MiB)
#21 90.78
#21 90.78 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.78 Entrypoints:
#21 90.78   main (1.82 MiB)
#21 90.78       openmrs.css
#21 90.78       openmrs.js
#21 90.78 
#21 90.78
#21 90.78 webpack 5.75.0 compiled with 2 warnings in 36226 ms
#21 90.79 [openmrs] Build finished.
#21 90.85 npm notice
#21 90.85 npm notice New minor version of npm available! 9.3.1 -> 9.4.2
#21 90.85 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.2>
#21 90.85 npm notice Run `npm install -g npm@9.4.2` to update!
#21 90.85 npm notice
#21 DONE 91.1s

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

#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 7.7s done
#32 exporting manifest sha256:a9606d8f12aa9bb85a09621b7846c5a808b5bf8eea305687af6c376ae965a77d 0.0s done
#32 exporting config sha256:d11002f0c6f4968ea376efafb0b70c5130623270dd14a36cdcfac91846d70122 0.0s done
#32 exporting manifest sha256:1ed9f2c02b9f0b387f43f5aa27df924112f47cc4cf191f2e121a830e0e710513 0.0s done
#32 exporting config sha256:cf4ef85bd7cccaf43933b6505c526d725577f851aa06b8b95f8904d1ba9e7a57
#32 exporting config sha256:cf4ef85bd7cccaf43933b6505c526d725577f851aa06b8b95f8904d1ba9e7a57 0.0s done
#32 exporting manifest list sha256:de0fb7d153a60281e6c72514732a79284b4cb013938b1b4dd074378257648985 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 5.4s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:de0fb7d153a60281e6c72514732a79284b4cb013938b1b4dd074378257648985
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:de0fb7d153a60281e6c72514732a79284b4cb013938b1b4dd074378257648985 0.7s done
#32 pushing layers 1.0s done
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:de0fb7d153a60281e6c72514732a79284b4cb013938b1b4dd074378257648985
#32 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:de0fb7d153a60281e6c72514732a79284b4cb013938b1b4dd074378257648985 0.3s done
#32 DONE 15.2s