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

optimize flag logic about wait #1051

Merged
merged 4 commits into from
Oct 19, 2023
Merged

optimize flag logic about wait #1051

merged 4 commits into from
Oct 19, 2023

Conversation

yxxhero
Copy link
Member

@yxxhero yxxhero commented Sep 30, 2023

optimize flag logic about wait

@yxxhero yxxhero marked this pull request as ready for review September 30, 2023 23:42
@yxxhero
Copy link
Member Author

yxxhero commented Sep 30, 2023

@mumoshu Regarding configuration priorities, I feel like we should make some decisions. It's a little unclear at the moment. WDYT?

@xiaomudk
Copy link
Contributor

xiaomudk commented Oct 7, 2023

@yxxhero There was a lack of test cases here before, we should add them this time. WDYT?

@yxxhero
Copy link
Member Author

yxxhero commented Oct 7, 2023

@xiaomudk I think so.

Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
}{
{
name: "release wait for jobs",
release: &ReleaseSpec{WaitForJobs: &[]bool{true, true}[0]},
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one true

},
{
name: "release wait for jobs false",
release: &ReleaseSpec{WaitForJobs: &[]bool{false, false}[0]},
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one false

}{
{
name: "release wait",
release: &ReleaseSpec{Wait: &[]bool{true, true}[0]},
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one

},
{
name: "release wait false",
release: &ReleaseSpec{Wait: &[]bool{false, false}[0]},
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one

Signed-off-by: yxxhero <aiopsclub@163.com>
@yxxhero yxxhero merged commit a371e41 into main Oct 19, 2023
14 checks passed
@yxxhero yxxhero deleted the optimize-flag-logic branch October 19, 2023 12:32
JadeHayes pushed a commit to Secretions/helmfile that referenced this pull request Dec 7, 2023
* optimize flag logic about wait

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>

* add units

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix little issues

Signed-off-by: yxxhero <aiopsclub@163.com>

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: Jade Hayes <jade.hayes@dominodatalab.com>
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.

None yet

2 participants