Skip to content

Commit 8e0e6af

Browse files
authored
ci: make the vuln scan simpler (#2113)
We were fetching advisory data as an input to a filtered scan, similar to what we'd do in a packages repo, but that's really unnecessary here since we're not concerned with how many vulns are in the output, we just care that the scanning operation itself doesn't blow up. For the same reason, we can remove the strict --require-zero flag that would only serve as a nuisance for melange changes. Signed-off-by: Dan Luhring <[email protected]> Signed-off-by: Dan Luhring <[email protected]>
1 parent ace8048 commit 8e0e6af

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/wolfi-presubmit.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,6 @@ jobs:
197197
done
198198
ls -hal packages/x86_64/usr/bin/sudo
199199
200-
- name: "Retrieve Wolfi advisory data"
201-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
202-
with:
203-
repository: "wolfi-dev/advisories"
204-
path: "data/wolfi-advisories"
205-
206200
- name: Test installable and Scan for CVEs
207201
run: |
208202
if [[ "${{ matrix.package }}" == "fping" ]]; then
@@ -217,7 +211,5 @@ jobs:
217211
# There is a huge fixed cost for every wolfictl scan invocation for grype DB init.
218212
# Do this outside of the loop in one invocation with every package.
219213
wolfictl scan \
220-
--advisories-repo-dir 'data/wolfi-advisories' \
221-
--advisory-filter 'resolved' \
222214
packages/x86_64/${{ matrix.package }}-*.apk \
223215
2> /dev/null # The error message renders strangely on GitHub Actions, and the important information is already being sent to stdout.

0 commit comments

Comments
 (0)