From 8c044b0d08ec296043e2f6d3f81a5a89b8b02983 Mon Sep 17 00:00:00 2001 From: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:34:48 -0400 Subject: [PATCH] fix: update grype version to support darwin arm64 (#1830) Signed-off-by: Christopher Phillips --- test/install/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/install/Makefile b/test/install/Makefile index ee96dd61..d1e8d2aa 100644 --- a/test/install/Makefile +++ b/test/install/Makefile @@ -14,7 +14,8 @@ UNIT=make unit-local # release) ACCEPTANCE_CMD=sh -c '../../install.sh -b /usr/local/bin && grype version' # we also want to test against a previous release to ensure that install.sh defers execution to a former install.sh -PREVIOUS_RELEASE=v0.24.0 +# this version should be at least as recent as when grype was publishing for darwin arm64 as that is what the github runner uses for osx validation +PREVIOUS_RELEASE=v0.60.0 ACCEPTANCE_PREVIOUS_RELEASE_CMD=sh -c "../../install.sh -b /usr/local/bin $(PREVIOUS_RELEASE) && grype version" # CI cache busting values; change these if you want CI to not use previous stored cache