Skip to content

Commit da6b4eb

Browse files
authored
Merge pull request #329 from jetstack/the-big-one
Remove replace directives and get modules upgraded
2 parents 8a76a5e + 2a32f21 commit da6b4eb

File tree

10 files changed

+464
-1450
lines changed

10 files changed

+464
-1450
lines changed

.github/workflows/release-master.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ on:
88
tags:
99
- v*
1010
jobs:
11-
golint:
12-
name: vet fmt and lint
11+
vet:
12+
name: vet
1313
runs-on: ubuntu-20.04
14-
container: golang:1.13.7
14+
container: golang:1.18
1515
steps:
1616
- uses: actions/checkout@v3
17-
- name: Install golint
18-
run: go get -u golang.org/x/lint/golint
19-
- run: make lint
17+
- run: make vet
2018
shell: bash
21-
gotest:
19+
test:
2220
name: go test
2321
runs-on: ubuntu-20.04
24-
container: golang:1.13.7
22+
container: golang:1.18
2523
steps:
2624
- uses: actions/checkout@v3
2725
- run: make test
@@ -59,19 +57,19 @@ jobs:
5957
uses: anchore/sbom-action/download-syft@2ad78246293830258e98b4e707b1fb02d0242828
6058
- uses: actions/checkout@v3
6159
- name: Set up QEMU
62-
uses: docker/setup-qemu-action@v1
60+
uses: docker/setup-qemu-action@v2
6361
- name: Set up Docker Buildx
64-
uses: docker/setup-buildx-action@v1
62+
uses: docker/setup-buildx-action@v2
6563
with:
6664
driver-opts: image=moby/buildkit:master
6765
- name: Login to quay.io
68-
uses: docker/login-action@v1
66+
uses: docker/login-action@v2
6967
with:
7068
registry: quay.io
7169
username: ${{ secrets.QUAY_USER }}
7270
password: ${{ secrets.QUAY_PASSWORD }}
7371
- name: Login to ghcr.io
74-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
72+
uses: docker/login-action@v2
7573
with:
7674
registry: ghcr.io
7775
username: ${{ github.actor }}

.github/workflows/test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ on:
1010
- "*"
1111

1212
jobs:
13-
golint:
14-
name: vet fmt and lint
13+
vet:
14+
name: vet
1515
runs-on: ubuntu-20.04
16-
container: golang:1.13.7
16+
container: golang:1.18
1717
steps:
1818
- uses: actions/checkout@v3
19-
- name: Install golint
20-
run: go get -u golang.org/x/lint/golint
21-
- run: make lint
19+
- run: make vet
2220
shell: bash
23-
gotest:
21+
test:
2422
name: go test
2523
runs-on: ubuntu-20.04
26-
container: golang:1.13.7
24+
container: golang:1.18
2725
steps:
2826
- uses: actions/checkout@v3
2927
- run: make test

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ test:
5454
vet:
5555
cd $(ROOT_DIR) && go vet ./...
5656

57-
lint: vet
58-
cd $(ROOT_DIR) && golint
59-
6057

6158
.PHONY: ./builds/$(GOOS)/$(GOARCH)/$(BIN_NAME)
6259
./builds/$(GOOS)/$(GOARCH)/$(BIN_NAME):

builder.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.18.0 as builder
1+
FROM golang:1.18 as builder
22

33
WORKDIR /go/github.com/jetstack/preflight
44

go.mod

Lines changed: 91 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,114 @@
11
module github.com/jetstack/preflight
22

3-
go 1.16
3+
go 1.18
44

55
require (
6-
github.com/Azure/aks-engine v0.56.0
7-
github.com/Azure/azure-sdk-for-go v46.4.0+incompatible // indirect
8-
github.com/Azure/go-autorest/autorest v0.11.8 // indirect
9-
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
10-
github.com/Azure/go-autorest/autorest/validation v0.3.0 // indirect
6+
github.com/Azure/aks-engine v0.43.0
117
github.com/Jeffail/gabs/v2 v2.6.1
12-
github.com/aws/aws-sdk-go v1.36.19
8+
github.com/aws/aws-sdk-go v1.43.31
139
github.com/cenkalti/backoff v2.2.1+incompatible
1410
github.com/d4l3k/messagediff v1.2.1
1511
github.com/fatih/color v1.13.0
16-
github.com/go-playground/universal-translator v0.17.0 // indirect
1712
github.com/hashicorp/go-multierror v1.1.1
1813
github.com/jetstack/version-checker v0.2.2-0.20201118163251-4bab9ef088ef
14+
github.com/json-iterator/go v1.1.12
1915
github.com/juju/errors v0.0.0-20190930114154-d42613fe1ab9
20-
github.com/juju/loggo v0.0.0-20190526231331-6e530bcce5d8 // indirect
21-
github.com/juju/testing v0.0.0-20191001232224-ce9dec17d28b // indirect
2216
github.com/kylelemons/godebug v1.1.0
23-
github.com/leodido/go-urn v1.2.0 // indirect
2417
github.com/maxatome/go-testdeep v1.11.0
2518
github.com/pkg/errors v0.9.1
2619
github.com/pmylund/go-cache v2.1.0+incompatible
27-
github.com/prometheus/client_golang v1.9.0
20+
github.com/prometheus/client_golang v1.12.1
2821
github.com/sirupsen/logrus v1.8.1
2922
github.com/spf13/cobra v1.4.0
3023
github.com/spf13/pflag v1.0.5
31-
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
32-
golang.org/x/tools v0.1.5 // indirect
33-
google.golang.org/api v0.36.0
24+
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
25+
google.golang.org/api v0.75.0
3426
gopkg.in/d4l3k/messagediff.v1 v1.2.1
35-
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
36-
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect
3727
gopkg.in/yaml.v2 v2.4.0
38-
istio.io/istio v0.0.0-20210108091755-3c1dea2cb2bb
39-
k8s.io/api v0.20.1
40-
k8s.io/apimachinery v0.20.1
41-
k8s.io/client-go v11.0.0+incompatible
42-
github.com/json-iterator/go v1.1.12
43-
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
28+
k8s.io/api v0.24.0
29+
k8s.io/apimachinery v0.24.0
30+
k8s.io/client-go v0.24.0
4431
sigs.k8s.io/yaml v1.3.0
4532
)
4633

