scaleway-cli: 2.33.0 -> 2.34.0 (#342579)
This commit is contained in:
commit
c8d25d2992
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user