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

feat: support dynamic templateref naming. Fixes: #10542 #12842

Merged
merged 7 commits into from
Apr 12, 2024

Conversation

shuangkun
Copy link
Member

@shuangkun shuangkun commented Mar 25, 2024

Support dynamic templateref naming

Fixes #10542

Motivation

Modifications

Verification

@shuangkun shuangkun marked this pull request as draft March 25, 2024 13:57
@shuangkun shuangkun closed this Mar 26, 2024
@shuangkun shuangkun reopened this Mar 26, 2024
@shuangkun shuangkun force-pushed the feat/DynamicTemplateRefNaming branch from 3849027 to 98902b9 Compare March 26, 2024 06:28
@shuangkun shuangkun closed this Mar 26, 2024
@shuangkun shuangkun reopened this Mar 26, 2024
@shuangkun shuangkun closed this Mar 26, 2024
@shuangkun shuangkun reopened this Mar 26, 2024
@shuangkun shuangkun closed this Mar 29, 2024
@shuangkun shuangkun reopened this Mar 29, 2024
@shuangkun shuangkun closed this Mar 31, 2024
@shuangkun shuangkun reopened this Mar 31, 2024
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
@shuangkun shuangkun force-pushed the feat/DynamicTemplateRefNaming branch from 98902b9 to d11ae37 Compare April 2, 2024 11:13
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
@shuangkun shuangkun marked this pull request as ready for review April 2, 2024 13:21
Copy link
Member

@tczhao tczhao left a comment

Choose a reason for hiding this comment

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

Seems the current code already resolves those templates just we never had them in the verify code, correct?

@shuangkun
Copy link
Member Author

Seems the current code already resolves those templates just we never had them in the verify code, correct?

Yes, "resolveReferences/resolveDependencyReferences" is execute before "expandStep/expandTask". So item will be resolved before executeTemplate.

Copy link
Member

@tczhao tczhao left a comment

Choose a reason for hiding this comment

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

lgtm

@tczhao tczhao self-assigned this Apr 8, 2024
@terrytangyuan terrytangyuan merged commit 76b2a3f into argoproj:main Apr 12, 2024
27 checks passed
@agilgur5 agilgur5 added this to the v3.6.0 milestone Apr 12, 2024
tczhao pushed a commit to tczhao/argo that referenced this pull request Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support dynamic templateRef naming
4 participants