47-
replace k8s.io/client-go => k8s.io/client-go v0.20.1
34+
require (
35+
cloud.google.com/go/compute v1.6.1 // indirect
36+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
37+
github.com/Azure/go-autorest/autorest v0.11.25 // indirect
38+
github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect
39+
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
40+
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
41+
github.com/Azure/go-autorest/logger v0.2.1 // indirect
42+
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
43+
github.com/PuerkitoBio/purell v1.1.1 // indirect
44+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
45+
github.com/beorn7/perks v1.0.1 // indirect
46+
github.com/blang/semver v3.5.1+incompatible // indirect
47+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
48+
github.com/davecgh/go-spew v1.1.1 // indirect
49+
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
50+
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
51+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
52+
github.com/fsnotify/fsnotify v1.5.3 // indirect
53+
github.com/go-logr/logr v1.2.3 // indirect
54+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
55+
github.com/go-openapi/jsonreference v0.19.6 // indirect
56+
github.com/go-openapi/swag v0.21.1 // indirect
57+
github.com/go-playground/locales v0.13.0 // indirect
58+
github.com/go-playground/universal-translator v0.17.0 // indirect
59+
github.com/gogo/protobuf v1.3.2 // indirect
60+
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
61+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
62+
github.com/golang/protobuf v1.5.2 // indirect
63+
github.com/google/gnostic v0.5.7-v3refs // indirect
64+
github.com/google/go-cmp v0.5.7 // indirect
65+
github.com/google/gofuzz v1.2.0 // indirect
66+
github.com/google/uuid v1.3.0 // indirect
67+
github.com/googleapis/gax-go/v2 v2.3.0 // indirect
68+
github.com/hashicorp/errwrap v1.1.0 // indirect
69+
github.com/imdario/mergo v0.3.12 // indirect
70+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
71+
github.com/jmespath/go-jmespath v0.4.0 // indirect
72+
github.com/josharian/intern v1.0.0 // indirect
73+
github.com/juju/loggo v0.0.0-20190526231331-6e530bcce5d8 // indirect
74+
github.com/juju/testing v0.0.0-20191001232224-ce9dec17d28b // indirect
75+
github.com/kr/pretty v0.3.0 // indirect
76+
github.com/leodido/go-urn v1.2.0 // indirect
77+
github.com/leonelquinteros/gotext v1.5.0 // indirect
78+
github.com/mailru/easyjson v0.7.7 // indirect
79+
github.com/mattn/go-colorable v0.1.12 // indirect
80+
github.com/mattn/go-isatty v0.0.14 // indirect
81+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
82+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
83+
github.com/modern-go/reflect2 v1.0.2 // indirect
84+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
85+
github.com/onsi/ginkgo v1.16.5 // indirect
86+
github.com/onsi/gomega v1.19.0 // indirect
87+
github.com/prometheus/client_model v0.2.0 // indirect
88+
github.com/prometheus/common v0.34.0 // indirect
89+
github.com/prometheus/procfs v0.7.3 // indirect
90+
github.com/rogpeppe/go-internal v1.6.2 // indirect
91+
github.com/stretchr/testify v1.7.1 // indirect
92+
go.opencensus.io v0.23.0 // indirect
93+
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
94+
golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 // indirect
95+
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 // indirect
96+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
97+
golang.org/x/text v0.3.7 // indirect
98+
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
99+
google.golang.org/appengine v1.6.7 // indirect
100+
google.golang.org/genproto v0.0.0-20220422154200-b37d22cd5731 // indirect
101+
google.golang.org/grpc v1.46.0 // indirect
102+
google.golang.org/protobuf v1.28.0 // indirect
103+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
104+
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
105+
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
106+
gopkg.in/inf.v0 v0.9.1 // indirect
107+
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect
108+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
109+
k8s.io/klog/v2 v2.60.1 // indirect
110+
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
111+
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
112+
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
113+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
114+
)

0 commit comments

Comments
 (0)