Giter Club home page Giter Club logo

Comments (3)

sircthulhu avatar sircthulhu commented on June 23, 2024 1

@aobort according to kubernetes releases, version 1.27 is going to be the end of line in June, 2024. I suppose we need to support all "alive" versions

from etcd-operator.

aobort avatar aobort commented on June 23, 2024

How many k8s versions prior the latest one do we want to support and need to be tested?

from etcd-operator.

aobort avatar aobort commented on June 23, 2024

Removed copying of ResourceVersion to newly generated structure and run tests for k8s versions 1.27.1, 1.28.0, 1.29.0:

for ver in {1.27.1,1.28.0,1.29.0}; do ENVTEST_K8S_VERSION=$ver make test; done
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
KUBEBUILDER_ASSETS="/Users/A117675684/Repos/aenix.io/etcd-operator/bin/k8s/1.27.1-darwin-arm64" go test $(go list ./... | grep -v /e2e) -coverprofile cover.out
?       github.com/aenix-io/etcd-operator/cmd   [no test files]
?       github.com/aenix-io/etcd-operator/test/utils    [no test files]
ok      github.com/aenix-io/etcd-operator/api/v1alpha1  4.283s  coverage: 14.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller   6.520s  coverage: 50.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller/factory   4.564s  coverage: 92.2% of statements
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
KUBEBUILDER_ASSETS="/Users/A117675684/Repos/aenix.io/etcd-operator/bin/k8s/1.28.0-darwin-arm64" go test $(go list ./... | grep -v /e2e) -coverprofile cover.out
?       github.com/aenix-io/etcd-operator/cmd   [no test files]
?       github.com/aenix-io/etcd-operator/test/utils    [no test files]
ok      github.com/aenix-io/etcd-operator/api/v1alpha1  4.405s  coverage: 14.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller   6.426s  coverage: 50.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller/factory   5.115s  coverage: 92.2% of statements
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
/Users/A117675684/Repos/aenix.io/etcd-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
KUBEBUILDER_ASSETS="/Users/A117675684/Repos/aenix.io/etcd-operator/bin/k8s/1.29.0-darwin-arm64" go test $(go list ./... | grep -v /e2e) -coverprofile cover.out
?       github.com/aenix-io/etcd-operator/cmd   [no test files]
?       github.com/aenix-io/etcd-operator/test/utils    [no test files]
ok      github.com/aenix-io/etcd-operator/api/v1alpha1  4.459s  coverage: 14.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller   6.872s  coverage: 50.0% of statements
ok      github.com/aenix-io/etcd-operator/internal/controller/factory   4.785s  coverage: 92.2% of statements

from etcd-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.