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: ECS WaitService finish before task running #4568

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

tokku5552
Copy link
Contributor

@tokku5552 tokku5552 commented Aug 25, 2023

What this PR does / why we need it:
Fixed an issue where ECS tasks were marked as successful before they were all started

Which issue(s) this PR fixes:

Follow PR #4548

Does this PR introduce a user-facing change?:

  • How are users affected by this change: No
  • Is this breaking change: No
  • How to migrate (if breaking change):

@khanhtc1202
Copy link
Member

@tokku5552 Thanks for contribution, please use git commit -s to sign-off the commit 😄
You can find how to do it here: https://github.com/pipe-cd/pipecd/blob/master/CONTRIBUTING.md#contributor-license-agreement

@tokku5552 tokku5552 force-pushed the fix-ecs-stable-waiting branch 2 times, most recently from 3c1a856 to f650075 Compare August 25, 2023 10:35
徳田 真之介 and others added 2 commits August 25, 2023 19:37
Copy link
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

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

Great catch, thank you ❤️

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02% 🎉

Comparison is base (9f75446) 29.91% compared to head (9892069) 29.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4568      +/-   ##
==========================================
+ Coverage   29.91%   29.94%   +0.02%     
==========================================
  Files         220      220              
  Lines       25873    25877       +4     
==========================================
+ Hits         7741     7749       +8     
+ Misses      17484    17481       -3     
+ Partials      648      647       -1     
Files Changed Coverage Δ
pkg/app/piped/platformprovider/ecs/client.go 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@khanhtc1202 khanhtc1202 merged commit 78cfc03 into pipe-cd:master Aug 25, 2023
12 of 13 checks passed
khanhtc1202 added a commit that referenced this pull request Aug 25, 2023
* fix: ECS WaitService finish before task running

Signed-off-by: 徳田 真之介 <[email protected]>

* Update pkg/app/piped/platformprovider/ecs/client.go

Co-authored-by: Khanh Tran <[email protected]>
Signed-off-by: 徳田 真之介 <[email protected]>

---------

Signed-off-by: 徳田 真之介 <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
khanhtc1202 added a commit that referenced this pull request Aug 25, 2023
* Support create ECS service with serviceRegistries configuration (#4564)

Signed-off-by: khanhtc1202 <[email protected]>

* Support update service which contains serviceRegistries (#4567)

Signed-off-by: khanhtc1202 <[email protected]>

* fix: ECS WaitService finish before task running (#4568)

* fix: ECS WaitService finish before task running

Signed-off-by: 徳田 真之介 <[email protected]>

* Update pkg/app/piped/platformprovider/ecs/client.go

Co-authored-by: Khanh Tran <[email protected]>
Signed-off-by: 徳田 真之介 <[email protected]>

---------

Signed-off-by: 徳田 真之介 <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>

---------

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: 徳田 真之介 <[email protected]>
Co-authored-by: tokku5552 <[email protected]>
@tokku5552 tokku5552 deleted the fix-ecs-stable-waiting branch August 25, 2023 11:09
moko-poi pushed a commit to moko-poi/pipecd that referenced this pull request Nov 3, 2023
* fix: ECS WaitService finish before task running

Signed-off-by: 徳田 真之介 <[email protected]>

* Update pkg/app/piped/platformprovider/ecs/client.go

Co-authored-by: Khanh Tran <[email protected]>
Signed-off-by: 徳田 真之介 <[email protected]>

---------

Signed-off-by: 徳田 真之介 <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
Signed-off-by: moko-poi <[email protected]>
@github-actions github-actions bot mentioned this pull request Dec 1, 2023
@github-actions github-actions bot mentioned this pull request Feb 6, 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.

2 participants