-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
test: bind mount gomodcache to cache go dependencies #41846
Conversation
try to speed up ci jobs integration tests
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
instead of binding the volume on each dockerfile, run the container with the proper volume arg
can't really bind using hostpath in k8s
since it's a local cluster, use kind to bind the hostpath to the node then bind the node path to the container path
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
* test: bind mount gomodcache to cache go dependencies try to speed up ci jobs integration tests * test(metricbeat): do not make gomodcache readonly * lint: replace ioutil usage * test: fail on empty gomodcache * test: rework cache bind approach instead of binding the volume on each dockerfile, run the container with the proper volume arg * test: bind gomodcache in kubernetes runner * test: sync the gomodcache with rsync and fix linter issues can't really bind using hostpath in k8s * test: rework bind approach with k8s runner since it's a local cluster, use kind to bind the hostpath to the node then bind the node path to the container path * lint: remove unused imports * lint: fix linter issues (cherry picked from commit 9045642)
* test: bind mount gomodcache to cache go dependencies try to speed up ci jobs integration tests * test(metricbeat): do not make gomodcache readonly * lint: replace ioutil usage * test: fail on empty gomodcache * test: rework cache bind approach instead of binding the volume on each dockerfile, run the container with the proper volume arg * test: bind gomodcache in kubernetes runner * test: sync the gomodcache with rsync and fix linter issues can't really bind using hostpath in k8s * test: rework bind approach with k8s runner since it's a local cluster, use kind to bind the hostpath to the node then bind the node path to the container path * lint: remove unused imports * lint: fix linter issues (cherry picked from commit 9045642) Co-authored-by: kruskall <[email protected]>
Proposed commit message
try to speed up ci jobs integration tests
bind host go mod cache to container
/go/pkg/mod
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs