scaleway-cli: 2.33.0 -> 2.34.0 (#342579)

This commit is contained in:
Nick Cao 2024-09-18 13:49:34 -04:00 committed by GitHub
commit c8d25d2992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "scaleway-cli";
version = "2.33.0";
version = "2.34.0";
src = fetchFromGitHub {
owner = "scaleway";
repo = "scaleway-cli";
rev = "v${version}";
sha256 = "sha256-6mmjIrG81uaNfRAXW0YORZfviFwJd1QyORfvMucNWdI=";
sha256 = "sha256-Ynhom4WX1ME6/uI0HQ83S1DgLYN1HjUxKk5CUL/Fgzk=";
};
vendorHash = "sha256-PWjcQD64DEJylRdSUA55iCcKHMdyMh5PrfWnhZz3LOg=";
vendorHash = "sha256-FHvppbAAKW2Nf5GKhMWoMuOgqAp6deOSE61hg7dASqo=";
ldflags = [
"-w"
@ -27,19 +27,19 @@ buildGoModule rec {
# Some tests require access to scaleway's API, failing when sandboxed
preCheck = ''
substituteInPlace internal/core/bootstrap_test.go \
--replace "TestInterruptError" "SkipInterruptError"
substituteInPlace core/bootstrap_test.go \
--replace-warn "TestInterruptError" "SkipInterruptError"
substituteInPlace internal/e2e/errors_test.go \
--replace "TestStandardErrors" "SkipStandardErrors"
--replace-warn "TestStandardErrors" "SkipStandardErrors"
substituteInPlace internal/e2e/human_test.go \
--replace "TestTestCommand" "SkipTestCommand" \
--replace "TestHumanCreate" "SkipHumanCreate" \
--replace "TestHumanList" "SkipHumanList" \
--replace "TestHumanUpdate" "SkipHumanUpdate" \
--replace "TestHumanGet" "SkipHumanGet" \
--replace "TestHumanDelete" "SkipHumanDelete"
--replace-warn "TestTestCommand" "SkipTestCommand" \
--replace-warn "TestHumanCreate" "SkipHumanCreate" \
--replace-warn "TestHumanList" "SkipHumanList" \
--replace-warn "TestHumanUpdate" "SkipHumanUpdate" \
--replace-warn "TestHumanGet" "SkipHumanGet" \
--replace-warn "TestHumanDelete" "SkipHumanDelete"
substituteInPlace internal/e2e/sdk_errors_test.go \
--replace "TestSdkStandardErrors" "SkipSdkStandardErrors"
--replace-warn "TestSdkStandardErrors" "SkipSdkStandardErrors"
'';
doInstallCheck = true;