-
Notifications
You must be signed in to change notification settings - Fork 15
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
trigger-argo-workflow
does not print the workflow url until the workflow completion when --wait
flag is used
#70
Comments
newbie question...is the workflow uri returned by the argo CLI prior to completion when using the |
@dblinkhorn We build the URI ourselves from the preconfigured server and namespace, and the workflow name returned by argo cli: shared-workflows/actions/trigger-argo-workflow/cmd/trigger-argo-workflow/argo.go Lines 61 to 74 in 81c3771
I ran a small test that confirmed the name is printed as soon as the workflow is submitted:
Also, I noticed the same can be achieved with 2 consecutive commands:
I assume the latter will also make parsing the name from the output easier. |
@fornfrey thanks for this helpful response! I'll get to work on the issue. |
When submitting a workflow with the
--wait
flag, the process blocks until the workflow is completed. This results in the workflow URL being printed to the output only after workflow completion.Sample job output to compare the time of logs:
The text was updated successfully, but these errors were encountered: