Skip to content

Commit

Permalink
Merge branch 'radoslawc-pre_image' into pre_image
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawc committed Jan 17, 2024
2 parents c481487 + 2704c5f commit 21fdf3b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist-types
coverage
.vscode
**/CHANGELOG.md
.prow.yaml
49 changes: 48 additions & 1 deletion .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ presubmits:
- '-c'
- |
set -euo pipefail
apk update
apk add python3 make g++
yarn install --frozen-lockfile
yarn test:all
Expand All @@ -24,11 +26,56 @@ presubmits:
- '-c'
- |
set -euo pipefail
apk update
apk add python3 make g++
yarn install --frozen-lockfile
yarn lint:all
yarn tsc:full
yarn prettier:check
- name: presubmit-kbp-license-header-check
decorate: true
always_run: true
spec:
containers:
- image: nephio/gotests:1671656214984921088
command:
- "/bin/sh"
- "-c"
- |
/usr/local/bin/checklicense.sh > ${ARTIFACTS}/license_headers_results.txt
- name: presubmit-kbp-scancode-toolkit
decorate: true
always_run: true
spec:
containers:
- image: nephio/scancode-toolkit:v31.2.5
command:
- "/bin/sh"
args:
- "-c"
- |
/scancode-toolkit/scancode --ignore "whitelist.json" -clpeui -n 2 --html ${ARTIFACTS}/scancode_report.html . --tallies-with-details
resources:
requests:
cpu: 2
memory: 1Gi

- name: presubmit-kbp-fossology
decorate: true
always_run: true
spec:
containers:
- image: fossology/fossology:scanner
command:
- "/bin/bash"
args:
- "-c"
- |
/bin/fossologyscanner --report SPDX_JSON repo nomos ojo copyright keyword
cp -R results ${ARTIFACTS}/
- name: build-push-pre-image-kbp
cluster: default
always_run: true
Expand Down Expand Up @@ -63,4 +110,4 @@ presubmits:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json
path: config.json

0 comments on commit 21fdf3b

Please sign in to comment.