Skip to content
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

Niveditha/test airflow with python38 v1 #19

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
450 commits
Select commit Hold shift + click to select a range
9621055
Adding support and documentation for airflow plugins
theodoresiu Jan 12, 2018
6a60c0b
Small fixes after testing
theodoresiu Jan 12, 2018
c1083f7
Merge pull request #12 from medicode/feature/1-9-official
kevincvlam Jan 15, 2018
caec3fa
custome->custom
maxcountryman Jan 17, 2018
9297218
Merge pull request #148 from maxcountryman/patch-1
puckel Jan 17, 2018
9734cc6
Merge pull request #146 from theodoresiu/add_plugin_support
puckel Jan 24, 2018
449e225
Upgrading python to 3.6, adding support for google cloud and other de…
bonneaud Jan 26, 2018
a7ab312
Fix celery result_backend config variable
diraol Jan 29, 2018
7a99885
Fix typo
diraol Jan 29, 2018
3dc5a0f
Remove duplicated ENV and simplify pip usage on Dockerfile
diraol Jan 29, 2018
0835f21
Also upgrade docker image on docker build
diraol Jan 29, 2018
321bc42
Merge pull request #152 from diraol/celery_backend
puckel Jan 30, 2018
46b673a
adding gcs
adinin Jan 30, 2018
c2c2245
Merge pull request #13 from medicode/feature/add-gcs
cbockman Jan 31, 2018
48dd83c
moving dependency to test image
adinin Jan 31, 2018
dd79e22
Merge pull request #14 from medicode/feature/add-gcs
cbockman Jan 31, 2018
7872cf1
Fix celery variable on entrypoint
diraol Jan 31, 2018
0a78e18
remove pip install which does not exist for python3.6
rllin-fathom Feb 1, 2018
c8e975b
remove uncessary installs
rllin-fathom Feb 1, 2018
0bcdb29
Merge pull request #15 from medicode/add/support_t2t_ci_tests
cbockman Feb 1, 2018
18bb158
Merge pull request #153 from diraol/celery_backend
puckel Feb 1, 2018
bcd9c6c
fix CELERY_RESULT_BACKEND env var name
rootcss Feb 19, 2018
7eafd87
Merge pull request #161 from rootcss/master
puckel Mar 1, 2018
45fc751
Rollback PR#152
puckel Mar 1, 2018
ef712bc
Bump to 1.9.0-2
puckel Mar 1, 2018
4241317
add cloud_builder yaml
kevincvlam Mar 13, 2018
9ffa034
Merge pull request #16 from medicode/feature/gcr
kevincvlam Mar 13, 2018
f7980e8
Update dependency
kevincvlam Mar 13, 2018
493fee1
Merge pull request #17 from medicode/feature/gcr
kevincvlam Mar 19, 2018
b70f484
Add packages which allow Airflow mysql hook (#158)
arihantsurana Mar 29, 2018
41faa78
Update broken Airflow docs link for Extra packages (#171)
kaxil Apr 11, 2018
678d932
Fix the Airflow doc Extra package link (#172)
kaxil Apr 12, 2018
49401a7
Remove unnecessary packages (#174)
edrzmr Apr 17, 2018
7e511f7
disable api access
rllin-fathom May 1, 2018
3962e29
remove config
rllin-fathom May 1, 2018
369f94e
disable api
rllin-fathom May 1, 2018
fbc6797
link back to issue
rllin-fathom May 1, 2018
819911c
Merge pull request #18 from medicode/feature/disable_api
rllin-fathom May 2, 2018
5949140
flask_oauthlib
rllin-fathom May 2, 2018
8d3fb62
comment
rllin-fathom May 2, 2018
7164f50
Merge pull request #19 from medicode/feature/flask_oauthlib
cbockman May 2, 2018
9f00550
Fix issue running docker-airflow without compose (SequentialExecutor)
puckel May 15, 2018
d709f54
Fix instructions for running with SequentialExecutor (#191)
ashb Jun 7, 2018
4aa9038
Update Dockerfile. Fixed Package 'libmysqlclient-dev'. (#188)
achm6174 Jun 7, 2018
132307f
Update celery to 4.1.1 hotfix for kombu 4.2 (#186)
ryanrussell Jun 7, 2018
15699d7
add default arg for docker run to be webserver (#190)
msn1444 Jun 7, 2018
cc6b083
Bump to 1.9.0-4
puckel Jun 7, 2018
05e31dd
Update README.md
puckel Jun 8, 2018
6dc31a2
Update README.md
puckel Jun 14, 2018
e159f0b
change hostname for single deployment airflow
kevincvlam Jul 4, 2018
fc44a09
changes for running airflow colocated in a single pod
kevincvlam Jul 4, 2018
362c602
use env var
kevincvlam Jul 4, 2018
7db49cb
Merge pull request #20 from medicode/feature/colocated
kevincvlam Jul 5, 2018
fc4e3cd
Bump to Airflow 1.10.0
puckel Aug 29, 2018
45ecb23
renamed celery_result_backend to result_backend (#227)
AdamUnger Aug 31, 2018
fd2da36
Bump to 1.10.0-2
puckel Aug 31, 2018
315dab5
install security updates
kevincvlam Oct 1, 2018
8dab984
Merge pull request #21 from medicode/feature/security-updates
kevincvlam Oct 1, 2018
4076e23
migrate to circleci 2.0 (#243)
ttaschke Oct 9, 2018
e16a6b4
Update config.yml
puckel Oct 9, 2018
7c89da9
Add pytest to airflow image
kvudata Oct 15, 2018
888ef76
Update docker-airflow:test image
kvudata Oct 15, 2018
179b425
Revert "Add pytest to airflow image"
kvudata Oct 15, 2018
72d3265
Make sure test image gets uploaded
kvudata Oct 15, 2018
eb0b87d
Merge pull request #22 from medicode/kvudata-patch-1
kvudata Oct 15, 2018
a9d6374
Add python-fire to airflow test image
kvudata Oct 15, 2018
938f077
Merge pull request #23 from medicode/kvudata-patch-1
kvudata Oct 15, 2018
d936623
use airflow 1.10
kevincvlam Oct 16, 2018
49ebc2d
Merge branch 'master' of github.com:puckel/docker-airflow into featur…
kevincvlam Oct 16, 2018
f9fa603
Merge pull request #24 from medicode/feature/upgrade-1-10
kevincvlam Oct 17, 2018
0091784
fix airflow test
kevincvlam Oct 17, 2018
ffc23fc
fix airflow test
kevincvlam Oct 17, 2018
08ffd03
Merge pull request #25 from medicode/feature/upgrade-1-10
kevincvlam Oct 17, 2018
4098ab2
install git
kevincvlam Oct 17, 2018
59ae21d
install git
kevincvlam Oct 17, 2018
ab0453f
install git
kevincvlam Oct 17, 2018
5a6d67e
fix
kevincvlam Oct 17, 2018
d016dac
fix
kevincvlam Oct 17, 2018
31219d7
fix test image
kevincvlam Oct 17, 2018
faa9000
Merge pull request #26 from medicode/fix/test
kevincvlam Oct 17, 2018
23594e5
dynamic gcs connection
kevincvlam Oct 17, 2018
d47d7a6
fix
kevincvlam Oct 17, 2018
d914c73
install with gcp api
kevincvlam Oct 17, 2018
9bc4371
use double quotes escaped
kevincvlam Oct 17, 2018
a7f9e75
Merge pull request #27 from medicode/feature/persist-logs
kevincvlam Oct 17, 2018
016c7f1
add .json
kevincvlam Oct 17, 2018
25f2d10
Merge pull request #28 from medicode/feature/persist-logs
kevincvlam Oct 17, 2018
14b415d
Delete test.txt
rllin-fathom Jan 8, 2019
760f068
Merge pull request #29 from medicode/rllin-fathom-patch-1
rllin-fathom Jan 8, 2019
bd5d06f
pin tornado version
kevincvlam Mar 4, 2019
9716909
Merge pull request #30 from medicode/fix/tornado
etragas-fathom Mar 4, 2019
f2042f0
rebase iamge
rllin-fathom Apr 30, 2019
74f2617
Merge pull request #31 from medicode/docker/google_base
kevincvlam May 1, 2019
63a3274
pin version
peiranguo Sep 6, 2019
e2c148a
Merge pull request #32 from medicode/feature/marshmallow-sqlalchemy
peiranguo Sep 6, 2019
da6d854
Update cloud_builder.yaml to put logs into bucket
keirn-fathom Oct 18, 2019
5f73c2d
Merge pull request #33 from medicode/keirn-fathom-patch-1
keirn-fathom Oct 18, 2019
efd689a
build us.gcr.io images for docker-airflow (#34)
fathom-dcmshi Jan 30, 2020
7c7dfba
add missing comma in cloud build file (#35)
fathom-dcmshi Jan 30, 2020
c766969
Forcing an older version of redis for compatability reasons
keirn-fathom Jan 31, 2020
3495644
Merge pull request #37 from medicode/fix/force_old_redis
keirn-fathom Jan 31, 2020
fb85c78
update gcr.io references to use us.gcr.io instead (#36)
fathom-dcmshi Feb 4, 2020
05397e5
only build images in us.gcr.io registry (#38)
fathom-dcmshi Feb 5, 2020
6f69bc7
update airflow version
fathom-aditya Apr 14, 2020
836c094
add pip install werkzeug
fathom-aditya Apr 14, 2020
c9cc6c6
freeze wekzeug version
fathom-aditya Apr 14, 2020
817a9b5
update sqlalchemy
fathom-aditya Apr 14, 2020
279a60c
update sqlalchemy
fathom-aditya Apr 14, 2020
7ad4753
try airflow v1.10.10
fathom-aditya Apr 15, 2020
57a7e90
try airflow v1.10.2
fathom-aditya Apr 15, 2020
ae4e571
downgrade werkzeug
fathom-aditya Apr 15, 2020
ead8b5e
get rid of sqlalchemt
fathom-aditya Apr 15, 2020
c22a85b
downgrade werkzeug
fathom-aditya Apr 15, 2020
8d367ec
need psycopg2
fathom-aditya Apr 15, 2020
0298b4a
dependency issues
fathom-aditya Apr 15, 2020
2869d74
install operations got goofed
fathom-aditya Apr 15, 2020
577a3af
add pip install psycopg2-binary
fathom-aditya Apr 15, 2020
d3ae340
add pip install psycopg2-binary
fathom-aditya Apr 15, 2020
052ac77
start over
fathom-aditya Apr 15, 2020
b8bc7ea
start over
fathom-aditya Apr 15, 2020
a975b66
add psycopg2
fathom-aditya Apr 15, 2020
a6fd456
Add newline to end of file
fathom-aditya Apr 15, 2020
31b303b
Update airflow to v1.10.2
fathom-aditya Apr 16, 2020
7ee08b0
revert airflow upgrade
fathom-aditya Apr 16, 2020
43fd2e3
undo. commiting to master
fathom-aditya Apr 16, 2020
56e93ce
revert airflow upgrade
fathom-aditya Apr 16, 2020
ea0c0e0
Revert airflow to v1.10.0
fathom-aditya Apr 16, 2020
4a38285
add airflow 1.10.2
fathom-aditya Apr 16, 2020
6034606
add psycopg
fathom-aditya Apr 17, 2020
bbeef0d
try airflow v1.10.3
fathom-aditya Apr 20, 2020
66bea59
back to 1.10.2
fathom-aditya Apr 20, 2020
d6edeed
Upgrade airflow to version 1.10.2
fathom-aditya Apr 22, 2020
1075352
freeze wtforms
fathom-aditya Apr 22, 2020
0a4788c
Merge pull request #42 from medicode/aditya/update-airflow
fathom-aditya Apr 22, 2020
7697444
Upgrade url and pandas version
keirn-fathom Jun 23, 2020
1759dfd
Update url
keirn-fathom Jun 23, 2020
8012e9a
Merge pull request #43 from medicode/fix/upgrade_pandas
keirn-fathom Jun 23, 2020
683305e
add attrs==19.3.0 to the airflow image
kvudata Aug 28, 2020
a28f9de
Merge pull request #44 from medicode/kvudata-patch-1
kevincvlam Aug 28, 2020
4d46111
add snapshottest
fathom-jklys Nov 12, 2020
3cf7a0f
Merge pull request #45 from medicode/fathom-jklys-patch-1
branko-fathom Nov 12, 2020
f9b0ab7
add diseaseTools-config mount point to docker-airflow PYTHONPATH
fathom-michael Nov 20, 2020
f4c3df8
Merge pull request #46 from medicode/michael/pythonpath
kevincvlam Nov 20, 2020
5e9f5b7
Bump snapshot version from 0.5 to 0.6.
fathom-max Dec 15, 2020
b17c9ba
Minimal fix of docker-airflow build freeze.
fathom-max Dec 17, 2020
1983713
Add -U flag.
fathom-max Dec 17, 2020
0ee6807
Add a comment.
fathom-max Dec 17, 2020
99bc8bd
Remove duplicate comment.
fathom-max Dec 17, 2020
9f765b9
Merge pull request #49 from medicode/max/clean-fix
fathom-max Dec 17, 2020
963e891
Merge pull request #47 from medicode/max/update-snapshot-version
fathom-max Dec 17, 2020
a7ecc03
Add diseaseTools to PYTHONPATH
kvudata Dec 17, 2020
a3d3777
Merge pull request #50 from medicode/dtools-in-ppath
kvudata Dec 17, 2020
8c929fa
add new image for airflow bridge
Aug 4, 2021
1f4f644
add image for airflow bridge
Aug 4, 2021
12033be
add requirements.txt
Aug 4, 2021
99cc870
Merge pull request #53 from medicode/chanmin/create-new-entry-for-bridge
fathom-chanmin Aug 4, 2021
42b88bf
separate argument variables (#54)
fathom-chanmin Aug 4, 2021
ebae6b4
import libraries in bridge image and create new directory
Aug 6, 2021
f568d42
edit yaml file to point to new dockerfile for airflow-bridge
Aug 6, 2021
1c089f7
Merge pull request #55 from medicode/chanmin/bridge-image-edits
fathom-chanmin Aug 6, 2021
7257cdd
put entrypoint file in the same directory as airflow_bridge - debuggi…
Aug 6, 2021
40e0c75
Merge pull request #57 from medicode/chanmin/bridge-image-edits
fathom-chanmin Aug 6, 2021
42cffd0
add copy command back
Aug 6, 2021
84c7e82
Merge pull request #59 from medicode/chanmin/make-more-edits
fathom-chanmin Aug 6, 2021
1ea0a26
change to db init command
Aug 9, 2021
8a36d9f
Merge pull request #60 from medicode/chanmin/fix-db-error
fathom-chanmin Aug 9, 2021
9f0c817
add webserver.py to disable login page for airflow bridge
fathom-chanmin Aug 10, 2021
2c6b10a
disable login
fathom-chanmin Aug 10, 2021
1e227fe
add new line
fathom-chanmin Aug 10, 2021
23c9cd9
Merge pull request #61 from medicode/chanmin/disable-airflow-bridge-l…
fathom-chanmin Aug 10, 2021
346d519
upgrade db to fix sql schema errors in running DAGs
fathom-chanmin Aug 11, 2021
9406fc3
Merge pull request #62 from medicode/chanmin/upgrade-db
fathom-chanmin Aug 11, 2021
89616bc
Revert "upgrade db to update schema for db in airflow bridge"
fathom-chanmin Aug 11, 2021
6ad41f3
Merge pull request #63 from medicode/revert-62-chanmin/upgrade-db
fathom-chanmin Aug 11, 2021
bbeda56
add airflow-managed celery
fathom-chanmin Aug 11, 2021
0e4ad85
Merge pull request #64 from medicode/chanmin/add-airflow-celery
fathom-chanmin Aug 11, 2021
37c1857
add airflow 2 image
fathom-chanmin Aug 19, 2021
b2d9a7f
add new dir/files
fathom-chanmin Aug 19, 2021
825f346
add new db commands to airflow bridge
fathom-chanmin Aug 19, 2021
9c905bd
delete unnecessary file
fathom-chanmin Aug 19, 2021
556bf6c
Merge pull request #65 from medicode/chanmin/add-airflow-2-test
fathom-chanmin Aug 19, 2021
43dfe3a
airflow bridge - change db commands and add arg to docker build (#66)
fathom-chanmin Aug 23, 2021
336eb2b
add apt-get libraries (#67)
fathom-chanmin Aug 23, 2021
bd3a301
install more libraries (#68)
fathom-chanmin Aug 23, 2021
eacedc4
get rid of unnecessary package (#69)
fathom-chanmin Aug 23, 2021
dab024a
--add is deprecated, use add (#70)
fathom-chanmin Aug 24, 2021
47c1435
change deprecated airflow bridge command (#71)
fathom-chanmin Aug 24, 2021
36402d1
fix command and get rid of airflow 2 image (#72)
fathom-chanmin Aug 24, 2021
76852e9
simple syntax fix (#73)
fathom-chanmin Aug 24, 2021
e086ec3
push new image to test libraries for airflow bridge security (#74)
fathom-chanmin Aug 30, 2021
38ec61e
Revert "push new image to test libraries for airflow bridge security …
fathom-chanmin Aug 31, 2021
71e7a98
update libraries for airflow bridge - security check (#76)
fathom-chanmin Aug 31, 2021
ac6f32c
create new airflow 2 images (#77)
fathom-chanmin Sep 14, 2021
160315c
update libraries for airflow 2 (#78)
fathom-chanmin Sep 20, 2021
d2343fd
deprecate v1 images: regular and test
fathom-tomek Nov 5, 2021
0f61b61
remove legacy dockerfile
fathom-tomek Nov 9, 2021
7c0e4df
remove defunct circleci config
fathom-tomek Nov 9, 2021
0e79d19
Merge pull request #79 from medicode/tomek/deprecate_docker_airflow_v1
fathom-tomek Nov 9, 2021
c5a1fbb
debian10 images
fathom-tomek Jan 7, 2022
707fb72
fix apt
fathom-tomek Jan 7, 2022
0841d5d
fix apt pacakges
fathom-tomek Jan 7, 2022
7f97f82
fix apt packages
fathom-tomek Jan 7, 2022
32e6681
Merge pull request #80 from medicode/tomek/airflow_debian10
fathom-tomek Jan 24, 2022
6f406df
migrate latest->debian9, debian10->latest
fathom-tomek Jan 28, 2022
35d79f5
Merge pull request #81 from medicode/tomek/migrate_triggers
fathom-tomek Jan 28, 2022
3fb5cde
clean up after debian10 migration
fathom-tomek Feb 2, 2022
89457f8
Merge pull request #82 from medicode/tomek/cleanup_debian10
fathom-tomek Feb 2, 2022
063a48a
Fix Github Authentication Issue
fathom-zh59412 Mar 18, 2022
15bb70c
Merge pull request #83 from medicode/zh/fix-port9418
branko-fathom Mar 18, 2022
b2ae4cb
Fix Github Authentication Issue (airflow-bridge)
fathom-zh59412 Mar 18, 2022
28654a4
Merge pull request #84 from medicode/zh/port-airflowbridge
branko-fathom Mar 18, 2022
bd483f9
Add google logging dependencies
fathom-jakub Aug 30, 2022
95ef044
remove redundant libraries.
fathom-jakub Aug 30, 2022
d566e19
Merge pull request #86 from medicode/add-google-logging-support
fathom-jakub Aug 30, 2022
53d6a22
add support for multi-arch builds based on optional FROM_TAG build arg
fathom-tomek Jan 24, 2023
84d591b
Merge pull request #87 from medicode/tomek/multi-arch-setup
fathom-tomek Jan 24, 2023
ab299ac
builder script + job
fathom-tomek Jan 24, 2023
462654c
tweak script
fathom-tomek Jan 30, 2023
9f82bf1
fix
fathom-tomek Jan 30, 2023
ca70223
fix
fathom-tomek Jan 30, 2023
a12976a
build and push
fathom-tomek Jan 30, 2023
d24f901
drop job definition
fathom-tomek Jan 30, 2023
a8ae7df
Merge pull request #88 from medicode/tomek/build_arm
fathom-tomek Jan 31, 2023
21ebb4f
change the constraints version to 3.7
fathom-tomek Feb 22, 2023
80408f8
Merge pull request #89 from medicode/tomek/3.7/constraints
fathom-tomek Feb 22, 2023
76c54b9
fix airflow bridge image
fathom-tomek Feb 24, 2023
5ad400e
change base image
fathom-tomek Feb 24, 2023
1eca9ee
Revert "change base image"
fathom-tomek Mar 3, 2023
25a3657
Merge pull request #90 from medicode/tomek/fix_bridge_image
fathom-tomek Mar 3, 2023
38e1394
remove airflow 1 images
fathom-parth May 16, 2023
2c40790
Merge pull request #92 from medicode/parth/remove_airflow1
fathom-parth May 19, 2023
17b468d
add kube op dep
fathom-parth May 30, 2023
a33e5de
Merge pull request #93 from medicode/parth/add_kube_operator_dep
fathom-parth May 30, 2023
3e4ce8b
remove unconstrained kubernetes version
fathom-parth May 31, 2023
9cac309
Merge pull request #94 from medicode/parth/kubernetes_version_constra…
fathom-parth May 31, 2023
f42ad31
Add airflow two upgrade image
fathom-jackchen Feb 5, 2024
f17f982
Merge pull request #96 from medicode/jc/airflow-two-upgrade
fathom-jackchen Feb 5, 2024
df14228
Ensure cloudbuild points to correct directory for build
fathom-jackchen Feb 5, 2024
6d6ba34
Merge pull request #97 from medicode/jc/fix-cloudbuild
fathom-jackchen Feb 7, 2024
976f4d7
Move airflow-two-upgrade to airflow 2.5.1
fathom-jackchen Feb 12, 2024
3a068bc
Merge pull request #99 from medicode/jc/move-upgrade-to-251
fathom-jackchen Feb 12, 2024
688607f
Move the upgrade image to 2.4.3
fathom-jackchen Feb 22, 2024
40bbf1a
Merge pull request #100 from medicode/jc/change-to-2-4-3
fathom-jackchen Feb 22, 2024
2cebb25
Make sure to match airflow.cfg [database] sql_alchemy_conn
fathom-jackchen Feb 22, 2024
591d78a
Merge pull request #101 from medicode/jc/change-to-2-4-3
fathom-jackchen Feb 23, 2024
f4901bf
Move to 2.4.1 and fix build-arm
fathom-jackchen Feb 23, 2024
43b9bcb
Merge pull request #102 from medicode/jc/move-to-2-4-1
fathom-jackchen Feb 23, 2024
c3d2cd6
airflow user should own /root so that it can access gcloud creds corr…
fathom-parth Mar 13, 2024
b1ff805
Merge pull request #103 from medicode/03-13-airflow_user_should_own_/…
fathom-parth Mar 13, 2024
f891342
Test Airflow image with Python3.8 upgrade
Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ Session.vim

# sftp configuration file
sftp-config.json

# PyCharm junk
.idea
=======
# Python
__pycache__
37 changes: 0 additions & 37 deletions Dockerfile

This file was deleted.

201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2017 Matthieu "Puckel_" Roisil

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
44 changes: 26 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
## Airflow Dockerfile
# docker-airflow

This repository contains **Dockerfiles** for building Docker images containing
[Airflow 2](https://github.com/apache/incubator-airflow) which are published to Google
Container Registry in the `fathom-containers` project.

This repository contains **Dockerfile** of [airflow](https://github.com/airbnb/airflow) for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/puckel/docker-airflow/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/).
## Information

- Based on Python (3.6-slim) official Image [python:3.6-slim](https://hub.docker.com/_/python/)
and uses the official [Postgres](https://hub.docker.com/_/postgres/) as backend and
[Redis](https://hub.docker.com/_/redis/) as the queue.

### Base Docker Image
- Install [Docker](https://www.docker.com/)

* [debian:wheezy](https://registry.hub.docker.com/_/debian/)
- Uses the Airflow release from
[PYPI (Python Package Index)](https://pypi.python.org/pypi/apache-airflow)

## Configuring Airflow

### Installation
It's possible to set any configuration value for Airflow from environment variables,
which are used over values from the airflow.cfg.

1. Install [Docker](https://www.docker.com/).
The general rule is the environment variable should be named `AIRFLOW__<section>__<key>`
, for example `AIRFLOW__CORE__SQL_ALCHEMY_CONN` sets the `sql_alchemy_conn`
config option in the `[core]` section.

2. Download [automated build](https://registry.hub.docker.com/u/puckel/docker-airflow/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull puckel/docker-airflow`
Check out the
[Airflow documentation](http://airflow.readthedocs.io/en/latest/howto/set-config.html#setting-configuration-options)
for more details

Alternatively, you can build an image from [Dockerfile](https://github.com/puckel/docker-airflow)

### Usage


```bash
docker run -d \
--name airflow \
-p 8080:8080
puckel/docker-airflow
```
You can also define connections via environment variables by prefixing them with
`AIRFLOW_CONN_` - for example
`AIRFLOW_CONN_POSTGRES_MASTER=postgres://user:password@localhost:5432/master`
for a connection called "postgres_master". The value is parsed as a URI. This will
work for hooks etc, but won't show up in the "Ad-hoc Query" section unless an (empty)
connection is also created in the DB.
Loading