Comments (4)
@ytsarev @kuritka As I was trying upgrade to v0.16.0, the idea to opt out from vendoring came to my mind too :)
The work is in https://github.com/AbsaOSS/ohmyglb/tree/upgrade-operator-sdk-v0.16.0 branch, PR is coming soon...
from k8gb.
In package dependency tree you can find github.com/openshift/api v3.9.1 but github.com/openshift/api is no longer tagged. After cleaning package cache go clean -modcache && make build
you obtain something like this github.com/openshift/[email protected]+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found
You can bypass error by downloading newest operator framework and running go mod download
to populate go cache or upgrading GSLB to newer version
from k8gb.
@somaritane @kuritka maybe we should deprecate /vendor
completely as part of the upgrade
from k8gb.
@somaritane @ytsarev - Hi deprecating /vendor is step right way.
module versions are kept within go.mod
and modules are physically in src/pkg/mod/...
. Regarding pipeline \vendor
folder is skipping anyway because go build .
in Go 1.13 reads modules from src/pkg/mod/...
(viz demo below). Also package verification (go mod verify
) is impossible on vendoring folders (plan is go 1.15). /vendor is fine when your build server cannot download from internet etc..
viz demo:
## <= go 1.13
go mod edit -go 1.13
go run -mod=vendor ./main.go
# HELLO FROM VENDOR
go run ./main.go
# Hello from /src/pkg/mod/github.com/kuritka/gext
## <= go 1.14
go mod edit -go 1.14
go run ./main.go
# HELLO FROM VENDOR
Also we should consider upgrading Go to 1.14
from k8gb.
Related Issues (20)
- Track the impact of HashiCorp license MPL -> BSL HOT 1
- HelmChart values validations
- Reverse proxy support? HOT 4
- 🟢 Revisit github workflow pipelines HOT 1
- 🟢 Revisit HelmChart
- 🟢 Revisit documentation
- 🟢 Release K8gb v1.0.0
- 🟢 Replace the old k8gb code with the new k8gb-lite code
- Push k8gb to OCP operator hub
- Security slam HOT 1
- Cluster can't return own entries
- document split brain scenario and the system behaviour HOT 2
- Create security self-assessment.md of k8gb and contribute it to CNCF Tag security
- Expand renovate to more codebase containing versions
- Please add yourself to `ADOPTERS.md`!
- "Additional property cloudflare is not allowed" appears when deploying Cloudflare integration HOT 2
- `TestFailoverPlayground ` flaky terratest
- Document the case of when a load balancing configuration is not deployed in every cluster
- Release pipeline fails with cosign validation
- scorecard pipeline is failing in `master` branch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8gb.