chore (maintenance): update Jenkinsfile

This commit is contained in:
MickaelK 2025-07-16 17:10:15 +10:00
parent 98f5884f94
commit 7a2f727cdc
2 changed files with 6 additions and 63 deletions

9
Jenkinsfile vendored
View file

@ -22,18 +22,15 @@ pipeline {
stage("Build") {
steps {
script {
docker.image("node:14").inside("--user=root") {
docker.image("node:20").inside("--user=root") {
sh "apt update -y && apt install -y brotli"
sh "npm install"
sh "make build_frontend"
}
docker.image("golang:1.24-bookworm").inside("--user=root") {
// prepare: todo - statically compile plg_image_c so we don't have to do this to pass the e2e tests
sh "sed -i 's|plg_image_c|plg_image_golang|' server/plugin/index.go"
// build
sh "go get ./..."
sh "go generate -x ./server/..."
sh "CGO_ENABLED=0 go build -o dist/filestash cmd/main.go"
sh "make build_init"
sh "make build_backend"
}
}
}

View file

@ -3,70 +3,16 @@
"version": "0.0.0",
"description": "An app to manage your files in the cloud",
"repository": "https://github.com/mickael-kerjean/filestash",
"main": "server/index.js",
"scripts": {
"start": "NODE_ENV=development webpack --watch",
"build": "webpack",
"test": "jest ./client/",
"lint": "eslint ./client/"
},
"author": "",
"license": "ISC",
"dependencies": {
"aes-js": "git+https://github.com/mickael-kerjean/aes-js.git",
"bcryptjs": "^2.4.3",
"codemirror": "^5.26.0",
"epubjs": "^0.3.93",
"exif-js": "^2.3.0",
"hls.js": "^1.4.0",
"little-loader": "^0.2.0",
"prop-types": "^15.5.10",
"react": "^16.5.0",
"react-addons-css-transition-group": "^15.6.2",
"react-dnd": "^2.4.0",
"react-dnd-html5-backend-filedrop": "^1.0.0",
"react-dom": "^16.5.0",
"react-draggable": "^2.2.6",
"react-infinite-scroller": "^1.1.4",
"react-pdf": "5.3.2", "pdfjs-dist": "2.6.347",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-sticky": "^6.0.2",
"rxjs": "^5.4.0",
"wavesurfer.js": "^1.4.0"
},
"license": "AGPL",
"dependencies": {},
"devDependencies": {
"@babel/eslint-parser": "^7.16.5",
"babel-core": "^6.13.2",
"babel-loader": "^7.1.5",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.24.1",
"babelify": "^8.0.0",
"buffer": "^6.0.3",
"compression-webpack-plugin": "^1.1.11",
"copy-webpack-plugin": "^4.5.2",
"crypto-browserify": "^3.12.0",
"css-loader": "^0.28.10",
"eslint": "^8.5.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-react": "^7.27.1",
"html-loader": "^0.4.5",
"html-webpack-plugin": "^5.5.3",
"path-browserify": "^1.0.1",
"sass": "^1.22.10",
"sass-loader": "^7.2.0",
"stream-browserify": "^3.0.0",
"style-loader": "^0.20.2",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^0.6.2",
"vm-browserify": "^1.1.2",
"webpack": "^5.87.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^5.1.4",
"worker-loader": "^2.0.0"
"eslint-plugin-react": "^7.27.1"
}
}