From 9510e768dca449f8959952b5dac34306a02bf216 Mon Sep 17 00:00:00 2001 From: Jonathan Christison Date: Mon, 19 Jun 2023 19:16:56 +0100 Subject: [PATCH] Added working covscan example --- hack/examples/covscan.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hack/examples/covscan.sh b/hack/examples/covscan.sh index b5b6849..20f311c 100755 --- a/hack/examples/covscan.sh +++ b/hack/examples/covscan.sh @@ -1,5 +1,12 @@ #!/bin/bash #Scan a RPM builds for quarkus with Snyk + +#Doesn't work - interprets as tar #covscan mock-build -p snyk-only-unstable --tarball-build-script=: --brew-build quarkus-mandrel-22-22.3.2.1_1-4.el8qks -covscan mock-build -p snyk-only-unstable --brew-build quarkus-mandrel-22-22.3.2.1_1-4.el8qks + +#Doesn't work requires profile tuning/further mock env setup +#covscan mock-build -p snyk-only-unstable --brew-build quarkus-mandrel-22-22.3.2.1_1-4.el8qks + +#Working but using wrong mockenv +covscan mock-build -p snyk-only-unstable --brew-build xterm-366-8.el9