-
-
Notifications
You must be signed in to change notification settings - Fork 579
Rename "Dns" playbook to "DNS". Closes #3281 #3288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 3 commits
05be7ca
e43c8a9
30d00f4
126f803
cd025bc
0472d77
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # This file is a part of IntelOwl https://github.com/intelowlproject/IntelOwl | ||
| # See the file 'LICENSE' for copying permission. | ||
|
|
||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| def migrate(apps, schema_editor): | ||
| PlaybookConfig = apps.get_model("playbooks_manager", "PlaybookConfig") | ||
| if not PlaybookConfig.objects.filter(name="DNS").exists(): | ||
| PlaybookConfig.objects.filter(name="Dns").update(name="DNS") | ||
|
|
||
|
|
||
| def reverse_migrate(apps, schema_editor): | ||
| PlaybookConfig = apps.get_model("playbooks_manager", "PlaybookConfig") | ||
| if not PlaybookConfig.objects.filter(name="Dns").exists(): | ||
| PlaybookConfig.objects.filter(name="DNS").update(name="Dns") | ||
mlodic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("playbooks_manager", "0062_add_cleanbrowsing_to_free_to_use"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.RunPython(migrate, reverse_migrate), | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,11 @@ services: | |
|
|
||
|
|
||
| daphne: | ||
| build: | ||
| context: .. | ||
| dockerfile: docker/Dockerfile | ||
| args: | ||
| REPO_DOWNLOADER_ENABLED: ${REPO_DOWNLOADER_ENABLED} | ||
|
Comment on lines
+23
to
+27
|
||
| image: intelowlproject/intelowl:ci | ||
| env_file: | ||
| - env_file_app_ci | ||
|
|
@@ -43,6 +48,11 @@ services: | |
| memory: 200M | ||
|
|
||
| celery_beat: | ||
| build: | ||
| context: .. | ||
| dockerfile: docker/Dockerfile | ||
| args: | ||
| REPO_DOWNLOADER_ENABLED: ${REPO_DOWNLOADER_ENABLED} | ||
|
Comment on lines
+51
to
+55
|
||
| image: intelowlproject/intelowl:ci | ||
| env_file: | ||
| - env_file_app_ci | ||
|
|
@@ -53,6 +63,11 @@ services: | |
| memory: 200M | ||
|
|
||
| celery_worker_default: | ||
| build: | ||
| context: .. | ||
| dockerfile: docker/Dockerfile | ||
| args: | ||
| REPO_DOWNLOADER_ENABLED: ${REPO_DOWNLOADER_ENABLED} | ||
|
Comment on lines
+66
to
+70
|
||
| image: intelowlproject/intelowl:ci | ||
| env_file: | ||
| - env_file_app_ci | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.