Compare commits

...

6 Commits

Author SHA1 Message Date
renovate-bot
48e19b5c57 Update dependency body-parser to v1.19.1
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 14:18:04 +00:00
8bd05c5051 Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 15:08:12 +01:00
3185e121ac Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:02:26 +01:00
b0c8f76348 Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:00:41 +01:00
debf822424 Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:00:06 +01:00
ae9917dd6b Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 14:58:43 +01:00
4 changed files with 22 additions and 63 deletions

View File

@ -2,6 +2,22 @@ name: Build Docker
kind: pipeline kind: pipeline
type: docker type: docker
steps: steps:
- name: Only build image
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
registry: harbor.sebclem.fr
tags: latest
when:
branch:
exclude:
- main
- name: Build and Push docker - name: Build and Push docker
image: plugins/docker image: plugins/docker
settings: settings:
@ -12,6 +28,10 @@ steps:
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
registry: harbor.sebclem.fr registry: harbor.sebclem.fr
tags: latest tags: latest
when:
branch:
- main
trigger: trigger:
event: event:

View File

@ -1,4 +1,4 @@
FROM node:17 FROM node:17-alpine
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app

61
package-lock.json generated
View File

@ -192,67 +192,6 @@
"node": ">= 10.0.0" "node": ">= 10.0.0"
} }
}, },
"node_modules/body-parser": {
"version": "1.19.0",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
"integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
"dependencies": {
"bytes": "3.1.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.2",
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"on-finished": "~2.3.0",
"qs": "6.7.0",
"raw-body": "2.4.0",
"type-is": "~1.6.17"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/body-parser/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/body-parser/node_modules/http-errors": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
"integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
"dependencies": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.1",
"statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/body-parser/node_modules/inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"node_modules/body-parser/node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"node_modules/body-parser/node_modules/toidentifier": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
"integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
"engines": {
"node": ">=0.6"
}
},
"node_modules/bootstrap": { "node_modules/bootstrap": {
"version": "5.1.3", "version": "5.1.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz",

View File

@ -8,7 +8,7 @@
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "5.15.4", "@fortawesome/fontawesome-free": "5.15.4",
"bcrypt": "5.0.1", "bcrypt": "5.0.1",
"body-parser": "1.19.0", "body-parser": "1.19.1",
"bootstrap": "5.1.3", "bootstrap": "5.1.3",
"connect-ensure-login": "0.1.1", "connect-ensure-login": "0.1.1",
"connect-flash": "0.1.1", "connect-flash": "0.1.1",