Skip to content

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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

CosminL-DEV
Copy link
Contributor

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

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
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
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
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