-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
High Level Tooling for Argo #732
Comments
The approach we are taking with regards to workflow composability and support for other languages is:
|
Thanks Jesse. Is it possible to use the current swagger.json to generate the yaml? Or is it intended only to make calls to endpoint? |
It should now be possible to generate the models/class definitions in any language using swagger-codegen and passing |
Thanks Jesse. I will give it a try. |
Just a heads up for anyone attempting this. The |
Does anyone have an example of building an Argo pipeline using the python libraries generated via openapi? |
Can I ask if anyone is actively building the swagger types? I've been trying to build a usable python setup to facilitate some workflow generation for my team that's been working with an increasingly brittle dockerized airflow deployment, but I've running into issues with missing specifications (notably the WorkflowStatus type). I found this guy had apparently run into the same thing and just added it into his build: edwardgeorge/argo@5fb51d8 In any case I love you guys. This project is exceedingly dope. At some point I'll try to contribute something more than pointing out a little-used type omission. I do think that it'd be pretty easy to add some testing for the swagger build. At least in python this could have been caught trivially by running the swagger-codegen and importing the top-level module. Thanks! |
I tried creating the client for python using swagger and supplied the k8s spec as well. I'm not sure about using it to create Workflows, I can't do I did this to create the client and install it git clone https://github.com/swiftdiaries/argo_client
cd argo_client
java -jar swagger-codegen-cli.jar generate \
-i argo_swagger.json \
-i k8s_swagger.json \
-l python \
-o /var/tmp/argo_client \
-DpackageName=argo_client
cd /var/tmp/argo_client
python setup.py install
python -c `import argo_client` |
Looks like this discussion concluded with the above information |
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
It would be nice if Argo considered providing high level tooling to help compose workflows.
Reading through the list of issues, I found the following related posts:
Would it be possible to provide libraries in other languages (e.g. Python) to help compose the yaml? Has this already been thought about? If yes, what would be the expected look and feel?
The text was updated successfully, but these errors were encountered: