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

docs: fix coinflip recursive example #8696

Merged
merged 1 commit into from
May 11, 2022
Merged

docs: fix coinflip recursive example #8696

merged 1 commit into from
May 11, 2022

Conversation

tculp
Copy link
Contributor

@tculp tculp commented May 10, 2022

Fix the resursive example to call the coinflip template, which was NOT recursive.

Fix the resursive example to call the coinflip template

Signed-off-by: Tyler Culp <[email protected]>
@alexec
Copy link
Contributor

alexec commented May 10, 2022

Thank you! Could you run this an attach the result please?

@tculp
Copy link
Contributor Author

tculp commented May 11, 2022

Screen Shot 2022-05-11 at 9 25 31 AM

Name:                coinflip-recursive-9gzmm
Namespace:           argo
ServiceAccount:      unset (will run with the default ServiceAccount)
Status:              Succeeded
Conditions:
 PodRunning          False
 Completed           True
Created:             Tue May 10 13:44:54 -0400 (40 seconds ago)
Started:             Tue May 10 13:44:54 -0400 (40 seconds ago)
Finished:            Tue May 10 13:45:34 -0400 (now)
Duration:            40 seconds
Progress:            4/4
ResourcesDuration:   5s*(1 cpu),1s*(100Mi memory)

STEP                         TEMPLATE   PODNAME                              DURATION  MESSAGE
 ✔ coinflip-recursive-9gzmm  coinflip
 ├───✔ flip-coin             flip-coin  coinflip-recursive-9gzmm-3059564890  3s
 └─┬─○ heads                 heads                                                     when 'tails == heads' evaluated false
   └─✔ tails                 coinflip
     ├───✔ flip-coin         flip-coin  coinflip-recursive-9gzmm-608008902   2s
     └─┬─○ heads             heads                                                     when 'tails == heads' evaluated false
       └─✔ tails             coinflip
         ├───✔ flip-coin     flip-coin  coinflip-recursive-9gzmm-2566434138  3s
         └─┬─✔ heads         heads      coinflip-recursive-9gzmm-3038940703  3s
           └─○ tails         coinflip                                                  when 'heads == tails' evaluated false

This workflow does not have security context set. You can run your workflow pods more securely by setting it.
Learn more at https://argoproj.github.io/argo-workflows/workflow-pod-security-context/

@alexec alexec merged commit b3bf327 into argoproj:master May 11, 2022
@tculp tculp deleted the patch-1 branch May 11, 2022 22:48
This was referenced Jun 20, 2022
@sarabala1979 sarabala1979 mentioned this pull request Jul 30, 2022
51 tasks
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