-
Notifications
You must be signed in to change notification settings - Fork 42
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
setup-envtest has been changed in master (script removed) #39
Comments
Seems to work with the new go install ... however there seem to be breaking changes in the tests regarding Ginko and there seems to be an hardcoded path to another part of the toolchain as well ...
Followed by:
So /usr/local/kubebuilder/bin/etcd -> needs to be adjusted for binary install (?) |
this operator was scaffolded by https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/ Need to see what is the latest output and try to merge the changes. My local version:
According to https://sdk.operatorframework.io/docs/building-operators/golang/migration/ , we need to migrate the code. Could you please help? |
Will see what I can do. From a quick glance only the tests seem broken. Successfully deployed it on a 3 node Kubernetes v1.21.1+k3s1 cluster with the included example config (go test simply commented out) Self-Heals manually deleted deployments for master/filer/volume as long as the Seaweed resource is deployed. This could really need a general cleanup, also since the scafolded template itself is somewhat confusing.
I could also add a Jenkins config for auto-test, auto-tagging and deploy to Dockerhub - but I'd only do that if you plan to use it. Not a fan of tying myself to much to deeply to a single service like Github Actions (Jenkins configuration can be migrated elswhere) |
Great! Just let me know if you need any help. how to use Jenkins config on github? |
Will do - mixed up Jenkins (we're using that for our builds) with Travis. I've been doing that here: https://github.com/thiscantbeserious/k8dash/blob/master/.travis.yml In that case Jenkins is building on each commit - and then uploads the resulting images to Dockerhub tagged by commit-id. However you could also use a fixed version number in a config-file of course. All it needs is a little bit of setup in Travis to store your credentials. https://www.travis-ci.com/github/thiscantbeserious/k8dash/builds/149534376 |
I have added testing .travis.yml file and authorizations. I also invited you to maintain this repo. |
See - the script was removed and it is now installable via go directly:
kubernetes-sigs/controller-runtime#1488
This also means that the current tests will fail since the setup-envtest.sh that is getting pulled simply contains "404"
Will see if I can do a pull request.
Would you rather just include the shell-script from the 0.8 release or call the go install in the Makefile?
The text was updated successfully, but these errors were encountered: