-
Notifications
You must be signed in to change notification settings - Fork 13
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
[ENH] Add Argo CLI to base Nebari image #83
Comments
Note to self: You also have to set up env vars or
|
Hi @kcpevey, do you have any recommendations for circumventing this in order to use the Argo CLI on Nebari? |
If I'm not mistaken, the summary above is the workaround to using it on nebari. Unfortunately I wrote it not as a guide but rather a "see how involved this is?". I think it should cover everything you need to get it working though. |
Just to make sure I understand, this summary is for creating a docker image that inherits from the base Nebari image and includes the Argo CLI, which can then be specified in the Nebari config? |
No, although you can certainly do it that way. My approach was just to install the argo cli manually for only my user in my user instance. |
This issue is a proposal to add argo-cli to the base image so it would be available to everyone. Currently, you have to add it manually by uploading to somewhere in your path. |
If you're open to contributions I would be glad to submit a PR with this feature. We are currently using a separate docker image when argo-cli is needed (https://github.com/carbonplan/argo-docker) but I agree it would be great for everyone to have easier access to the argo cli. |
Also, fwiw it seems the argo cli increases the image size by ~.2 GB. |
I think a PR would be welcome, plus any improvements to docs that help using Argo effectively. |
Feature description
While I'm writing Argo workflows its very helpful to be able to debug in the command line. It would be great if the Argo CLI were installed by default.
Installing it on my local machine might be easy, but there are some things about working on Nebari that make this more involved.
First, the Argo docs recommend you follow the instructions on the Releases page
This includes the command
mv ./argo-linux-amd64 /usr/local/bin/argo
which will not work on Nebari. You'll first need to create the directorymkdir -p ~/bin/argo
and then move it into theremv ./argo-linux-amd64 ~/bin/argo
since our/usr/local
is not writable.There may be a better location that is already being added to PATH, but if you put it in the above path, you'll also need to create a
.bash_profile
withThis will cause you to lose all the fancy coloring and conda env display that is specified in the
.bashrc
. I dont have time right now to work through that, but you get the point. Its frustrating.Value and/or benefit
It will be easier for users to debug Argo things, and they don't have to go through the above.
Anything else?
No response
The text was updated successfully, but these errors were encountered: