mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #6339 from zmerlynn/skip_paranoia
Skip cleaning docker cache prior to build
This commit is contained in:
commit
46e5ec3617
@ -34,15 +34,17 @@ export PATH=$PATH:/usr/local/go/bin
|
|||||||
export KUBE_RELEASE_RUN_TESTS=n
|
export KUBE_RELEASE_RUN_TESTS=n
|
||||||
export KUBE_SKIP_CONFIRMATIONS=y
|
export KUBE_SKIP_CONFIRMATIONS=y
|
||||||
|
|
||||||
# Clean stuff out. Assume the worst - the last build may have left the
|
# Clean stuff out. Assume the last build left the tree in an odd
|
||||||
# tree in an odd state. There's a Jenkins git clean plugin, but we
|
# state.
|
||||||
# have the docker images to worry about as well, so be really pedantic
|
|
||||||
# about cleaning.
|
|
||||||
rm -rf ~/.kube*
|
rm -rf ~/.kube*
|
||||||
make clean
|
make clean
|
||||||
git clean -fdx
|
git clean -fdx
|
||||||
docker ps -aq | xargs -r docker rm
|
|
||||||
docker images -q | xargs -r docker rmi
|
# Uncomment if you want to purge the Docker cache completely each
|
||||||
|
# build. It costs about 150s each build to pull the golang image and
|
||||||
|
# rebuild the kube-build:cross image, but these rarely change.
|
||||||
|
# docker ps -aq | xargs -r docker rm
|
||||||
|
# docker images -q | xargs -r docker rmi
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
go run ./hack/e2e.go -v --build
|
go run ./hack/e2e.go -v --build
|
||||||
|
Loading…
Reference in New Issue
Block a user