-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
kube-shell: init at 0.0.21 #43802
kube-shell: init at 0.0.21 #43802
Conversation
@GrahamcOfBorg build kube-shell |
Failure on x86_64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: kube-shell Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: kube-shell Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: kube-shell Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: kube-shell Partial log (click to expand)
|
Seems like the build failures were due to some network error?
Still kind of weird that it only succeeded in Darwin 😕 |
It is probably a sandbox issue. Darwin should fail but the sandbox is broken. |
Do you think it's a matter of retrying @matthewbauer? I tried to build using Ubuntu and also worked. I can try NixOS too if that helps. |
|
||
buildInputs = with pythonPackages; [ pexpect ]; | ||
|
||
buildPhase = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to use the builtin buildPhase provided by buildPythonApplication
owner = "cloudnativelabs"; | ||
}; | ||
|
||
buildInputs = with pythonPackages; [ pexpect ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to add to build inputs all of these:
'prompt-toolkit>=1.0.10,<1.1.0',
'Pygments>=2.1.3,<3.0.0',
'fuzzyfinder>=1.0.0',
'click>=4.0,<7.0',
'kubernetes>=0.10.0,<3.0.0',
${python.interpreter} setup.py build | ||
''; | ||
|
||
installPhase = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Install phase should also be handled by buildPythonApplication.
This one is pretty stale by now. Will look at it again and open another PR if necessary 👍 Thanks! |
Motivation for this change
Nice shell for
kubectl
😄I don't know if
development/tools
is the most appropriate place for this though. I'll happy to change it otherwise.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)