Hera has complete feature parity with YAML as a definition language for Argo Workflows. To demonstrate the equivalency (and improvements that Hera offers), we provide two collections of examples.
The "Upstream" collection contains examples directly from the Argo Workflows repository, such as the DAG Diamond example, to demonstrate how the YAML spec maps to Hera classes. These examples are generated and compared in Hera's CI/CD pipeline to ensure that all the examples are possible to recreate in Hera.
If you'd like to contribute missing examples, please see the table below and follow the Contributing Guide!
The "Hera" collection shows off features and idiomatic usage of Hera such as the Coinflip example using the script decorator.
Explore the examples through the side bar!
You can help by contributing these examples!