Build: #1330 was successful

Job: Build oclweb2 was successful

Stages & jobs

  1. Build

  2. Verify

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
3 minutes
Agent
xiao.openmrs.org (2)
Revision
f9dc9a44545ea80027657059f38e9b52380a8c9c
Successful since
#1246 ()

Error summary

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

#27 109.1 <s> [webpack.Progress] 100%
#27 109.1
#27 109.1 <s> [webpack.Progress] 99% cache shutdown
#27 109.1 <s> [webpack.Progress] 99% cache shutdown
#27 109.1 <s> [webpack.Progress] 100%
#27 109.1
#27 110.3 assets by path *.js 4.1 MiB
#27 110.3   assets by status 3.87 MiB [big]
#27 110.3     asset 772.js 2.44 MiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
#27 110.3     asset main.js 1.15 MiB [emitted] [minimized] [big] (name: main) 2 related assets
#27 110.3     asset moment.js 291 KiB [emitted] [minimized] [big] (name: moment) (id hint: moment) 2 related assets
#27 110.3   asset react.js 143 KiB [emitted] [minimized] (name: react) (id hint: react) 2 related assets
#27 110.3   asset lodash.js 89.1 KiB [emitted] [minimized] (name: lodash) (id hint: lodash) 2 related assets
#27 110.3 asset index.html 1.71 KiB [emitted]
#27 110.3 asset .gitkeep 0 bytes [emitted]
#27 110.3 Entrypoint main [big] 4.1 MiB (12.1 MiB) = moment.js 291 KiB lodash.js 89.1 KiB react.js 143 KiB 772.js 2.44 MiB main.js 1.15 MiB 5 auxiliary assets
#27 110.3 orphan modules 11.1 MiB [orphan] 13098 modules
#27 110.3 runtime modules 4.78 KiB 9 modules
#27 110.3 built modules 8.84 MiB [built]
#27 110.3   modules by path ./node_modules/ 6.71 MiB
#27 110.3     javascript modules 6.71 MiB 1112 modules
#27 110.3     json modules 2.58 KiB
#27 110.3       ./node_modules/axios/package.json 2.12 KiB [built] [code generated]
#27 110.3       ./node_modules/property-information/hast-to-react.json 475 bytes [built] [code generated]
#27 110.3   modules by path ./src/ 2.13 MiB
#27 110.3     modules by path ./src/components/ 33.9 KiB 12 modules
#27 110.3     modules by path ./src/*.scss 1.43 KiB
#27 110.3       ./src/index.scss 1.11 KiB [built] [code generated]
#27 110.3       ./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js!./src/index.scss 330 bytes [built] [code generated]
#27 110.3     ./src/index.jsx + 288 modules 2.1 MiB [built] [code generated]
#27 110.3
#27 110.3 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#27 110.3 This can impact web performance.
#27 110.3 Assets:
#27 110.3   main.js (1.15 MiB)
#27 110.3   moment.js (291 KiB)
#27 110.3   772.js (2.44 MiB)
#27 110.3
#27 110.3 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#27 110.3 Entrypoints:
#27 110.3   main (4.1 MiB)
#27 110.3       moment.js
#27 110.3       lodash.js
#27 110.3       react.js
#27 110.3       772.js
#27 110.3       main.js
#27 110.3
#27 110.3 WARNING in webpack performance recommendations:
#27 110.3 You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
#27 110.3 For more info visit https://webpack.js.org/guides/code-splitting/
#27 110.3
#27 110.3 webpack 5.100.2 compiled with 3 warnings in 106545 ms
#27 DONE 110.7s

#28 [build 17/21] RUN cp public/bootstrap.min.css dist/
#28 DONE 0.4s

#29 [build 18/21] RUN cp public/favicon.ico dist/
#29 DONE 0.3s

#30 [build 19/21] RUN cp public/fhir.svg dist/
#30 DONE 0.3s

#31 [build 20/21] RUN cp public/openmrs_logo_white.gif dist/
#31 DONE 0.3s

#32 [build 21/21] RUN cp -rf public/fontello dist/
#32 DONE 0.3s

#33 [stage-1 5/6] COPY --from=build /app/dist/ /usr/share/nginx/html/
#33 DONE 0.1s

#34 [stage-1 6/6] ADD nginx /etc/nginx/templates/
#34 DONE 0.1s

#35 exporting to image
#35 exporting layers
#35 exporting layers 0.2s done
#35 writing image sha256:87fb01021014f461b461c2afdbb9e853bc20347494f977da31327b7b2bb43a64 done
#35 naming to docker.io/openconceptlab/oclweb2:nightly done
#35 DONE 0.3s

17 warnings found (use docker --debug to expand):
 - UndefinedVar: Usage of undefined variable '$GA_ACCOUNT_ID' (line 9)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "ERRBIT_KEY") (line 11)
- UndefinedVar: Usage of undefined variable '$OIDC_RP_CLIENT_SECRET' (line 15)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "OIDC_RP_CLIENT_SECRET") (line 15)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 5)
- UndefinedVar: Usage of undefined variable '$ERRBIT_KEY' (line 11)
- UndefinedVar: Usage of undefined variable '$WEB_PORT' (line 53)
- UndefinedVar: Usage of undefined variable '$RECAPTCHA_SITE_KEY' (line 8)
- UndefinedVar: Usage of undefined variable '$ERRBIT_URL' (line 10)
- UndefinedVar: Usage of undefined variable '$LOGIN_REDIRECT_URL' (line 13)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)
- UndefinedVar: Usage of undefined variable '$WEB_PORT' (line 6)
- UndefinedVar: Usage of undefined variable '$API_URL' (line 7)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "RECAPTCHA_SITE_KEY") (line 8)
- UndefinedVar: Usage of undefined variable '$HOTJAR_ID' (line 12)
- UndefinedVar: Usage of undefined variable '$OIDC_RP_CLIENT_ID' (line 14)