-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backend] Add custom worker image for challenges (#4077)
* Add support for defining custom worker Signed-off-by: AyushR1 <[email protected]> * Fix global dict change and only modify worker image Signed-off-by: AyushR1 <[email protected]> * Revert "Fix global dict change and only modify worker image" This reverts commit 1fa5795. * Update according to review Signed-off-by: AyushR1 <[email protected]> --------- Signed-off-by: AyushR1 <[email protected]> Co-authored-by: Gunjan Chhablani <[email protected]>
- Loading branch information
1 parent
e3f83d7
commit 3cf4204
Showing
3 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
apps/challenges/migrations/0099_challenge_worker_image_url.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 2.2.20 on 2023-07-31 22:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('challenges', '0098_challenge_tags_domains'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='challenge', | ||
name='worker_image_url', | ||
field=models.URLField(blank=True, default=None, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters