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: Parameter overwritten does not work when resubmitting archived workflow (#11086) #11087

Merged
merged 2 commits into from
May 15, 2023

Conversation

toyamagu-2021
Copy link
Member

@toyamagu-2021 toyamagu-2021 commented May 14, 2023

Motivation

Fixes #11086

Modifications

  • Pass req.Parameters to FormulateResubmitWorkflow

Verification

  1. argo submit -n argo --watch https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/arguments-parameters.yaml
  2. argo archive resubmit ${uid} -> message: hello world (expected)
  3. argo archive resubmit ${uid} --parameter message=test -> message: test (expected)

@toyamagu-2021 toyamagu-2021 marked this pull request as ready for review May 14, 2023 18:51
@sarabala1979
Copy link
Member

@juliev0 can you take quick look?

…orkflow. (argoproj#11086)

Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
@juliev0
Copy link
Contributor

juliev0 commented May 15, 2023

@juliev0 can you take quick look?

LGTM, but I think @terrytangyuan will be a better judge since he worked on this code.

@sarabala1979 sarabala1979 enabled auto-merge (squash) May 15, 2023 05:59
Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
auto-merge was automatically disabled May 15, 2023 12:51

Head branch was pushed to by a user without write access

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Good catch! This was missed in my PR a while back.

@terrytangyuan terrytangyuan merged commit c1c3a5a into argoproj:master May 15, 2023
23 checks passed
terrytangyuan pushed a commit that referenced this pull request May 25, 2023
…orkflow (#11086) (#11087)

Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
…orkflow (argoproj#11086) (argoproj#11087)

Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
…orkflow (argoproj#11086) (argoproj#11087)

Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
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.

Parameter overwritten does not work when resubmitting ArchivedWorkflow
5 participants