Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
417d7cb
Fix spellings
kaxil Feb 5, 2021
94ae38f
Restores flexible installation version, fixes manual tag build proces…
potiuk Feb 5, 2021
e743e03
Add script to generate integrations.json (#13073)
ecerulm Dec 15, 2020
0df89d8
Sort integrations.json by lowercase integration name (#13105)
ecerulm Dec 16, 2020
f373032
Simplify Kerberos network setup (#13999)
mik-laj Feb 2, 2021
3abb230
Fix Kerberos network creation on older docker-compose (#14070)
ashb Feb 4, 2021
3f793d3
Add statsd integration to breeze (#12708)
turbaszek Feb 7, 2021
24a16cc
Run KinD tests when cncf.kubernetes provider files are changed (#14122)
ashb Feb 7, 2021
07d8926
Run CI (Build Image and committer PRs) on self-hosted runner (#13730)
ashb Feb 9, 2021
c2b361d
Fix typo in Build Images workflow from self-hosted switch (#14150)
ashb Feb 9, 2021
35c7a45
Disable progress bar for PIP installation (#14126)
potiuk Feb 9, 2021
8958a3d
Fixes regexp in entrypoint to include password-less entries (#14221)
potiuk Feb 14, 2021
55d4774
Disables self-hosted runs for non-apache-owned repositories (#14239)
potiuk Feb 15, 2021
24af3d2
fixup! Disables self-hosted runs for non-apache-owned repositories (#…
potiuk Feb 15, 2021
ea98acb
Attempts to stabilize and improve speed of static checks (#14332)
potiuk Feb 21, 2021
803c5eb
Implements generation of separate constraints for core and providers …
potiuk Feb 21, 2021
dae6003
Fix some tests failures after pylint fixes (#14350)
potiuk Feb 22, 2021
2c3a9f7
Fix caching of python images during builds (#14347)
potiuk Feb 22, 2021
119d31b
Easy switching between GitHub Container Registries (#14120)
potiuk Feb 23, 2021
4197110
Pre-commit cache is tied to a specific python version (#14430)
potiuk Feb 24, 2021
d6f29af
Upgrade to newer dependencies only set when setup changed for PR (#14…
potiuk Feb 25, 2021
5f3d913
Add PATH to basic_static_checks. (#14451)
potiuk Feb 25, 2021
be82329
Fix pylint pre-commit checks when only todo files are changed (#14453)
ashb Feb 25, 2021
8301e20
Fixes date command in breeze build-image to work on MacOS (#14458)
potiuk Feb 25, 2021
1761992
Adds --dry-run-docker flag to just print the docker commands (#14468)
potiuk Feb 26, 2021
fb967c0
Allow your own Docker production image to be verified by bash script …
mik-laj Feb 27, 2021
efabde1
Removes the step to upload artifact with documentation (#14510)
potiuk Feb 27, 2021
ec82967
Update hadolint from v1.18.0 to v1.22.1 (#14509)
mik-laj Feb 27, 2021
2c6ee74
Production image can be run as root (#14226)
mik-laj Feb 27, 2021
ef87e84
Fix asset recompilation message (#14532)
potiuk Feb 28, 2021
fbc675f
Fix typo in docker.rst (#14389)
andygarfield Feb 23, 2021
76356e5
Updates docs to include docker resource requirements for quickstart (…
cmarteepants Feb 26, 2021
543f36b
Enable LDAP auth in docker-compose.yaml (#14516)
mik-laj Feb 27, 2021
18a1042
Disable health checks for ad-hoc containers (#14536)
mik-laj Mar 1, 2021
247af49
Log all breeze output to a file automatically (#14470)
potiuk Feb 26, 2021
76c249e
Fix breeze redirect on macOS (#14506)
vemikhaylov Feb 27, 2021
07d924d
Implement provider versioning tools (#13767)
potiuk Feb 1, 2021
9621dda
Use DAG context manager in examples (#13297)
jmelot Jan 20, 2021
fe6f64e
Update documents for using MySQL (#14174)
Gabriel39 Feb 11, 2021
890976b
Add better description and guidance in case of sqlite version mismatc…
potiuk Feb 13, 2021
52b70b9
Correct PostgreSQL password in doc example code (#14256)
HansBambel Feb 16, 2021
2977d20
Fix misleading statement on sqlite (#14317)
palerdot Feb 19, 2021
a11b678
Add more tips about health checks (#14537)
mik-laj Mar 1, 2021
47aa991
Add Neo4j hook and operator (#13324)
subkanthi Jan 14, 2021
4b73684
Minor doc fixes (#14547)
XD-DENG Mar 1, 2021
cfa4c7f
Fix grammar in production-deployment.rst (#14386)
Feb 23, 2021
87e747f
Add Apache Beam operators (#12814)
Feb 3, 2021
27f5175
Upgrade slack_sdk to v3 (#13745)
jyotidhiman0610 Jan 25, 2021
ede845b
Add Google Cloud Workflows Operators (#13366)
turbaszek Jan 28, 2021
cca3afa
Update compatibility with google-cloud-os-login>=2.0.0 (#13126)
mik-laj Dec 17, 2020
fae6b2e
Support google-cloud-datacatalog>=1.0.0 (#13097)
mik-laj Dec 22, 2020
dd3474c
Update compatibility with google-cloud-kms>=2.0 (#13124)
mik-laj Dec 22, 2020
6337aa8
Support google-cloud-pubsub>=2.0.0 (#13127)
mik-laj Dec 22, 2020
f2b5637
Support google-cloud-redis>=2.0.0 (#13117)
mik-laj Dec 22, 2020
0fa5141
Add timeout option to gcs hook methods. (#13156)
jmcarp Dec 24, 2020
8947278
Support google-cloud-bigquery-datatransfer>=3.0.0 (#13337)
mik-laj Dec 31, 2020
bc88c5b
Salesforce provider requires tableau (#13593)
Jan 10, 2021
63f2bc4
Support google-cloud-datacatalog>=3.0.0 (#13534)
mik-laj Jan 11, 2021
1aa4871
Support google-cloud-automl >=2.1.0 (#13505)
mik-laj Jan 11, 2021
77cf7eb
Support google-cloud-tasks>=2.0.0 (#13347)
mik-laj Jan 14, 2021
98a7e75
Refactor DataprocOperators to support google-cloud-dataproc 2.0 (#13256)
turbaszek Jan 18, 2021
a074670
Support google-cloud-monitoring>=2.0.0 (#13769)
mik-laj Feb 2, 2021
c2cb07f
Support google-cloud-logging` >=2.0.0 (#13801)
mik-laj Feb 3, 2021
d7f607a
Update to Pytest 6.0 (#14065)
ashb Feb 4, 2021
1b29db9
Remove reinstalling azure-storage steps from CI / Breeze (#14102)
kaxil Feb 8, 2021
a83b596
Limits Sphinx to <3.5.0 (#14238)
potiuk Feb 15, 2021
b1acacb
Remove testfixtures module that is only used once (#14318)
ashb Feb 22, 2021
d9340ce
Pin moto to <2 (#14433)
kaxil Feb 24, 2021
e58bd67
Add Tableau provider separate from Salesforce Provider (#14030)
jyotidhiman0610 Feb 25, 2021
a7b0008
Add Azure Data Factory hook (#11015)
flvndh Feb 26, 2021
abda3bd
Fix failing docs build on Master (#14465)
kaxil Feb 25, 2021
178dde3
By default PIP will install all packages in .local folder (#14125)
potiuk Feb 21, 2021
ac43056
Note that the DB must be using UTF-8 (#14742)
ashb Mar 12, 2021
f4cc5c5
Fix running child tasks in a subdag after clearing a successful subda…
ephraimbuddy Mar 18, 2021
b583736
[AIRFLOW-6076] fix dag.cli() KeyError (#13647)
penggongkui Mar 18, 2021
04ae0f6
Add more flexibility with FAB menu links (#13903)
jedcunningham Feb 17, 2021
118f86c
Speed up clear_task_instances by doing a single sql delete for TaskRe…
yuqian90 Feb 10, 2021
9d91058
Fix typos in concept docs (#14130)
jlcoto Feb 8, 2021
472077e
[AIRFLOW-7044] Host key can be specified via SSH connection extras. (…
triptec Jan 8, 2021
05326e2
Sync DB Migrations in Master with 2.0.1 (#14155)
kaxil Feb 9, 2021
76be86e
Log migrations info in consistent way (#14158)
kaxil Feb 10, 2021
8c95675
Make TaskInstance.pool_slots not nullable with a default of 1 (#14406)
kaxil Feb 25, 2021
7156d6c
Rename last_scheduler_run into last_parsed_time, and ensure it's upda…
XD-DENG Mar 5, 2021
7790b2f
Use `Lax` for `cookie_samesite` when empty string is passed (#14183)
kaxil Feb 11, 2021
1858a94
Fix comparison dagTZ with localTZ (#14204)
millin Feb 15, 2021
36ff9c5
Fix indentation in code block in Taskflow API doc (#14241)
zkan Feb 16, 2021
3f36fa9
Make airflow dags show command display TaskGroup (#14269)
yuqian90 Feb 25, 2021
44a261a
Fix bug allowing task instances to survive when dagrun_timeout is exc…
RNHTTR Mar 5, 2021
6dd7559
Scheduler should not fail when invalid executor_config is passed (#14…
kaxil Feb 20, 2021
0cb2a96
BugFix: Fix taskInstance API call fails if a task is removed from run…
ephraimbuddy Mar 8, 2021
040f7d8
Fix crash when user clicks on "Task Instance Details" caused by star…
yuqian90 Feb 25, 2021
041c9d2
BugFix: Serialize max_retry_delay as a timedelta (#14436)
paulvic Feb 26, 2021
97d98bb
Gracefully handle missing start_date and end_date for DagRun (#14452)
RikHeijdens Feb 25, 2021
99f1022
Fix statsd metrics not sending when using daemon mode (#14454)
junnplus Feb 26, 2021
62725ce
Fix logging error with task error when JSON logging is enabled (#14456)
ashb Feb 25, 2021
5dd51dc
Bugfix: Fix wrong output of tags and owners in dag detail API endpoin…
ephraimbuddy Mar 3, 2021
87c26b4
BugFix: TypeError in monitor_pod (#14513)
Mar 1, 2021
051d239
Add plain format output to cli tables (#14546)
turbaszek Mar 2, 2021
a156053
BugFix: fix DAG doc display (especially for TaskFlow DAGs) (#14564)
XD-DENG Mar 2, 2021
d6aa666
Bugfix: Plugins endpoint was unauthenticated (#14570)
kaxil Mar 2, 2021
7d181d8
Replace Graph View Screenshot to show Auto-refresh (#14571)
kaxil Mar 3, 2021
5b3ce3f
Default to Celery Task model when backend model does not exist (#14612)
kaxil Mar 5, 2021
a294cfe
Bump version to match node dependency (#14624)
ryanahamilton Mar 5, 2021
d8bf55b
Remember expanded task groups in localStorage (#14661)
yuqian90 Mar 12, 2021
6f254f2
Update Flask-AppBuilder dependency to allow 3.2 (and all 3.x series) …
ashb Mar 8, 2021
7b93f5c
Fix minor issues in 'Concepts' doc (#14679)
XD-DENG Mar 9, 2021
9abe9bc
Webserver: Allow Filtering TaskInstances by queued_dttm (#14708)
kaxil Mar 12, 2021
f3153e1
Fix KubernetesExecutor issue with deleted pending pods (#14810)
jedcunningham Mar 15, 2021
ea06eb0
Pin SQLAlchemy to <1.4 due to breakage of sqlalchemy-utils (#14812)
potiuk Mar 15, 2021
10af971
Suggest using $http_host instead of $host (#14814)
mcarbajo Mar 16, 2021
fb5d508
Bump Redoc to resolve vulnerability in sub-dependency (#14608)
ryanahamilton Mar 4, 2021
c2f3e68
fix lossing duration < 1 secs in tree (#13537)
yogyang Feb 18, 2021
4033041
Separate out tests to cater of changes in Python 3.8.8 (#14698)
kaxil Mar 10, 2021
194597f
Fix tests for all urllib versions with only '&' as separator (#14710)
kaxil Mar 11, 2021
b335061
Fix tests in tests/www/test_views.py (#14719)
kaxil Mar 11, 2021
ab8c558
Webserver: Sanitize string passed to origin param (#14738)
kaxil Mar 12, 2021
337edee
Fix error when running tasks with Sentry integration enabled. (#13929)
junnplus Mar 19, 2021
d5aabd0
Don't create unittest.cfg when not running in unit test mode (#14420)
ashb Feb 26, 2021
f5fb9c4
Use libyaml C library when available. (#14577)
ashb Mar 5, 2021
be9881b
Simplify cleaning string passed to origin param (#14738) (#14905)
kaxil Mar 20, 2021
ace8554
Sort lists, sets and tuples in Serialized DAGs (#14909)
kaxil Mar 20, 2021
f06d3d6
Multiple minor doc fixes (#14917)
XD-DENG Mar 20, 2021
555c1fc
Add pre-commit check to sort and remove duplicates from the spelling …
jbampton Feb 28, 2021
d18813e
chore: fix case of GitHub (#14525)
jbampton Feb 28, 2021
e96575c
Use airflow db check command in entrypoint_prod.sh (#14530)
mik-laj Mar 1, 2021
f3b34cd
Restore correct terminal with to interactive breeze usage (#14579)
ashb Mar 4, 2021
e1302b3
Remove redundant step in CodeQL GitHub Actions step (#14600)
kaxil Mar 4, 2021
98edfb9
Fix breeze redirection on linux/Ubuntu 20.04 (#14626)
ashb Mar 5, 2021
22509d2
Fix grammar and remove duplicate words (#14647)
jbampton Mar 7, 2021
6ca12b6
Don't use author_association for self-hosted vs public runner decisio…
ashb Mar 11, 2021
2894b4e
Reduce duplication in pre_commit_check_order_setup.py script (#14731)
ashb Mar 11, 2021
223a58f
Remove un-needed/left over environment variables in ci.yml (#14732)
ashb Mar 11, 2021
11d915e
Fixed runs-on for non-apache repository (#14737)
potiuk Mar 12, 2021
f991734
Remove Heisentest category and quarantine test_backfill_depends_on_pa…
potiuk Mar 13, 2021
cd4d8b1
Fixes force-pulling base python images (#14736)
potiuk Mar 13, 2021
ffe8496
Better diagnostics for image waiting (#14779)
potiuk Mar 14, 2021
401c57f
Only rebuilds base python image when upgrading to newer deps (#14783)
potiuk Mar 14, 2021
899a75d
Fixes case where output log is missing for image waiting (#14784)
potiuk Mar 14, 2021
0e8fb85
Fixes recent scripting breeze fix to work also with zsh (#14787)
potiuk Mar 15, 2021
72bec72
Prepare to switch master branch for main. (#14688)
ashb Mar 15, 2021
6a003dd
When `breeze stop` is called all integrations are enabled (#14825)
potiuk Mar 16, 2021
a4d056f
Replaces 1.10.14 with 1.10.15 where needed (#14866)
potiuk Mar 18, 2021
a81cbc2
Fixes some of the flaky tests in test_scheduler_job (#14792)
potiuk Mar 18, 2021
c2d602d
Add Airflow 2.0.1 to ``breeze-complete`` and BREEZE.rst (#14876)
kaxil Mar 18, 2021
c3536f4
Fixes unbound variable on MacOS (#14877)
kaxil Mar 18, 2021
3bd021b
Adds missing variable for force pull base image variable (#14901)
potiuk Mar 20, 2021
55bc602
Running tests in parallel (#14531)
potiuk Mar 20, 2021
12ad529
Remove Backport Providers (#14886)
potiuk Mar 20, 2021
e43f799
Adds resource check when running Breeze (#14908)
potiuk Mar 20, 2021
0b881c5
Running tests in parallel (#14915)
potiuk Mar 22, 2021
822d883
Optimizes image verification steps. (#14780)
potiuk Mar 23, 2021
54737a4
Quarantine test_clit_tasks - they have a lot of errors
potiuk Mar 23, 2021
945bbb1
Create a documentation package for Docker image (#14846)
mik-laj Mar 21, 2021
89a2eb0
Fixes default group of Airflow user. (#14944)
potiuk Mar 23, 2021
9d9f68e
Much easier to use and better documented Docker image (#14911)
potiuk Mar 23, 2021
6984dbc
Skips provider package builds and provider tests for non-master
potiuk Mar 25, 2021
584a45a
Fix failing doc build (#14986)
kaxil Mar 24, 2021
5396204
Fixes broken asset compilation in Docker images (#14995)
potiuk Mar 25, 2021
d41db1d
Fixes problem with two different files mdsumed with the same name (#1…
potiuk Mar 25, 2021
e25a8b0
Synchronize Provider templates with master
potiuk Mar 25, 2021
41e0e19
Fix support for long dag_id and task_id in KubernetesExecutor (#14703)
jedcunningham Mar 26, 2021
edbf49c
Prepare ad-hoc release of the four previously excluded providers (#14…
potiuk Mar 8, 2021
e7838d5
Upgrades moto to newer version (~=2.0) (#15051)
potiuk Mar 27, 2021
588c1a1
Adds dill exclusion to Dockerfiles to accomodate upcoming beam fix (#…
potiuk Mar 27, 2021
6ebb01e
Remove extra/needless deprecation warnings from airflow.contrib modul…
ashb Mar 29, 2021
ffc3bcd
Scheduler: Remove TIs from starved pools from the critical path. (#14…
bperson Mar 29, 2021
7a338f0
Speed up webserver start when there are many DAGs (#14993)
jedcunningham Mar 25, 2021
6d55d06
Faster default role syncing during webserver start (#15017)
jedcunningham Mar 29, 2021
40bf4e6
Pass queue to BaseExecutor.execute_async like in airflow 1.10 (#14861)
leonsmith Mar 30, 2021
00c4f33
Fix typo in doc docker-stack (#14928)
raphaelauv Mar 22, 2021
e908d28
Compare string values, not if strings are the same object (#14942)
jedcunningham Mar 23, 2021
a7ad65e
Docs: Clarify behavior of delete_worker_pods_on_failure (#14958)
jedcunningham Mar 23, 2021
48436ac
Add missing comma in docs for KubernetesExecutor (#15035)
tpilewicz Mar 26, 2021
15e1baf
More proper default value for namespace in K8S cleanup-pods CLI (#15060)
XD-DENG Mar 28, 2021
ea0f3af
Fixed deprecated code example in Concepts doc (#15098)
andrewgodwin Mar 30, 2021
6e06eaf
Remove 'conf' from search_columns in DagRun View (#15099)
XD-DENG Mar 30, 2021
6e82248
Re-introduce dagrun.schedule_delay metric (#15105)
ashb Mar 31, 2021
1bc64fd
Allow pathlib.Path in DagBag and various util fns (#15110)
ashb Mar 31, 2021
d44c65d
Avoid scheduler/parser manager deadlock by using non-blocking IO (#15…
ashb Mar 31, 2021
c8e43ed
Fix bug in airflow.stats timing that broke dogstatsd mode (#15132)
ashb Apr 1, 2021
fbe55aa
The PYTHON_MAJOR_MINOR build arg has been deprecated (#15054)
potiuk Mar 28, 2021
c2a126d
The --force-pull-images is restored in breeze (#15063)
potiuk Mar 29, 2021
3dd5043
Parallelize build of documentation. (#15062)
potiuk Mar 30, 2021
e4e5f2f
Add timeout to test jobs to prevent hanging docker containers (#15078)
potiuk Mar 30, 2021
508f408
Better handling of docker command (#15080)
potiuk Apr 2, 2021
c5dfb6e
Mark the test_scheduler_task_start_date as quarantined (#15086)
potiuk Apr 2, 2021
2680175
Fixes failing docs upload on master (#15148)
potiuk Apr 2, 2021
66a266c
Increase timeout for building the docs (#15157)
potiuk Apr 3, 2021
aaf2edb
Merges prepare/test provider packages into two jobs (#15152)
potiuk Apr 3, 2021
a8a7b10
Finish quarantine for test_should_force_kill_process (#15081)
potiuk Apr 3, 2021
63c69c7
Adds Blinker dependency which is missing after recent changes (#15182)
potiuk Apr 3, 2021
aee1198
Bump K8S versions to latest supported ones. (#15156)
potiuk Apr 4, 2021
adf6739
Fixes problem when Pull Request is `weird` - has null head_repo (#15189)
potiuk Apr 4, 2021
b325f9e
Removes unused CI feature of printing output on error (#15190)
potiuk Apr 4, 2021
77c6d0b
Merges quarantined tests into single job (#15153)
potiuk Apr 5, 2021
1706bae
Updates 3.6 limits for latest versions of a few libraries (#15209)
potiuk Apr 5, 2021
c1ce6c5
not fail on missing status in tests
potiuk Apr 6, 2021
ba0e351
Less docker magic in docs building (#15176)
mik-laj Apr 6, 2021
90ba6b9
Fix celery executor bug trying to call len on map (#14883)
RNHTTR Apr 6, 2021
10ea58e
Constraints are now parallelized and merged in single job (#15211)
potiuk Apr 6, 2021
dcf7f9c
Adds 'Trino' provider (with lower memory footprint for tests) (#15187)
potiuk Apr 6, 2021
68c9f1d
Adds new Airbyte provider (#14492)
marcosmarxm Mar 6, 2021
1f67edd
Run kubernetes tests in parallel (#15222)
potiuk Apr 7, 2021
a7e80b1
Better compatibility/diagnostics for arbitrary UID in docker image (#…
potiuk Apr 8, 2021
dc22f8c
Bugfix: resources in `executor_config` breaks Graph View in UI (#15199)
kaxil Apr 5, 2021
f802171
Replace new url for Stable Airflow Docs (#15169)
kaxil Apr 4, 2021
2372a69
Fix Providers doc (#15185)
kaxil Apr 4, 2021
b2e640f
Add a note in set-config.rst on using Secrets Backend (#15274)
laurikoobas Apr 8, 2021
2907a91
Add Ephraim to Committers List (#14397)
kaxil Feb 23, 2021
b54f8c6
Sort Committers via their names instead of usernames (#14403)
kaxil Feb 24, 2021
db155ef
Add new committers (#14544)
kaxil Mar 1, 2021
7f64bd0
Add new Committers to docs (#15235)
kaxil Apr 6, 2021
bb199ee
Fixed #14270: Add error message in OOM situations (#15207)
Apr 6, 2021
1f2f1f7
Bugfix: Fix overriding `pod_template_file` in KubernetesExecutor (#15…
kaxil Apr 5, 2021
12e6b33
Update import path and fix typo in `dag-run.rst` (#15201)
eladkal Apr 5, 2021
ace5411
Fix mistake and typos in doc/docstrings (#15180)
XD-DENG Apr 4, 2021
7e547b7
Bugfix: Task docs are not shown in the Task Instance Detail View (#15…
kaxil Apr 5, 2021
def7133
Unable to trigger backfill or manual jobs with Kubernetes executor. (…
acksmaggart Feb 25, 2021
08b632e
Restore base lineage backend (#14146)
JPonte Apr 3, 2021
727fd93
Add documentation create/update community providers (#15061)
marcosmarxm Apr 3, 2021
633f6ba
Fix url generation for TriggerDagRunOperatorLink (#14990)
wolfier Apr 11, 2021
317f76a
Fix password masking in CLI action_logging (#15143)
XD-DENG Apr 1, 2021
8416679
BugFix: CLI 'kubernetes cleanup-pods' should only clean up Airflow-cr…
XD-DENG Apr 8, 2021
17fd314
Change default of `[kubernetes] enable_tcp_keepalive` to `True` (#15338)
jedcunningham Apr 13, 2021
14c14dd
Fix missing on_load trigger for folder-based plugins (#15208)
jedcunningham Apr 6, 2021
cf2f765
Import Connection lazily in hooks to avoid cycles (#15361)
uranusjr Apr 14, 2021
79ff590
Don't import mysql exceptions from "private" module (#15039)
ashb Mar 26, 2021
1366d65
Remove unused JS packages (#15383)
ryanahamilton Apr 15, 2021
39593f9
Fix "leaking" log driver in tests
ashb Apr 15, 2021
2221e71
Avoids error on pushing PROD image as cache (#15321)
potiuk Apr 11, 2021
0e0dc73
Bugfix: ``TypeError`` when Serializing & sorting iterables (#15395)
kaxil Apr 16, 2021
3e3e450
Don't try to push the python build image when building on release bra…
ashb Apr 16, 2021
3369e2f
Do not remove 'full-tests-needed' when approval missing (#15175)
potiuk Apr 14, 2021
a46e809
Fixes pushing constraints (#15243)
potiuk Apr 7, 2021
62b5835
Add changelog for what will become 2.0.2 (#15380)
ashb Apr 16, 2021
e494306
Update version to 2.0.2
ashb Apr 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ github:
master:
required_pull_request_reviews:
required_approving_review_count: 1
main:
required_pull_request_reviews:
required_approving_review_count: 1
v1-10-stable:
required_pull_request_reviews:
required_approving_review_count: 1
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
!.flake8
!.dockerignore
!pylintrc
!pylintrc-tests
!pytest.ini
!CHANGELOG.txt
!LICENSE
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/cancel-workflow-runs
41 changes: 27 additions & 14 deletions .github/workflows/build-images-workflow-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ on: # yamllint disable-line rule:truthy
workflows: ["CI Build"]
types: ['requested']
env:
MOUNT_LOCAL_SOURCES: "false"
MOUNT_SELECTED_LOCAL_SOURCES: "false"
FORCE_ANSWER_TO_QUESTIONS: "yes"
FORCE_PULL_IMAGES: "true"
FORCE_PULL_IMAGES: "false"
CHECK_IMAGE_FOR_REBUILD: "true"
SKIP_CHECK_REMOTE_IMAGE: "true"
DB_RESET: "true"
VERBOSE: "true"
USE_GITHUB_REGISTRY: "true"
# Might be either 'ghcr.io' or 'docker.pkg.github.com'
GITHUB_REGISTRY: "docker.pkg.github.com"
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_USERNAME: ${{ github.actor }}
# You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the
# Airflow one is going to be used
CONSTRAINTS_GITHUB_REPOSITORY: >-
${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&
secrets.CONSTRAINTS_GITHUB_REPOSITORY || github.repository }}
# This token is WRITE one - workflow_run type of events always have the WRITE token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This token should not be empty in workflow_run type of event.
Expand All @@ -42,13 +45,14 @@ env:
GITHUB_REGISTRY_WAIT_FOR_IMAGE: "false"
BUILD_IMAGES: ${{ secrets.AIRFLOW_GITHUB_REGISTRY_WAIT_FOR_IMAGE != 'false' }}
INSTALL_PROVIDERS_FROM_SOURCES: "true"
GITHUB_REGISTRY: ${{ secrets.OVERRIDE_GITHUB_REGISTRY }}

jobs:

cancel-workflow-runs:
timeout-minutes: 10
name: "Cancel workflow runs"
runs-on: ubuntu-20.04
runs-on: ${{ github.repository == 'apache/airflow' && 'self-hosted' || 'ubuntu-20.04' }}
outputs:
sourceHeadRepo: ${{ steps.source-run-info.outputs.sourceHeadRepo }}
sourceHeadBranch: ${{ steps.source-run-info.outputs.sourceHeadBranch }}
Expand All @@ -61,6 +65,7 @@ jobs:
sourceEvent: ${{ steps.source-run-info.outputs.sourceEvent }}
cacheDirective: ${{ steps.cache-directive.outputs.docker-cache }}
buildImages: ${{ steps.build-images.outputs.buildImages }}
runsOn: ${{ github.repository == 'apache/airflow' && '["self-hosted"]' || '["ubuntu-20.04"]' }}
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
Expand Down Expand Up @@ -115,7 +120,7 @@ jobs:
sourceRunId: ${{ github.event.workflow_run.id }}
notifyPRCancel: true
jobNameRegexps: >
["^Pylint$", "^Static checks", "^Build docs$", "^Spell check docs$", "^Backport packages$",
["^Pylint$", "^Static checks", "^Build docs$", "^Spell check docs$",
"^Provider packages", "^Checks: Helm tests$", "^Test OpenAPI*"]
- name: "Extract canceled failed runs"
# We use this step to build regexp that will be used to match the Source Run id in
Expand Down Expand Up @@ -191,7 +196,7 @@ jobs:
Source Sha: ${{ needs.cancel-workflow-runs.outputs.sourceHeadSha }}
Merge commit Sha: ${{ needs.cancel-workflow-runs.outputs.mergeCommitSha }}
Target commit Sha: ${{ needs.cancel-workflow-runs.outputs.targetCommitSha }}
runs-on: ubuntu-20.04
runs-on: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn) }}
needs: [cancel-workflow-runs]
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down Expand Up @@ -255,7 +260,7 @@ jobs:
build-ci-images:
timeout-minutes: 80
name: "Build CI images ${{matrix.python-version}}"
runs-on: ubuntu-20.04
runs-on: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn) }}
needs: [build-info, cancel-workflow-runs]
strategy:
matrix:
Expand All @@ -267,12 +272,15 @@ jobs:
needs.build-info.outputs.image-build == 'true' &&
needs.cancel-workflow-runs.outputs.buildImages == 'true'
env:
RUNS_ON: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn)[0] }}
BACKEND: postgres
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
GITHUB_REGISTRY_PUSH_IMAGE_TAG: ${{ github.event.workflow_run.id }}
UPGRADE_TO_NEWER_DEPENDENCIES: ${{ needs.build-info.outputs.upgradeToNewerDependencies }}
CONTINUE_ON_PIP_CHECK_FAILURE: "true"
DOCKER_CACHE: ${{ needs.cancel-workflow-runs.outputs.cacheDirective }}
FORCE_PULL_BASE_PYTHON_IMAGE: >
${{ needs.cancel-workflow-runs.sourceEvent == 'schedule' && 'true' || 'false' }}
steps:
- name: >
Checkout [${{ needs.cancel-workflow-runs.outputs.sourceEvent }}]
Expand Down Expand Up @@ -380,7 +388,7 @@ jobs:
build-prod-images:
timeout-minutes: 80
name: "Build PROD images ${{matrix.python-version}}"
runs-on: ubuntu-20.04
runs-on: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn) }}
needs: [build-info, cancel-workflow-runs, build-ci-images]
strategy:
matrix:
Expand All @@ -392,12 +400,17 @@ jobs:
needs.build-info.outputs.image-build == 'true' &&
needs.cancel-workflow-runs.outputs.buildImages == 'true'
env:
RUNS_ON: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn)[0] }}
BACKEND: postgres
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
GITHUB_REGISTRY_PUSH_IMAGE_TAG: ${{ github.event.workflow_run.id }}
GITHUB_REGISTRY_PULL_IMAGE_TAG: ${{ github.event.workflow_run.id }}
UPGRADE_TO_NEWER_DEPENDENCIES: ${{ needs.build-info.outputs.upgradeToNewerDependencies }}
DOCKER_CACHE: ${{ needs.cancel-workflow-runs.outputs.cacheDirective }}
FORCE_PULL_BASE_PYTHON_IMAGE: >
${{ needs.cancel-workflow-runs.sourceEvent == 'schedule' && 'true' || 'false' }}
VERSION_SUFFIX_FOR_PYPI: "dev"
VERSION_SUFFIX_FOR_SVN: "dev"
steps:
- name: >
Checkout [${{ needs.cancel-workflow-runs.outputs.sourceEvent }}]
Expand Down Expand Up @@ -509,9 +522,9 @@ jobs:

cancel-on-build-cancel:
name: "Cancel 'CI Build' jobs on build image cancelling."
runs-on: ubuntu-20.04
runs-on: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn) }}
if: cancelled()
needs: [build-ci-images, build-prod-images]
needs: [cancel-workflow-runs, build-ci-images, build-prod-images]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
Expand All @@ -529,9 +542,9 @@ jobs:

cancel-on-build-failure:
name: "Cancel 'CI Build' jobs on build image failing."
runs-on: ubuntu-20.04
runs-on: ${{ fromJson(needs.cancel-workflow-runs.outputs.runsOn) }}
if: failure()
needs: [build-ci-images, build-prod-images]
needs: [cancel-workflow-runs, build-ci-images, build-prod-images]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
Expand All @@ -545,5 +558,5 @@ jobs:
cancelMode: self
notifyPRCancel: true
notifyPRCancelMessage: |
Building images for the PR has failed. Follow the the workflow link to check the reason.
Building images for the PR has failed. Follow the workflow link to check the reason.
sourceRunId: ${{ github.event.workflow_run.id }}
Loading