Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Road to version 9.0: Updated go version to 1.22 & Fixed Breaking Changes ✨ #1037

Open
wants to merge 34 commits into
base: version-9.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0f80a5f
fix handler.go
brokenpip3 Jul 19, 2024
b7f4e25
refactor: minor fixes
ansh-devs Jul 20, 2024
bfd9d3c
fix: manager for controller
ansh-devs Jul 21, 2024
9cfc490
fix: deprecated Webhook Server & cache Namespace
ansh-devs Jul 21, 2024
b86f06d
chore: tidy go.mod
ansh-devs Jul 21, 2024
141df91
chore: Makefile indentation
ansh-devs Jul 21, 2024
0091907
update golangci-lint version
ansh-devs Jul 21, 2024
0ea755e
chore: added sort-result in golangci
ansh-devs Jul 21, 2024
1851026
chore: dependencies update
ansh-devs Jul 21, 2024
cf6f304
chore: resmap dependency added
ansh-devs Jul 21, 2024
23dc235
chore: tidy go.mod
ansh-devs Jul 21, 2024
62d43f9
chore: linter resource package dependency added
ansh-devs Jul 21, 2024
9ba4586
fix: restorebackup test migrated to use VolumeResourceRequirements
ansh-devs Jul 21, 2024
62a1e7c
deps: golangci dependency modified
ansh-devs Jul 21, 2024
9d12e54
fix: refactored to support context API
ansh-devs Jul 21, 2024
87ec9f8
feat: mocks updated
ansh-devs Jul 21, 2024
b2f6f48
fix: golangci linting errors
ansh-devs Jul 21, 2024
1cb7be2
fix(ci)- fixed golangci linting errors
ansh-devs Jul 21, 2024
404c5e0
fix: tests, golangci
ansh-devs Jul 21, 2024
dee9bbf
chore: updated go version in nix
ansh-devs Jul 21, 2024
c4d583e
chore(deps): updated go version in base.env
ansh-devs Jul 21, 2024
df66c98
(chore): updated node version in nix configs
ansh-devs Jul 21, 2024
dd31159
refactor(tests): reconcile_test
ansh-devs Jul 22, 2024
8da241b
refactor(tests): fixed github and bitbucket pushTrigger test
ansh-devs Jul 24, 2024
559d145
refactor(test): seedjob tests passing
ansh-devs Jul 25, 2024
c7a1938
refactor(tests): smtp commented and some refactoring
ansh-devs Jul 27, 2024
6c2ca15
refactor(tests): removed unused dependencies
ansh-devs Jul 28, 2024
46fb2a9
chore: updated go staticcheck version
ansh-devs Aug 2, 2024
3fa1973
chore: updated KUSTOMIZE tools version
ansh-devs Aug 2, 2024
fdcdea2
(tests): increased jenkins base configuration timeouts
ansh-devs Aug 10, 2024
359dbac
Merge branch 'version-9.0' of https://github.com/ansh-devs/kubernetes…
brokenpip3 Oct 20, 2024
f9ded15
chore: plugins and lts version october update (#1070)
brokenpip3 Oct 20, 2024
e23fb22
sunday tests investigation
brokenpip3 Dec 8, 2024
8d92780
temp disable groovy test suite
brokenpip3 Dec 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: golangci dependency modified
ansh-devs committed Jul 21, 2024
commit 62a1e7c0770c87ef8095ddafc69945205a10200d
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ HAS_GOLINT := $(shell which $(PROJECT_DIR)/bin/golangci-lint)
lint: ## Verifies `golint` passes
@echo "+ $@"
ifndef HAS_GOLINT
GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1
GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0
endif
@bin/golangci-lint run

65 changes: 32 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
@@ -5,43 +5,44 @@ go 1.22.0
toolchain go1.22.5

require (
github.com/bndr/gojenkins v1.0.1
github.com/docker/distribution v2.8.1+incompatible
github.com/emersion/go-smtp v0.16.0
github.com/bndr/gojenkins v1.1.0
github.com/docker/distribution v2.8.3+incompatible
github.com/emersion/go-smtp v0.21.3
github.com/go-logr/logr v1.4.2
github.com/go-logr/zapr v1.2.4
github.com/go-logr/zapr v1.3.0
github.com/golang/mock v1.6.0
github.com/mailgun/mailgun-go/v3 v3.6.4
github.com/onsi/ginkgo v1.16.5
github.com/onsi/ginkgo/v2 v2.17.2
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/openshift/api v3.9.0+incompatible
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.25.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.25.0
golang.org/x/mod v0.17.0
golang.org/x/mod v0.19.0
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
k8s.io/api v0.30.3
k8s.io/apimachinery v0.30.3
k8s.io/cli-runtime v0.30.3
k8s.io/client-go v0.30.3
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
sigs.k8s.io/controller-runtime v0.16.3
sigs.k8s.io/controller-runtime v0.18.4
)

require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-chi/chi v4.0.0+incompatible // indirect
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-chi/chi v4.1.2+incompatible // indirect
github.com/go-errors/errors v1.5.1 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
@@ -50,51 +51,50 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/pprof v0.0.0-20240721033354-7089f98c1d14 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
github.com/moby/spdystream v0.4.0 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/xlab/treeprint v1.2.0 // indirect
go.starlark.net v0.0.0-20240705175910-70002002b310 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/term v0.22.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
golang.org/x/tools v0.23.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
@@ -103,8 +103,7 @@ require (
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.28.3 // indirect
k8s.io/component-base v0.28.3 // indirect
k8s.io/apiextensions-apiserver v0.30.3 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20240709000822-3c01b740850f // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Loading