Build: #26 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Revision
692bea1ac7b083c37748905873080a8752009c9b
Successful since
#21 ()

Error summary

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

#11 CACHED

#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:f37f0f3a1783915770d05bab842c280ca17249c4bdc33b29cb900f0d5f02bdb9
#12 CACHED

#13 [builder 7/8] COPY src ./src/
#13 sha256:50184f654e3d7163bd4a65eca285747963bde2b44c76ac122cdcce8506a9c312
#13 DONE 1.4s

#14 [builder 8/8] RUN npm run build
#14 sha256:024e9304f1f9109cc320aaac56532189465e7de28fc386fb8059184215679f25
#14 1.799
#14 1.799 > soilecon@0.1.0 build /usr/src/app
#14 1.799 > react-scripts build
#14 1.799
#14 2.026 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 2.027
#14 2.281 Your tsconfig.json has been populated with default values.
#14 2.281
#14 3.803 Creating an optimized production build...
#14 4.520 Browserslist: caniuse-lite is outdated. Please run:
#14 4.520 npx browserslist@latest --update-db
#14 4.520
#14 4.520 Why you should do it regularly:
#14 4.520 https://github.com/browserslist/browserslist#browsers-data-updating
#14 37.30 Compiled with warnings.
#14 37.30
#14 37.30 src/components/CoverCropHistory.tsx
#14 37.30   Line 89:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 37.30
#14 37.30 src/components/CropHistory.tsx
#14 37.30   Line 183:5:  React Hook useEffect has missing dependencies: 'defaultCost', 'defaultFertilizers', 'defaultTillages', and 'dispatch'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
#14 37.30
#14 37.30 src/components/LandingPage.tsx
#14 37.30   Line 22:8:  'classes' is assigned a value but never used  no-unused-vars
#14 37.30   Line 22:8:  'classes' is assigned a value but never used  @typescript-eslint/no-unused-vars
#14 37.30
#14 37.30 src/components/PartialBudgetQuadrants.tsx
#14 37.30   Line 160:11:  'pbResults' is defined but never used       no-unused-vars
#14 37.30   Line 160:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 37.30   Line 227:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 37.30
#14 37.30 src/components/common/ComponentInputBox.tsx
#14 37.30   Line 62:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 37.30
#14 37.30 src/components/common/Documentation.tsx
#14 37.30   Line 5:9:  'Link' is defined but never used  no-unused-vars
#14 37.30   Line 5:9:  'Link' is defined but never used  @typescript-eslint/no-unused-vars
#14 37.30
#14 37.30 src/components/controls/Fertilizer.tsx
#14 37.30   Line 152:5:  React Hook useEffect has missing dependencies: 'parentCallBack', 'prevFertilizer', and 'selectedProducts'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback          react-hooks/exhaustive-deps
#14 37.30   Line 169:5:  React Hook useEffect has missing dependencies: 'applicatorId', 'parentCallBack', 'prevFertilizer', and 'products'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
#14 37.30
#14 37.30 Search for the keywords to learn more about each warning.
#14 37.30 To ignore, add // eslint-disable-next-line to the line before.
#14 37.30
#14 37.30 File sizes after gzip:
#14 37.30
#14 37.34   170.78 KB  build/static/js/2.d22a9d70.chunk.js
#14 37.34   26.68 KB   build/static/js/main.a392ce47.chunk.js
#14 37.34   1.39 KB    build/static/js/3.d88315e6.chunk.js
#14 37.34   1.38 KB    build/static/css/main.efd8b15e.chunk.css
#14 37.34   1.16 KB    build/static/js/runtime-main.9007dca1.js
#14 37.34
#14 37.34 The project was built assuming it is hosted at /.
#14 37.34 You can control this with the homepage field in your package.json.
#14 37.35
#14 37.35 The build folder is ready to be deployed.
#14 37.35 You may serve it with a static server:
#14 37.35
#14 37.35   npm install -g serve
#14 37.35   serve -s build
#14 37.35
#14 37.35 Find out more about deployment here:
#14 37.35
#14 37.35   https://cra.link/deployment
#14 37.35
#14 DONE 38.3s

#5 [stage-1 1/3] FROM docker.io/library/nginx:1.19.1-alpine@sha256:ee8c35a6944eb3cc415cd4cbeddef13927895d4ffa50b976886e3abe48b3f35a
#5 sha256:f034c60dfcad1a26f20253238af43026a7a3b39fdaa27c18b320f1ea7cdac2f5
#5 CACHED

#15 [stage-1 2/3] COPY --from=builder /usr/src/app/build/ /usr/share/nginx/html/
#15 sha256:02d931b91919d5c937bb04b8c3233b37585ba301b28e0a67007f4d9cf6ff9d67
#15 DONE 1.0s

#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:00abf89fbdc6a0248736209d87684334814b4cd1f0dd981652df27c9da0a88b1
#16 DONE 0.6s

#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 1.0s done
#17 writing image sha256:a3a96a6165ad296aa3b9326569639e10db9803e81d4ae0d0834dba9c8539a024
#17 writing image sha256:a3a96a6165ad296aa3b9326569639e10db9803e81d4ae0d0834dba9c8539a024 0.1s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 1.4s
WARNING! Your password will be stored unencrypted in /home/bamboo/.docker/farmdoc/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store