forked from draveness/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
istio-docker.mk
for 30 second builds (istio#9085)
* Refactor istio-docker.mk for 30 second builds This PR significantly cleans up istio-docker.mk and causes makes `make docker` to run in ~10% of the time on my gear compared to master under the same testing circumstances. Most of this PR's work is done by reducing the size of the build context sent to the docker daemon. Note the times below are the `make docker` operation after `make docker` has already been done. The first `make docker` without cached images can take varying times to build. The results here simply measure the overhead of building the go binaries and sending the correct data in the Docker build context. ``` sdake@falkor-07:~/go/src/istio.io/istio$ time make docker mkdir -p /home/sdake/go/out/logs bin/gobuild.sh /home/sdake/go/out/linux_amd64/release/pilot-discovery ./pilot/cmd/pilot-discovery . . . real 0m26.074s user 0m14.800s sys 0m7.020s ``` * remove docker.kubectl from list of targets * Address review coments. * Add proxy_debug changes to enable versioning
- Loading branch information
1 parent
ae576bb
commit 529ebbd
Showing
2 changed files
with
112 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters