From a4ac60230dc2c90a0e8c2ec81cdc8793472685de Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Thu, 22 Jun 2023 17:12:50 +0200 Subject: [PATCH] gotests version bump adding modified lichen test --- .prow.yaml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.prow.yaml b/.prow.yaml index 4bc4ce1..2199576 100644 --- a/.prow.yaml +++ b/.prow.yaml @@ -4,7 +4,7 @@ presubmits: run_if_changed: "^.*.go$" spec: containers: - - image: nephio/gotests:7 + - image: nephio/gotests:1671656214984921088 command: - "/bin/sh" args: @@ -17,7 +17,7 @@ presubmits: run_if_changed: "^.*.go$" spec: containers: - - image: nephio/gotests:7 + - image: nephio/gotests:1671656214984921088 command: - "/bin/sh" args: @@ -30,7 +30,7 @@ presubmits: run_if_changed: "^.*.go$" spec: containers: - - image: nephio/gotests:7 + - image: nephio/gotests:1671656214984921088 command: - "/bin/sh" args: @@ -43,7 +43,7 @@ presubmits: run_if_changed: "^.*.go$" spec: containers: - - image: nephio/gotests:7 + - image: nephio/gotests:1671656214984921088 command: - "/bin/sh" args: @@ -52,15 +52,9 @@ presubmits: "/usr/local/bin/checklicense.sh" - name: presubmit-f5gc-operator-lichen decorate: true - always_run: true + run_if_changed: "^.*.go$" spec: containers: - - image: nephio/gotests:7 + - image: nephio/gotests:1671656214984921088 command: - - "/bin/bash" - args: - - "-c" - - | - for i in \ - $(egrep -rl --null --include \*.go 'package\s+main\b' | xargs -0 -L 1 dirname | sort -u | xargs -d '\n' -L 1 printf "%s " ) ; \ - do cd $i; echo $i; rm -f /tmp/cmd; go build -o "/tmp/cmd"; lichen -c /etc/lichen.yaml "/tmp/cmd" || exit 1; cd - ;done + - "/usr/local/bin/lichen.sh"