mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
application-pipeline-update
This commit is contained in:
parent
ed5ad4e6b8
commit
b4bfc0d3c2
3605
application-scanner/package-lock.json
generated
3605
application-scanner/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,12 +6,14 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node --max-old-space-size=4096 --max-http-header-size=80000 index.js",
|
||||
"dev": "nodemon --inspect=0.0.0.0 --max-http-header-size=80000 index.js"
|
||||
"dev": "node --inspect=0.0.0.0 --max-http-header-size=80000 index.js",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"dep-check": "depcheck ./ --skip-missing=true"
|
||||
},
|
||||
"author": "David Adewole",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.7"
|
||||
"depcheck": "^1.4.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.21.1",
|
||||
|
26
ci/spec/application-scanner/audit.yaml
Normal file
26
ci/spec/application-scanner/audit.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
## application-scanner
|
||||
audit_application-scanner:
|
||||
stage: BuildAndTest
|
||||
allow_failure: true
|
||||
script:
|
||||
- chmod +x ./ci/scripts/checkhash.sh
|
||||
- export next_stage=`./ci/scripts/checkhash.sh audit_application-scanner application-scanner`
|
||||
- if [[ $next_stage == *"skip"* ]]; then exit ${CI_JOB_SKIP_EXIT_CODE:-0}; fi
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y curl gcc
|
||||
- sudo apt-get install -y build-essential
|
||||
- curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
|
||||
- sudo apt-get install -y nodejs
|
||||
- cd application-scanner
|
||||
- npm ci
|
||||
- npm run audit
|
||||
- npm run dep-check
|
||||
- cd ..
|
||||
- chmod +x ./ci/scripts/storehash.sh
|
||||
- ./ci/scripts/storehash.sh audit_application-scanner application-scanner
|
||||
- chmod +x ./ci/scripts/cleanup.sh
|
||||
- ./ci/scripts/cleanup.sh
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
- release
|
Loading…
Reference in New Issue
Block a user