Free templates for Argo Workflows.
argoproj-labs / argo-workflows-catalog Goto Github PK
View Code? Open in Web Editor NEWArgo Workflows Catalog
Home Page: https://argoproj-labs.github.io/argo-workflows-catalog/
Argo Workflows Catalog
Home Page: https://argoproj-labs.github.io/argo-workflows-catalog/
Free templates for Argo Workflows.
Working on the argocd-sync-and-wait task over lunch, noticed that after running the make, it mangles some of the inputs. They're still valid, however not something that we'd want to commit to git. Example:
Before:
source: |
#!/bin/bash
set -euo pipefail
if [[ -z $ARGOCD_AUTH_TOKEN ]] && [[ -z "$ARGOCD_USERNAME" || -z "$ARGOCD_PASSWORD" ]]; then
echo "Either the ARGOCD_AUTH_TOKEN must be specified, or the ARGOCD_USERNAME/ARGOCD_PASSWORD must be specified."
exit 1
fi
if [ -z $ARGOCD_AUTH_TOKEN ]; then
yes | argocd login "$ARGOCD_SERVER" --username=$ARGOCD_USERNAME --password=$ARGOCD_PASSWORD {{inputs.parameters.flags}}
fi
echo "Running as ArgoCD User:"
argocd account get-user-info {{inputs.parameters.flags}}
argocd app sync {{inputs.parameters.application-name}} --revision {{inputs.parameters.revision}} {{inputs.parameters.flags}}
argocd app wait {{inputs.parameters.application-name}} --health {{inputs.parameters.flags}}
After:
source: "#!/bin/bash\n\nset -euo pipefail\n\nif [[ -z $ARGOCD_AUTH_TOKEN ]]
&& [[ -z \"$ARGOCD_USERNAME\" || -z \"$ARGOCD_PASSWORD\" ]]; then\n echo
\"Either the ARGOCD_AUTH_TOKEN must be specified, or the ARGOCD_USERNAME/ARGOCD_PASSWORD
must be specified.\"\n exit 1\nfi \n\nif [ -z $ARGOCD_AUTH_TOKEN ]; then\n
\ yes | argocd login \"$ARGOCD_SERVER\" --username=$ARGOCD_USERNAME --password=$ARGOCD_PASSWORD
{{inputs.parameters.flags}}\nfi\n\necho \"Running as ArgoCD User:\"\nargocd
account get-user-info {{inputs.parameters.flags}}\n\nargocd app sync {{inputs.parameters.application-name}}
--revision {{inputs.parameters.revision}} {{inputs.parameters.flags}}\nargocd
app wait {{inputs.parameters.application-name}} --health {{inputs.parameters.flags}}"
Hi!
This is Sergio from Artifact Hub ๐
We wanted to let you know that we've just added support for Argo templates to Artifact Hub ๐
To have some sample templates to test it, we've created a fork of this repository that includes the necessary AH metadata files. It'd be great if you could publish it under the Argo organization in AH, so if you want us to create a PR please let us know (or feel free to pick anything you need from it, whatever works best for you). You can see how the templates listed look in AH here.
For more information about how Argo templates repositories work in Artifact Hub you can see the Argo templates section in the repositories guide. Artifact Hub also allows you to embed a small view of a group of packages in your site, just in case you are interested (i.e. the Keptn project uses it to list their integrations).
Looking forward to seeing more templates shared on Artifact Hub!
Thanks!
argo -n argo template create https://raw.githubusercontent.com/argoproj-labs/argo-workflows-catalog/master/templates/terraform-basic/manifests.yaml
2021/01/01 01:40:46 Failed to parse workflow template: error unmarshaling JSON: while decoding JSON: json: unknown field "outputs"
make: *** [configure] Error 1
argo versionargo: latest+310e099.dirty
BuildDate: 2020-11-21T04:40:37Z
GitCommit: 310e099f82520030246a7c9d66f3efaadac9ade2
GitTreeState: dirty
GitTag: v2.11.8
GoVersion: go1.15.5
Compiler: gc
Platform: darwin/amd64
Maybe we can have a public Argo workflow where you can trigger the template and see how it work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.