Skip to content
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

kubernetes: add kubectl zsh completion #38228

Merged
merged 1 commit into from Apr 4, 2018

Conversation

mbode
Copy link
Contributor

@mbode mbode commented Mar 31, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Mar 31, 2018

@GrahamcOfBorg build kubernetes

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

    cmd/genkubedocs
    cmd/genman
    cmd/genyaml
make: Leaving directory '/tmp/nix-build-kubernetes-1.9.1.drv-0/source'
installing
patching script interpreter paths in /nix/store/j1rdyq0vyx03z77im8iqidg214m4a4fy-kubernetes-1.9.1/bin/kube-addons
/nix/store/j1rdyq0vyx03z77im8iqidg214m4a4fy-kubernetes-1.9.1/bin/kube-addons: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/6kz2vbh98s2r1pfshidkzhiy2s2qdw0a-stdenv-linux/setup: line 1233: /share/zsh/site-functions/_kubectl: No such file or directory
builder for ‘/nix/store/rlfmc0vjnfy5xmgjpik4f2zl8afn6kay-kubernetes-1.9.1.drv’ failed with exit code 1
error: build of ‘/nix/store/rlfmc0vjnfy5xmgjpik4f2zl8afn6kay-kubernetes-1.9.1.drv’ failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

    cmd/genkubedocs
    cmd/genman
    cmd/genyaml
make: Leaving directory '/build/source'
installing
patching script interpreter paths in /nix/store/wfm5zqyhl1al872s55nask4xa9lls6p4-kubernetes-1.9.1/bin/kube-addons
/nix/store/wfm5zqyhl1al872s55nask4xa9lls6p4-kubernetes-1.9.1/bin/kube-addons: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/yq16vcdl95kfqjzq23lxhin38i3whlyj-stdenv-linux/setup: line 1233: /share/zsh/site-functions/_kubectl: No such file or directory
builder for '/nix/store/3igc8z9j87c0cnrk5q2scx6y1hpibgpz-kubernetes-1.9.1.drv' failed with exit code 1
�[31;1merror:�[0m build of '/nix/store/3igc8z9j87c0cnrk5q2scx6y1hpibgpz-kubernetes-1.9.1.drv' failed

@Mic92
Copy link
Member

Mic92 commented Mar 31, 2018

I can reproduce borg's failure.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: kubernetes

Partial log (click to expand)

    cmd/kubectl
    cmd/kubelet
    cmd/kube-apiserver
    cmd/kube-controller-manager
    cmd/kube-proxy
    plugin/cmd/kube-scheduler
    test/e2e/e2e.test
    *******
building of '/nix/store/nmxaz5ahg3mrppsw2155x8h6kjzafi9q-kubernetes-1.9.1.drv' timed out after 1800 seconds
�[31;1merror:�[0m build of '/nix/store/nmxaz5ahg3mrppsw2155x8h6kjzafi9q-kubernetes-1.9.1.drv' failed

@mbode
Copy link
Contributor Author

mbode commented Apr 2, 2018

@Mic92 sorry about that, should work now.

@Mic92
Copy link
Member

Mic92 commented Apr 4, 2018

@GrahamcOfBorg build kubernetes

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/gsr54qlw2irdkj4r09agna7bc3d7yc0x-kubernetes-1.9.1-man
checking for references to /tmp/nix-build-kubernetes-1.9.1.drv-0 in /nix/store/gsr54qlw2irdkj4r09agna7bc3d7yc0x-kubernetes-1.9.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/pfx8k0q2qlqnk8kjhxbf8yinrpv6waya-kubernetes-1.9.1-pause
shrinking /nix/store/pfx8k0q2qlqnk8kjhxbf8yinrpv6waya-kubernetes-1.9.1-pause/bin/pause
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/pfx8k0q2qlqnk8kjhxbf8yinrpv6waya-kubernetes-1.9.1-pause/bin
patching script interpreter paths in /nix/store/pfx8k0q2qlqnk8kjhxbf8yinrpv6waya-kubernetes-1.9.1-pause
checking for references to /tmp/nix-build-kubernetes-1.9.1.drv-0 in /nix/store/pfx8k0q2qlqnk8kjhxbf8yinrpv6waya-kubernetes-1.9.1-pause...
/nix/store/fk7lcf3h8z7ikpib5i73kq5zxycd4clr-kubernetes-1.9.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/83lx1hbaz0pr0xwd8cjhnpf1snrkl20n-kubernetes-1.9.1-man
checking for references to /build in /nix/store/83lx1hbaz0pr0xwd8cjhnpf1snrkl20n-kubernetes-1.9.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/gzvg7j6bsg2485sdpf02fdd2lncjl1dc-kubernetes-1.9.1-pause
shrinking /nix/store/gzvg7j6bsg2485sdpf02fdd2lncjl1dc-kubernetes-1.9.1-pause/bin/pause
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gzvg7j6bsg2485sdpf02fdd2lncjl1dc-kubernetes-1.9.1-pause/bin
patching script interpreter paths in /nix/store/gzvg7j6bsg2485sdpf02fdd2lncjl1dc-kubernetes-1.9.1-pause
checking for references to /build in /nix/store/gzvg7j6bsg2485sdpf02fdd2lncjl1dc-kubernetes-1.9.1-pause...
/nix/store/w1q635ksc9vyf0x7n44cksym51nmhpyf-kubernetes-1.9.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: kubernetes

Partial log (click to expand)

    cmd/kubectl
    cmd/kubelet
    cmd/kube-apiserver
    cmd/kube-controller-manager
    cmd/kube-proxy
    plugin/cmd/kube-scheduler
    test/e2e/e2e.test
    *******
building of '/nix/store/3bl1n6d0g7rmgm79s7a8y8rlzkspfzz5-kubernetes-1.9.1.drv' timed out after 1800 seconds
�[31;1merror:�[0m build of '/nix/store/3bl1n6d0g7rmgm79s7a8y8rlzkspfzz5-kubernetes-1.9.1.drv' failed

@Mic92 Mic92 merged commit df57003 into NixOS:master Apr 4, 2018
@Mic92
Copy link
Member

Mic92 commented Apr 4, 2018

18.03:

[detached HEAD 386e832] kubernetes: add kubectl zsh completion
Author: Maximilian Bode maximilian.bode@tngtech.com
Date: Sat Mar 31 16:37:32 2018 +0200
1 file changed, 2 insertions(+), 1 deletion(-)

@mbode mbode deleted the kubectl_zsh_completion branch April 4, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants