forked from wongwill86/air-tasks
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Overhauled build process - New in-repo docker base image. - Allows custom airflow configuration - currently 1.9 + custom performance patch - remove unnecessary custom celery loader - Update fernet key - Fix some sp - Update README - Upgrade to python 3 - Reorganize repo to reflect what's in the docker image - Remove chunkflow dag
- Loading branch information
1 parent
66f42b2
commit bf30a01
Showing
47 changed files
with
779 additions
and
718 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# prevent from adding these files/folders into the docker image | ||
.cache | ||
.git | ||
.ropeproject | ||
cloud | ||
secrets | ||
tests | ||
docker | ||
.env | ||
.* | ||
# we need these 3 git folders to be included for version tagging | ||
!.git/refs/heads/* | ||
.git/refs/heads/*/* | ||
!.git/refs/tags/* | ||
.git/refs/tags/*/* | ||
!.git/HEAD |
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 @@ | ||
./config/airflow.cfg |
Submodule cloud
updated
6 files
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,19 @@ | ||
from airflow import configuration | ||
|
||
# Broker settings. | ||
CELERY_CONFIG = { | ||
'accept_content': ['json', 'pickle'], | ||
'event_serializer': 'json', | ||
'result_serializer': 'pickle', | ||
'task_serializer': 'pickle', | ||
'worker_prefetch_multiplier': 1, | ||
'task_acks_late': True, | ||
'task_reject_on_worker_lost': True, | ||
'broker_url': configuration.get('celery', 'broker_url'), | ||
'result_backend': configuration.get('celery', 'CELERY_RESULT_BACKEND'), | ||
'worker_concurrency': | ||
configuration.getint('celery', 'CELERYD_CONCURRENCY'), | ||
'task_default_queue': configuration.get('celery', 'DEFAULT_QUEUE'), | ||
'task_default_exchange': configuration.get('celery', 'DEFAULT_QUEUE'), | ||
'worker_send_task_events': True | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.