Cloud-CV / Cloud-CV/EvalAI

[Backend] Add support to recreate workers on EC2 instance for active challenges

Open
#3,644 2 comments 0 reactions 0 assignees View on GitHub
backend easy_to_fix GSOC-2022
Dominant language
Python
Stars
2k
Forks
984
Avg merge
2h 54m
Merged PRs (30d)
14

Description

### Description

To push latest changes to active workers on EC2 instance 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 [worker deployment script](https://github.com/Cloud-CV/EvalAI/blob/master/scripts/deployment/deploy.sh#L210) individually.

We need to add support for recreating the fargate service (i.e. delete service and create) for all active challenges in the deployment script.

Deliverables:

1. Add API calls to fetch all active challenges
2. Use the fetched challenges to recreate the workers on EC2 instance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.