-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EnvVars at project/spider level and set for job envVars (#211)
* BITMAKER-2845 Allow setting environment variables at spider and project levels (#172) * Set environment variables at project and spider level * Adding cronjobs envvars setting * Save stats from Redis to the DB when stopping a job * Show STOPPED status in estela-web --------- Co-authored-by: Raymond Negron <raymond1242@Raymonds-MacBook-Air.local> Co-authored-by: emegona <mateo@emegona.com>
- Loading branch information
1 parent
0089993
commit 21d199a
Showing
36 changed files
with
1,674 additions
and
313 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
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
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
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
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
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
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
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,35 @@ | ||
# Generated by Django 3.1.14 on 2023-08-14 22:38 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0032_project_framework"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="spiderjobenvvar", | ||
name="project", | ||
field=models.ForeignKey( | ||
help_text="Project pid.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="env_vars", | ||
to="core.project", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="spiderjobenvvar", | ||
name="spider", | ||
field=models.ForeignKey( | ||
help_text="Spider sid.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="env_vars", | ||
to="core.spider", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.