-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from dramich/bumpall
Bump go, alpine, golangci-lint
- Loading branch information
Showing
1,514 changed files
with
242 additions
and
358,414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"linters": { | ||
"disable-all": true, | ||
"enable": [ | ||
"govet", | ||
"golint", | ||
"goimports" | ||
] | ||
}, | ||
"run": { | ||
"timeout": "10m" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
FROM golang:1.13.9 | ||
FROM golang:1.16 | ||
RUN apt-get update && \ | ||
apt-get install -y xz-utils zip rsync | ||
|
||
RUN go get -u golang.org/x/lint/golint && \ | ||
go get -d golang.org/x/tools/cmd/goimports && \ | ||
# This needs to be kept up to date with rancher/types | ||
git -C /go/src/golang.org/x/tools/cmd/goimports checkout -b release-branch.go1.13 origin/release-branch.go1.13 && \ | ||
go install golang.org/x/tools/cmd/goimports | ||
RUN curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.38.0; | ||
|
||
RUN curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 > /usr/bin/docker && \ | ||
ENV DOCKER_VERSION=20.10.5 | ||
|
||
RUN curl -sL https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz -o docker-${DOCKER_VERSION}.tgz && \ | ||
tar -zxvf docker-${DOCKER_VERSION}.tgz -C /usr/bin docker/docker --strip-components 1 && \ | ||
chmod +x /usr/bin/docker | ||
|
||
ENV GO111MODULE off | ||
ENV PATH /go/bin:$PATH | ||
ENV DAPPER_SOURCE /go/src/github.com/rancher/cli | ||
ENV DAPPER_OUTPUT bin build/bin dist | ||
ENV DAPPER_DOCKER_SOCKET true | ||
ENV DAPPER_ENV TAG REPO GOOS CROSS DRONE_TAG | ||
WORKDIR ${DAPPER_SOURCE} | ||
ENTRYPOINT ["./scripts/entry"] | ||
CMD ["ci"] | ||
CMD ["ci"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
module github.com/rancher/cli | ||
|
||
go 1.13 | ||
go 1.16 | ||
|
||
replace k8s.io/client-go => k8s.io/client-go v0.17.2 | ||
replace k8s.io/client-go => k8s.io/client-go v0.20.1 | ||
|
||
require ( | ||
github.com/c-bata/go-prompt v0.0.0-20180219161504-f329ebd2409d | ||
github.com/c-bata/go-prompt v0.2.6 | ||
github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0 | ||
github.com/ghodss/yaml v1.0.0 | ||
github.com/gorilla/websocket v1.4.0 | ||
github.com/gorilla/websocket v1.4.2 | ||
github.com/grantae/certinfo v0.0.0-20170412194111-59d56a35515b | ||
github.com/hashicorp/go-version v1.1.0 | ||
github.com/mattn/go-tty v0.0.0-20180219170247-931426f7535a // indirect | ||
github.com/patrickmn/go-cache v2.0.0+incompatible | ||
github.com/pkg/errors v0.8.1 | ||
github.com/pkg/term v0.0.0-20160705081919-b1f72af2d630 // indirect | ||
github.com/hashicorp/go-version v1.2.1 | ||
github.com/patrickmn/go-cache v2.1.0+incompatible | ||
github.com/pkg/errors v0.9.1 | ||
github.com/rancher/norman v0.0.0-20200520181341-ab75acb55410 | ||
github.com/rancher/types v0.0.0-20200528213132-b5fb46b1825d | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/stretchr/testify v1.4.0 | ||
github.com/urfave/cli v1.22.4 | ||
golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975 | ||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e | ||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 | ||
gopkg.in/yaml.v2 v2.2.8 | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/stretchr/testify v1.7.0 | ||
github.com/urfave/cli v1.22.5 | ||
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.