mirror of
https://github.com/truecharts/charts.git
synced 2026-07-15 17:41:22 -03:00
Revert "Update secgen.yaml"
This reverts commitf78df3cf27. (+1 squashed commits) Squashed commits: [62adfc99ea] Revert "Update secgen.yaml" This reverts commitb08805f37b.
This commit is contained in:
10
.github/workflows/secgen.yaml
vendored
10
.github/workflows/secgen.yaml
vendored
@@ -113,20 +113,12 @@ jobs:
|
||||
sed -i 's|<hr>|<hr />|g' website/docs/charts/${train}/${chartname}/helm-security.md
|
||||
sed -i 's|<hr>|<hr />|g' website/docs/charts/${train}/${chartname}/container-security.md
|
||||
}
|
||||
|
||||
scan() {
|
||||
local chart="$1"
|
||||
local train="$2"
|
||||
render "charts/${train}/${chart}" ${chart} ${train} && helm_sec_scan "charts/${train}/${chart}" ${chart} ${train} && container_sec_scan "charts/${train}/${chart}" ${chart} ${train} && cleanfiles "charts/${train}/${chart}" ${chart} ${train} || echo "processing failed for ${chart}"
|
||||
}
|
||||
|
||||
for train in enterprise stable incubator dependency; do
|
||||
echo "Processing Charts for Train: ${train}..."
|
||||
for chart in $(ls "charts/${train}"); do
|
||||
echo "${chart} ${train}" >> list.txt
|
||||
render "charts/${train}/${chart}" ${chart} ${train} && helm_sec_scan "charts/${train}/${chart}" ${chart} ${train} && container_sec_scan "charts/${train}/${chart}" ${chart} ${train} && cleanfiles "charts/${train}/${chart}" ${chart} ${train} || echo "processing failed for ${chart}"
|
||||
done
|
||||
done
|
||||
parallel --dry-run -j ${parthreads} --colsep ' ' scan ::: list.txt ${1} ${2}
|
||||
echo "finsihed security scan"
|
||||
|
||||
- name: Commit Website Changes
|
||||
|
||||
Reference in New Issue
Block a user