Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

dep: update snyk to 1.1012.0 #215

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion e2e/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,8 @@ Provider: %s
}

func getProviderVersion(env string) string {
return fmt.Sprintf("Snyk (%s (standalone))", os.Getenv(env))
if runtime.GOOS != "windows" {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Why is this needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely sure what changed (but I validated it on a windows machine) but on windows machine, the standalone version doesn't print anymore (standalone) in the version, only on windows.
It's not a big issue, what we want to know here is we got the right version number.

return fmt.Sprintf("Snyk (%s (standalone))", os.Getenv(env))
}
return fmt.Sprintf("Snyk (%s)", os.Getenv(env))
}
6 changes: 3 additions & 3 deletions vars.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Pinned Versions
SNYK_DESKTOP_VERSION=1.827.0
SNYK_USER_VERSION=1.827.0
SNYK_DESKTOP_VERSION=1.1012.0
SNYK_USER_VERSION=1.1012.0
SNYK_OLD_VERSION=1.382.1
# Digest of the 1.827.0 snyk/snyk:docker image
SNYK_IMAGE_DIGEST=sha256:f9291a5310e3952369eeb8cd1c2a25f0c9fc930a3ccc88e1ea20956ad86b75a4
SNYK_IMAGE_DIGEST=sha256:f0a8c21ccfcf4a4f4bdafe2ee35bb634ea4bc69d26ab567511aa148d218087d0
GO_VERSION=1.17.5
CLI_VERSION=20.10.11
ALPINE_VERSION=3.15.0
Expand Down