Build: #2 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Revision
920394e323b5c96a569cc0fe56a26fd8d38247ab
Successful since
#1 ()

Error summary

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

#11 CACHED

#7 [builder 2/8] WORKDIR /usr/src/app
#7 sha256:e4a6d5fe7e3fefc4f16b84794d4fb52736b34ae8e2141f6147b65ff9a338f7e6
#7 CACHED

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

#13 [builder 7/8] COPY src ./src/
#13 sha256:648f26f1bd02fad8f69f21953f67e5840daf0f51c7f2973890e1fa02438258ef
#13 DONE 0.4s

#14 [builder 8/8] RUN npm run build
#14 sha256:b2488fceb8662aed33014113bef4c07884e795b9bb3946d23d882c2b3772c6fa
#14 1.072
#14 1.072 > soilecon@0.1.0 build /usr/src/app
#14 1.072 > react-scripts build
#14 1.072
#14 1.301 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.302
#14 1.554 Your tsconfig.json has been populated with default values.
#14 1.554
#14 3.091 Creating an optimized production build...
#14 3.785 Browserslist: caniuse-lite is outdated. Please run:
#14 3.785 npx browserslist@latest --update-db
#14 3.785
#14 3.785 Why you should do it regularly:
#14 3.785 https://github.com/browserslist/browserslist#browsers-data-updating
#14 36.66 Compiled with warnings.
#14 36.66
#14 36.66 src/components/CoverCropHistory.tsx
#14 36.66   Line 93:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.66
#14 36.66 src/components/CropHistory.tsx
#14 36.66   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 36.66
#14 36.66 src/components/PartialBudgetQuadrants.tsx
#14 36.66   Line 160:11:  'pbResults' is defined but never used       no-unused-vars
#14 36.66   Line 160:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 36.66   Line 227:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 36.66
#14 36.66 src/components/common/ComponentInputBox.tsx
#14 36.66   Line 62:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.66
#14 36.66 src/components/controls/Fertilizer.tsx
#14 36.66   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 36.66   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 36.66
#14 36.66 src/components/controls/Fields.tsx
#14 36.66   Line 435:11:  Mixed spaces and tabs  no-mixed-spaces-and-tabs
#14 36.66   Line 436:11:  Mixed spaces and tabs  no-mixed-spaces-and-tabs
#14 36.66
#14 36.66 Search for the keywords to learn more about each warning.
#14 36.66 To ignore, add // eslint-disable-next-line to the line before.
#14 36.66
#14 36.66 File sizes after gzip:
#14 36.66
#14 36.71   170.77 KB  build/static/js/2.f81d7517.chunk.js
#14 36.71   27.33 KB   build/static/js/main.cafe67d8.chunk.js
#14 36.71   1.39 KB    build/static/js/3.d88315e6.chunk.js
#14 36.71   1.38 KB    build/static/css/main.efd8b15e.chunk.css
#14 36.71   1.16 KB    build/static/js/runtime-main.9007dca1.js
#14 36.71
#14 36.71 The project was built assuming it is hosted at /.
#14 36.71 You can control this with the homepage field in your package.json.
#14 36.71
#14 36.71 The build folder is ready to be deployed.
#14 36.71 You may serve it with a static server:
#14 36.71
#14 36.71   npm install -g serve
#14 36.71   serve -s build
#14 36.71
#14 36.71 Find out more about deployment here:
#14 36.71
#14 36.71   https://cra.link/deployment
#14 36.71
#14 DONE 37.8s

#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:0a4a9b8ead9a728bf9a2ea30383f0179f28369807b4864b4740b8a4276748d90
#15 DONE 0.6s

#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:66beb8b31d2f055e4bab36969c200faadb261698cc6d6a59b8878e9deee87d54
#16 DONE 0.5s

#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.4s done
#17 writing image sha256:dbb6e9a377b39e51f54f71ae788d05242ebb14857e4f45e73c211bf0789803f9 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.5s