EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

[Backend] Add support to recreate fargate workers for active challenges from django admin

Open Ram81 opened this issue 3 years ago • 6 comments

Description

To push latest changes to active farget workers we need to recreate the service so that it uses the latest docker image of submission worker. Currently, we recreate worker service for each challenge manually by deleting the worker and starting it again using django admin individually.

We need to add support for recreating the fargate service (i.e. delete service and create) for all active challenges from django admin.

Deliverables:

  1. Show a option on Django admin for recreating fargate services for all active challenges
  2. Add Django post hooks to recreate services for active challenges

Ram81 avatar Dec 17 '21 16:12 Ram81

@Ram81 Hi ! I have a fair understanding of Django and the codebase . Is this issue open for contribution ?

eshaanagarwal avatar Dec 31 '21 16:12 eshaanagarwal

Hi @Ram81 Can I work on this issue.

haldendmello avatar Jan 19 '22 16:01 haldendmello

Hi @Ram81 please check. This is the expected behavior?. If not then please can I get some help?

Steps to Follow

  1. Select "Ongoing" from "By Challenges" filter for all active challenges to get selected.
  2. Select all the Challenges.
  3. Go to Action and select "Delete and Start all selected challenge workers".

workersGIF

haldendmello avatar Jan 27 '22 07:01 haldendmello

Hi @haldendmello yes, that is correct.

Ram81 avatar Jan 27 '22 18:01 Ram81

@Ram81 I have send pull request. https://github.com/Cloud-CV/EvalAI/pull/3685

haldendmello avatar Jan 28 '22 06:01 haldendmello

@Ram81 I don't think we need this one. Can we please close this?

gchhablani avatar Mar 21 '23 08:03 gchhablani