Signed-off-by: Daniel Nephin <dnephin@docker.com>
| ... | ... |
@@ -201,9 +201,6 @@ RUN ln -sfv $PWD/.bashrc ~/.bashrc |
| 201 | 201 |
# Add integration helps to bashrc |
| 202 | 202 |
RUN echo "source $PWD/hack/make/.integration-test-helpers" >> /etc/bash.bashrc |
| 203 | 203 |
|
| 204 |
-# Register Docker's bash completion. |
|
| 205 |
-RUN ln -sv $PWD/contrib/completion/bash/docker /etc/bash_completion.d/docker |
|
| 206 |
- |
|
| 207 | 204 |
# Get useful and necessary Hub images so we can "docker load" locally instead of pulling |
| 208 | 205 |
COPY contrib/download-frozen-image-v2.sh /go/src/github.com/docker/docker/contrib/ |
| 209 | 206 |
RUN ./contrib/download-frozen-image-v2.sh /docker-frozen-images \ |
| ... | ... |
@@ -8,7 +8,6 @@ CONTAINERD_COMMIT=3addd840653146c90a254301d6c3a663c7fd6429 |
| 8 | 8 |
TINI_COMMIT=949e6facb77383876aeff8a6944dde66b3089574 |
| 9 | 9 |
LIBNETWORK_COMMIT=7b2b1feb1de4817d522cc372af149ff48d25028e |
| 10 | 10 |
VNDR_COMMIT=c56e082291115e369f77601f9c071dd0b87c7120 |
| 11 |
-BINDATA_COMMIT=a0ff2567cfb70903282db057e799fd826784d41d |
|
| 12 | 11 |
|
| 13 | 12 |
# CLI |
| 14 | 13 |
DOCKERCLI_REPO=https://github.com/docker/cli |
| ... | ... |
@@ -46,14 +46,6 @@ install_proxy() {
|
| 46 | 46 |
go build -ldflags="$PROXY_LDFLAGS" -o /usr/local/bin/docker-proxy github.com/docker/libnetwork/cmd/proxy |
| 47 | 47 |
} |
| 48 | 48 |
|
| 49 |
-install_bindata() {
|
|
| 50 |
- echo "Install go-bindata version $BINDATA_COMMIT" |
|
| 51 |
- git clone https://github.com/jteeuwen/go-bindata "$GOPATH/src/github.com/jteeuwen/go-bindata" |
|
| 52 |
- cd $GOPATH/src/github.com/jteeuwen/go-bindata |
|
| 53 |
- git checkout -q "$BINDATA_COMMIT" |
|
| 54 |
- go build -o /usr/local/bin/go-bindata github.com/jteeuwen/go-bindata/go-bindata |
|
| 55 |
-} |
|
| 56 |
- |
|
| 57 | 49 |
install_dockercli() {
|
| 58 | 50 |
echo "Install docker/cli version $DOCKERCLI_COMMIT" |
| 59 | 51 |
git clone "$DOCKERCLI_REPO" "$GOPATH/src/github.com/docker/cli" |
| ... | ... |
@@ -117,16 +109,12 @@ do |
| 117 | 117 |
go build -v -o /usr/local/bin/vndr . |
| 118 | 118 |
;; |
| 119 | 119 |
|
| 120 |
- bindata) |
|
| 121 |
- install_bindata |
|
| 122 |
- ;; |
|
| 123 |
- |
|
| 124 | 120 |
dockercli) |
| 125 | 121 |
install_dockercli |
| 126 | 122 |
;; |
| 127 | 123 |
|
| 128 | 124 |
*) |
| 129 |
- echo echo "Usage: $0 [tomlv|runc|runc-dynamic|containerd|containerd-dynamic|tini|proxy|proxy-dynamic|bindata|vndr|dockercli]" |
|
| 125 |
+ echo echo "Usage: $0 [tomlv|runc|runc-dynamic|containerd|containerd-dynamic|tini|proxy|proxy-dynamic|vndr|dockercli]" |
|
| 130 | 126 |
exit 1 |
| 131 | 127 |
|
| 132 | 128 |
esac |
| ... | ... |
@@ -280,7 +280,7 @@ Function Validate-GoFormat($headCommit, $upstreamCommit) {
|
| 280 | 280 |
|
| 281 | 281 |
# Get a list of all go source-code files which have changed. Ignore exit code on next call - always process regardless |
| 282 | 282 |
$files=@(); $files = Invoke-Expression "git diff $upstreamCommit...$headCommit --diff-filter=ACMR --name-only -- `'*.go`'" |
| 283 |
- $files = $files | Select-String -NotMatch "^vendor/" | Select-String -NotMatch "^cli/compose/schema/bindata.go" |
|
| 283 |
+ $files = $files | Select-String -NotMatch "^vendor/" |
|
| 284 | 284 |
$badFiles=@(); $files | %{
|
| 285 | 285 |
# Deliberately ignore error on next line - treat as failed |
| 286 | 286 |
$content=Invoke-Expression "git show $headCommit`:$_" |
| ... | ... |
@@ -4,7 +4,7 @@ export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
| 4 | 4 |
source "${SCRIPTDIR}/.validate"
|
| 5 | 5 |
|
| 6 | 6 |
IFS=$'\n' |
| 7 |
-files=( $(validate_diff --diff-filter=ACMR --name-only -- '*.go' | grep -v '^vendor/' | grep -v '^api/types/container/' | grep -v '^cli/compose/schema/bindata.go' | grep -v '^api/types/plugins/logdriver/entry.pb.go' || true) ) |
|
| 7 |
+files=( $(validate_diff --diff-filter=ACMR --name-only -- '*.go' | grep -v '^vendor/' | grep -v '^api/types/container/' | grep -v '^api/types/plugins/logdriver/entry.pb.go' || true) ) |
|
| 8 | 8 |
unset IFS |
| 9 | 9 |
|
| 10 | 10 |
errors=() |