Runner Name use ECS Task id/Container id
HieronyM opened this issue · comments
I'm wondering, is it possible to append the ECS task ID or ECS container runtime ID on the runner name?
So far I can only append the hostname by setting RANDOM_RUNNER_SUFFIX
to false
. But I don't think the information is enough, to execute the stop/termination of the ECS task (after the task is done and workflow_job.completed
webhook event is sent I want to terminate the ECS Task)
I found a gist to set it, https://gist.github.com/jbdazn/cc34871a384502d52480f6419d208bd7#file-entrypoint-sh-L76-L80
Correction, it works now. Use EPHEMERAL
option solve it.
and instead of using tasks in a service, I use ECS Standalone task.