Skip to content

Commit ae2b5d1

Browse files
authored
fix(ci): remove windows build from goreleaser (#1736)
1 parent d5a6b19 commit ae2b5d1

File tree

2 files changed

+40
-3
lines changed

2 files changed

+40
-3
lines changed

deploy/.goreleaser.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ builds:
66
goos:
77
- linux
88
- darwin
9-
- windows
109
goarch:
1110
- amd64
1211
- arm
@@ -30,7 +29,6 @@ builds:
3029
goos:
3130
- linux
3231
- darwin
33-
- windows
3432
goarch:
3533
- amd64
3634
- arm
@@ -54,7 +52,6 @@ builds:
5452
goos:
5553
- linux
5654
- darwin
57-
- windows
5855
goarch:
5956
- amd64
6057
- arm

pkg/longhorn/util/iscsi_windows.go

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//go:build windows
2+
// +build windows
3+
4+
package util
5+
6+
import (
7+
"github.com/pkg/errors"
8+
)
9+
10+
func GetDiskInfo(directory string) (*DiskInfo, error) {
11+
return nil, errors.Errorf("cannot get disk info of directory %v", directory)
12+
}
13+
14+
func RemoveHostDirectoryContent(directory string) error {
15+
return errors.Errorf("failed to remove host directory %v", directory)
16+
}
17+
18+
func CopyHostDirectoryContent(src, dest string) error {
19+
return errors.Errorf("failed to copy the content from %v to %v for the host", src, dest)
20+
}
21+
22+
func CreateDiskPathReplicaSubdirectory(path string) error {
23+
return errors.Errorf("error creating data path %v on host", path)
24+
}
25+
26+
func ExpandFileSystem(volumeName string) error {
27+
return errors.Errorf("error expanding filsystem on %v", volumeName)
28+
}
29+
30+
func DetectFileSystem(volumeName string) (string, error) {
31+
return "", errors.Errorf("error detecting filsystem on %v", volumeName)
32+
}
33+
34+
func GetDiskConfig(path string) (*DiskConfig, error) {
35+
return nil, errors.Errorf("error getting disk config from %v", path)
36+
}
37+
38+
func GenerateDiskConfig(path string) (*DiskConfig, error) {
39+
return nil, errors.Errorf("error generating disk config from %v", path)
40+
}

0 commit comments

Comments
 (0)