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 unable to fetch ECS taskset tags #4605

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

khanhtc1202
Copy link
Member

What this PR does / why we need it:

The current implementation of fetching ECS taskset is wrong because ECS describe-services API does not return tasksets' TAGS. We have to use the ECS describe-task-sets with --includes TAGS option to get those tags for filtering logic.

refer: https://docs.aws.amazon.com/cli/latest/reference/ecs/describe-task-sets.html

Which issue(s) this PR fixes:

Follow #4600

Does this PR introduce a user-facing change?:

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

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (e53569d) 30.02% compared to head (91f5590) 30.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4605      +/-   ##
==========================================
- Coverage   30.02%   30.00%   -0.03%     
==========================================
  Files         221      221              
  Lines       25937    25955      +18     
==========================================
  Hits         7787     7787              
- Misses      17501    17519      +18     
  Partials      649      649              
Files Coverage Δ
pkg/app/piped/platformprovider/ecs/client.go 0.00% <0.00%> (ø)

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

Copy link
Member

@ffjlabo ffjlabo left a comment

Choose a reason for hiding this comment

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

👍

@khanhtc1202 khanhtc1202 enabled auto-merge (squash) October 6, 2023 09:04
@khanhtc1202 khanhtc1202 merged commit 3809d60 into master Oct 6, 2023
12 of 14 checks passed
@khanhtc1202 khanhtc1202 deleted the fix-fetch-ecs-taskset-tags branch October 6, 2023 09:25
khanhtc1202 added a commit that referenced this pull request Oct 11, 2023
khanhtc1202 added a commit that referenced this pull request Oct 11, 2023
* Display MySQL user defined error in API Key UI (#4590)

* Display MySQL user defined error in UI

Signed-off-by: Kenta Kozuka <[email protected]>

* Fix Unexpected empty arrow function

Signed-off-by: Kenta Kozuka <[email protected]>

* Add tests

Signed-off-by: Kenta Kozuka <[email protected]>

* Run subtests in parallel

Signed-off-by: Kenta Kozuka <[email protected]>

---------

Signed-off-by: Kenta Kozuka <[email protected]>

* Display MySQL user defined error of piped, command, and application (#4597)

Signed-off-by: Kenta Kozuka <[email protected]>

* Add service tags as takset task on create (#4598)

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

* [ECS] Fix remove all previous active tasksets on QuickSync (#4600)

* Remove previous ACTIVE tasksets if present on quicksync

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

* Remove GetPrimaryTaskSet interface

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

---------

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

* Fix unable to fetch ECS taskset tags (#4605)

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

* Support recreate for ECS tasks (#4608)

* Support singleton ECS task

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

* Rename singleton to recreate

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

---------

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

---------

Signed-off-by: Kenta Kozuka <[email protected]>
Signed-off-by: khanhtc1202 <[email protected]>
Co-authored-by: Kenta Kozuka <[email protected]>
moko-poi pushed a commit to moko-poi/pipecd that referenced this pull request Nov 3, 2023
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Nov 5, 2023
@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.

3 participants