Skip to content

Add Cadence Samples: Dockerfile, Deployment YAML, and Usage Guide#31

Open
CosminL-DEV wants to merge 3 commits into
cadence-workflow:mainfrom
CosminL-DEV:cadence-samples
Open

Add Cadence Samples: Dockerfile, Deployment YAML, and Usage Guide#31
CosminL-DEV wants to merge 3 commits into
cadence-workflow:mainfrom
CosminL-DEV:cadence-samples

Conversation

@CosminL-DEV

@CosminL-DEV CosminL-DEV commented Jun 16, 2025

Copy link
Copy Markdown
Contributor

This PR introduces a comprehensive set of examples for running and testing Cadence workflows using containers in Kubernetes. It includes:

  • A specialized Dockerfile (Dockerfile.samples) to build images with Cadence samples.
  • A Kubernetes YAML file (cadence-samples-pod.yaml) for easy test pod deployment.
  • A detailed usage guide (README.md) with instructions for:
    • Registering the domain in Cadence.
    • Building and pushing the image to your registry.
    • Deploying the pod on Kubernetes.
    • Running and testing sample workflows (Hello World, File Processing, DSL).
    • Links to additional documentation and source code.

These additions make it easier to validate, learn, and automate workflow tests in Kubernetes environments.

@CosminL-DEV CosminL-DEV changed the title Cadence samples Add Cadence Samples: Dockerfile, Deployment YAML, and Usage Guide Jun 16, 2025
@CosminL-DEV CosminL-DEV marked this pull request as ready for review June 16, 2025 13:10
@@ -0,0 +1,30 @@
apiVersion: v1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for dockerizing this. We can do this in the samples repo and have CI to push image to dockerhub. This way, chart users can simply use it and avoid bunch of steps. I will track this separately.

@CosminL-DEV

Copy link
Copy Markdown
Contributor Author

@taylanisikdemir I created a new PR in cadence-samples. We can keep this one here until the versioning and official Docker Hub image are ready, and then we can add the cadence-samples pod deployment to the examples folder once it's complete.

@taylanisikdemir

Copy link
Copy Markdown
Member

@taylanisikdemir I created a new PR in cadence-samples. We can keep this one here until the versioning and official Docker Hub image are ready, and then we can add the cadence-samples pod deployment to the examples folder once it's complete.

Sounds good. Let's add a TODO in the README file about this and link cadence-workflow/cadence-samples#94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants