Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.94 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.94 KB

Porter Argo Demo

Porter Logo Argo Workflows Logo

NOTE: This project is a work-in-progress please reach out with any feedback.

The Porter Operator and Argo Workflows working side by side. To quickly see the power of these two project working together just clone this repo and deploy locally.

git clone https://github.com/bdegeeter/porter-argo-demo
cd porter-argo-demo
make deploy

The default make deploy target installs all tool dependencies in the .tools directory and creates a local KinD cluster. It then deploys the Porter Operator, Argo Workflows and a demo Argo WorkflowTemplate. The workflow template creates a Porter Operator Installation resource.

There's some additional make targets for submitting a demo workflow for the template and getting the installation outputs from the Porter bundle.

You can also submit a workflow and watch it execute via the Argo WebUI at https://porter-argo.localtest.me/workflows

make argo-submit-workflow
make argo-get-latest-output

Any bundle can be run by this Argo Workflow using the porterBundleRepo and porterBundleVersion parameters. Required CredentialSets must be created in advance and referenced via a JSON list [ "my-cred-set" ]. Parameters must be a valid JSON object { "delay": "3", "exitStatus": "0" }