forked from LaconicNetwork/kompose
Something within golang.org/x/sys messed up and it doesn't help that we
have three different projects using different versions.
This vendor update specifies a golang.org/x/sys as well as fixes the
previous compiling issues with Windows/Linux/macOS builds.
See issue:
```sh
gox -osarch="darwin/amd64 linux/amd64 linux/arm windows/amd64"
-output="bin/kompose-{{.OS}}-{{.Arch}}" -ldflags="-w -X
github.com/kubernetes/kompose/pkg/version.GITCOMMIT=42e7f0e"
Number of parallel builds: 1
--> windows/amd64: github.com/kubernetes/kompose
--> linux/amd64: github.com/kubernetes/kompose
--> darwin/amd64: github.com/kubernetes/kompose
--> linux/arm: github.com/kubernetes/kompose
1 errors occurred:
--> windows/amd64 error: exit status 2
Stderr: #
github.com/kubernetes/kompose/vendor/golang.org/x/crypto/ssh/terminal
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:42: undefined:
windows.ENABLE_ECHO_INPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:42: undefined:
windows.ENABLE_PROCESSED_INPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:42: undefined:
windows.ENABLE_LINE_INPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:42: undefined:
windows.ENABLE_PROCESSED_OUTPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:43: undefined:
windows.SetConsoleMode
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:62: undefined:
windows.SetConsoleMode
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:67: undefined:
windows.ConsoleScreenBufferInfo
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:68: undefined:
windows.GetConsoleScreenBufferInfo
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:91: undefined:
windows.ENABLE_ECHO_INPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:92: undefined:
windows.ENABLE_PROCESSED_INPUT
vendor/golang.org/x/crypto/ssh/terminal/util_windows.go:92: too many
errors
```
83 lines
2.4 KiB
YAML
83 lines
2.4 KiB
YAML
package: github.com/kubernetes/kompose
|
|
homepage: https://github.com/kubernetes/kompose
|
|
licence: Apache-2.0
|
|
|
|
import:
|
|
|
|
- package: github.com/sirupsen/logrus
|
|
version: 1.0.3
|
|
|
|
- package: golang.org/x/sys
|
|
version: ebfc5b4631820b793c9010c87fd8fef0f39eb082
|
|
|
|
- package: github.com/xeipuuv/gojsonschema
|
|
version: 93e72a773fade158921402d6a24c819b48aba29d
|
|
|
|
- package: github.com/fatih/structs
|
|
- package: github.com/ghodss/yaml
|
|
- package: github.com/spf13/cobra
|
|
- package: github.com/spf13/viper
|
|
- package: github.com/pkg/errors
|
|
- package: github.com/joho/godotenv
|
|
|
|
# We use libcompose to parse v1 and v2 of Docker Compose
|
|
- package: github.com/docker/libcompose
|
|
version: 57bd716502dcbe1799f026148016022b0f3b989c
|
|
subpackages:
|
|
- config
|
|
- lookup
|
|
- project
|
|
|
|
# We use docker/cli to parse v3 of Docker Compose
|
|
- package: github.com/docker/cli
|
|
version: 9b7656cc05d2878c85dc1252f5813f0ad77d808f
|
|
|
|
# Docker parser library for image names
|
|
- package: github.com/novln/docker-parser
|
|
version: 6030251119d652af8ead44ac7907444227b64d56
|
|
|
|
- package: github.com/openshift/origin
|
|
version: v1.4.0-rc1
|
|
subpackages:
|
|
- pkg/build/api/install
|
|
- pkg/build/api/v1
|
|
- pkg/client
|
|
- pkg/cmd/cli/config
|
|
- pkg/deploy/api
|
|
- pkg/deploy/api/install
|
|
- pkg/image/api
|
|
- pkg/image/api/install
|
|
- pkg/route/api
|
|
- pkg/route/api/install
|
|
|
|
# OpenShift uses Kubernetes fork to carry some patches
|
|
# Kubernetes will be in the same version as what OpenShift is using (from OpenShifts Godeps.json)
|
|
- package: k8s.io/kubernetes
|
|
repo: https://github.com/openshift/kubernetes
|
|
subpackages:
|
|
- pkg/api
|
|
- pkg/api/install
|
|
- pkg/api/resource
|
|
- pkg/api/unversioned
|
|
- pkg/apis/extensions
|
|
- pkg/apis/extensions/install
|
|
- pkg/client/unversioned
|
|
- pkg/client/unversioned/clientcmd
|
|
- pkg/kubectl
|
|
- pkg/kubectl/cmd/util
|
|
- pkg/runtime
|
|
- pkg/util/intstr
|
|
|
|
# OpenShift uses glog fork to carry some patches
|
|
# There are more forks that openshift is using (see: https://github.com/openshift/origin/blob/master/hack/godep-restore.sh)
|
|
# But we are not importing any packages that are using forked packages (expect glog).
|
|
# This is why only glog is here.
|
|
- package: github.com/golang/glog
|
|
repo: https://github.com/openshift/glog
|
|
|
|
# libcompose and OpenShift depends on different Docker version,
|
|
# this makes sure that we are using version that is compatible with both.
|
|
# Glide will show WARN about conflicting rev (it this case it is OK)
|
|
- package: github.com/docker/docker
|
|
version: 58b1788c81f937bb2aaf1b0077c6b3b23a8397ff
|