Skip to content
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

Fix new container decorator example #1178

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

elliotgunton
Copy link
Collaborator

Pull Request Checklist

  • Fixes erroneous example
  • Tests added
  • Documentation/examples added
  • Good commit messages and/or PR title

Description of PR
New container decorator example was using a python image as the image wasn't set in the decorator kwargs (and instead used the default global_config.image in the ContainerMixin validator). Also ran make regenerate-test-data to fix examples.

Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
@elliotgunton elliotgunton added semver:patch A change requiring a patch version bump type:documentation A documentation update labels Aug 28, 2024
@@ -26,5 +26,9 @@ class MyOutput(Output):


@w.set_entrypoint
@w.container(command=["sh", "-c"], args=["echo Hello {{inputs.parameters.user}} | tee /tmp/hello_world.txt"])
@w.container(
image="busybox",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the only manual change in this PR

@elliotgunton elliotgunton enabled auto-merge (squash) August 28, 2024 10:02
@elliotgunton elliotgunton merged commit 44aa480 into main Aug 28, 2024
22 checks passed
@elliotgunton elliotgunton deleted the update-container-example branch August 28, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants