Closed danielstravito closed 2 years ago
This script needs to be changed:
https://github.com/CircleCI-Public/aws-ecs-orb/blob/master/src/scripts/register-new-task-def.sh
Needs a parameter for adding:
--runtime-platform=cpuArchitecture=ARM64,operatingSystemFamily=LINUX
Hey @danielstravito,
I've merged PR #155 to add the runtime-platform
parameter. I'm closing this issue for now but please feel free to reopen if that doesn't work for your use case.
Thanks! Brian
Shouldn't this be added to the update-service? Or how does it work? Can I now update the taskdef manually to arm64 and using update-service will no longer overwrite that - or can I pass runtime-platform to update-service, or do I have to use update-task-definition? I can't see it mentioned in the documentation here:
https://circleci.com/developer/orbs/orb/circleci/aws-ecs?version=2.3.0
And that version is newer than your comment above.
Update: Verified that it doesn't touch existing platform now. Enough for me, even if it would be nice to be able to specify it as parameter to update-service.
Orb version:
2.2.1
What happened:
I had a taskdef with the following, and the service was live and healthy with ARM64.
I then deployed via this orb, and now it's on
Linux/X86_64
rather thanARM64
.I use the following for deploys:
Expected behavior:
Either don't touch the platform, or expose functionality that lets you control the platform.