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

[ECS] Support 5 missing fields in TaskDefinition #5424

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Conversation

t-kikuc
Copy link
Member

@t-kikuc t-kikuc commented Dec 16, 2024

What this PR does:

Enabled to configure the following fields when registering a task definition:

  • InferenceAccelerators
  • PidMode
  • IpcMode
  • PlacementConstraints
  • ProxyConfiguration

cf. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html

Why we need it:

Users want to configure the missing fields. That is currently impossible.

Which issue(s) this PR fixes:

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):

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 25.96%. Comparing base (5e1a7f5) to head (dc19f29).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/app/piped/platformprovider/ecs/client.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5424   +/-   ##
=======================================
  Coverage   25.95%   25.96%           
=======================================
  Files         451      451           
  Lines       48793    48799    +6     
=======================================
+ Hits        12665    12669    +4     
- Misses      35121    35124    +3     
+ Partials     1007     1006    -1     

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

Copy link
Contributor

@Warashi Warashi left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

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.

🚀

@t-kikuc t-kikuc merged commit 0e4fbc0 into master Dec 16, 2024
17 of 18 checks passed
@t-kikuc t-kikuc deleted the ecs-missing-fields branch December 16, 2024 08:28
@github-actions github-actions bot mentioned this pull request Jan 21, 2025
github-actions bot pushed a commit that referenced this pull request Jan 21, 2025
* Add missing fields in RegisterTaskDef

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* remove two restrictions

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>
Warashi added a commit that referenced this pull request Jan 21, 2025
* [ECS] Support 5 missing fields in TaskDefinition (#5424)

* Add missing fields in RegisterTaskDef

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* remove two restrictions

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

* [ECS] Enabled to configure/update `PropagateTags` and `EnableECSManagedTags` (#5425)

* Enable updating PropagateTags and specifying other than SERVICE

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* Enable updating EnableECSManagedTags

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* Remove default PropagateTags: unnecessary

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* support propagateTags other than SERVICE

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

* Enhance logging in EventWatcher (#5443)

* Add logger.Error() before returning for detailed logs

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* Enhance error logging in event watcher with additional context for push and commit failures

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

* fixed to certainly store the startTime (#5461)

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

* Add default envs in ScriptRunStage: SR_TRIGGERED_COMMANDER, SR_IS_ROLLBACK (#5464)

* Add TriggeredCommandar

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* add isRollback

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* update docs

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* fix name->id

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* fix env name

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* fix: specify isRollback since deployment.Status is always Planned

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* fix typo

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

* Add case of `pipectl sync`

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

* Release v0.50.1 (#5498)

Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>

---------

Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: pipecd-bot <pipecd.dev@gmail.com>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Co-authored-by: Tetsuya KIKUCHI <97105818+t-kikuc@users.noreply.github.com>
Co-authored-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants