Граф коммитов

204 Коммитов

Автор SHA1 Сообщение Дата
James Timmins 5918efc86a
Add 3.8 to the test matrices (#8836) 2020-06-05 18:39:28 +01:00
Kamil Breguła 997ddb6057
Add airflow plugin command (#9001) 2020-06-05 00:49:46 +01:00
Jarek Potiuk 92d68807f3
Split utils sh (#9132)
* Split _utils.sh into separate files
2020-06-04 22:12:56 +02:00
Jarek Potiuk ff5dcccbbd
Kubernetes Cluster is started on host not in the container (#8265)
Tests requiring Kubernetes Cluster are now moved out of
the regular CI tests and moved to "kubernetes_tests" folder
so that they can be run entirely on host without having
the CI image built at all. They use production image
to run the tests on KinD cluster and we add tooling
to start/stop/deploy the application to the KinD cluster
automatically - for both CI testing and local development.

This is a pre-requisite to convert the tests to convert the
tests to use the official Helm Chart and Docker images or
Apache Airflow.

It closes #8782
2020-06-03 20:58:38 +02:00
Kaxil Naik 5f038d08bc
Add filepaths for API label in BoringCyborg Bot (#9116) 2020-06-02 20:17:00 +01:00
Jarek Potiuk a6216a760c
You can push with Breeze as separate command and to cache (#8976)
Breeze had --push-images switch to also push images to repo
but it was often needed to build and push images separately.

We have now a possibility to push an already built image with
separate push-image command instead and also you can choose
to push to cache registry in GitHub rather than to DockerHub
with --registry-cache switch.
2020-06-02 10:24:47 +02:00
Daniel Imberman e4d811db86
Use production image for k8s tests (#9038)
* Use production image for k8s tests

The CI image has become too large to load into KinD,

it also only really makes sense to use the production image for
integration tests

* nit

Co-authored-by: Daniel Imberman <daniel@astronomer.io>
2020-05-28 07:11:37 -07:00
Ash Berlin-Taylor dd1bfccf3c
Cancel queued/running builds on second push to PR (#9050)
This uses an action from the marketplace to cancel any running builds
for our main "CI" workflow (the only one we have at the moment)
2020-05-28 13:05:45 +01:00
Kamil Breguła 030261a372
Assign area:webserver label to webserver_command.py (#8998) 2020-05-24 22:55:24 +02:00
Daniel Imberman 90a07d8184
Cache 1 10 ci images (#8955)
* Push CI images to Docker packcage cache for v1-10 branches

This is done as a commit to master so that we can keep the two branches
in sync

Co-Authored-By: Ash Berlin-Taylor <ash_github@firemirror.com>

* Run Github Actions against v1-10-stable too

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
2020-05-21 13:20:29 -07:00
Jarek Potiuk 41481bb402
Python base images are stored in cache (#8943)
All PRs will used cached "latest good" version of the python
base images from our GitHub registry. The python versions in
the Github Registry will only get updated after a master
build (which pulls latest Python image from DockerHub) builds
and passes test correctly.

This is to avoid problems that we had recently with Python
patchlevel releases breaking our Docker builds.
2020-05-21 13:39:07 +02:00
Ash Berlin-Taylor 51d955787b
Re-run all tests when Dockerfile or Github worflow change (#8924)
Fixes #8921
2020-05-20 18:49:28 +01:00
Jarek Potiuk a3a3411838
Fix master failing on generating requirements (#8885)
By default github actions checks out only latest commit but in order to
see if there are any changes since the last readme generated
we need to see the whole history so we need to fetch it all.

We also skip generating the new README in case there is only one
commit in the history since the last release. The nature of readme
generation is that the commit with the README itself will never
be in the list of commits for the previous release so there is
always at least one commit more than the one listed in the readme.
2020-05-16 12:53:30 +02:00
Kaxil Naik 2e9ef45589
Stop Stalebot on Github issues (#8738) 2020-05-06 19:52:37 +01:00
Kamil Breguła 5ddc45832d
Change provider:GCP to provider:Google for Labeler Bot (#8697) 2020-05-04 11:22:13 +01:00
Jarek Potiuk 4a1d71d23d
Fix the process of requirements generations (#8648)
Right now requirements will be only checked during the
CI build if the setup.py has changed and if yes, clear instructions
will be given. The diff will still be printed otherwise but
it will not cause the job to fail
2020-04-30 18:39:38 +02:00
Jarek Potiuk 3c4ca62af1
Building backport packages is now done inside Breeze container (#8558)
This way you do not have to worry about setting up your environment.

Fixes #8537
2020-04-26 12:35:27 +02:00
Jarek Potiuk 0de597f95f
The CRON job now is working and triggers builds on DockerHub (#8549)
The CRON job from previous runs did not have everything working
after the emergency migration to Github Actions.

This change brings back following improvements:

* rebuilding images from the scratch in CRON job
* automatically upgrading all requirements to test if they are new
* pushing production images to github packages as cache
* pushing nightly tag to github
2020-04-26 00:33:39 +02:00
Jiajie Zhong 9eaacbde74
Development PR template target issue if exists (#8524) 2020-04-23 13:01:21 +02:00
Jarek Potiuk ffcbb22c93
Move some tests to quarantine (#8511) 2020-04-23 08:51:56 +02:00
Jarek Potiuk e11a838ee1
Optimize GitLab CI configuration (#8499)
* tests are not executed for doc-only changes
* images will be (once merged) downloaded from GitHub Registry so likely much faster
* we have a "scheduled" nightly build that will build everything from scratch and check if no requirements have been broken
* improved split of static checks between two static check jobs - to utilise parallelism better.
* reorganised some fast jobs (requirements, prod image) that do not depend on tests so that they can run earlier
* shorter names for jobs so that they are nicer to view in the actions view
* matrix definitions of the jobs so that we can manage them better
2020-04-23 01:11:25 +02:00
Jarek Potiuk 887dea35d1
Add support for caching of image in GitHub's registry (#8497) 2020-04-22 16:08:58 +02:00
Tomek Urbaszek 44e3d7e347
Add "please use search" in bugfix template (#8492)
* Please use search before creating bug issue

* fixup! Please use search before creating bug issue
2020-04-22 15:46:48 +02:00
Kaxil Naik c34ba9a8ef
Allow only adding labels on PR Creation (not Updation) (#8461) 2020-04-19 23:51:59 +01:00
Kaxil Naik d97e5eed7e
Add a dedicated "free disk space" step to fix CI (#8426) 2020-04-17 13:21:21 +01:00
Jarek Potiuk 84bc527879
Move backport packages to GA (#8391) 2020-04-16 07:46:32 +02:00
Tomek Urbaszek a266497f3a
Use Github Actions to run CI (#8376)
* Use Github Actions to run CI

* Fix backports build
2020-04-15 13:03:14 -07:00
Bas Harenslak eb17ef04b0
Fix indentation (#8250) 2020-04-11 13:38:24 +01:00
Jiajie Zhong e2f7792ae6
Remove JIRA ticket insert by bot in PR template (#7835) 2020-04-02 11:47:00 -07:00
Kaxil Naik 4c067de74c
Fix static check failure: end-of-file-fixer (#7874)
https://github.com/apache/airflow/pull/7789 introduced this bug by adding a new line at the end of the file
2020-03-25 17:44:16 +00:00
Daniel Imberman 66962b40ab
add kubernetes instructions to bug_report (#7789)
Co-authored-by: Daniel Imberman <daniel@astronomer.io>
2020-03-25 08:34:58 -07:00
Kaxil Naik a31ce568bf
Welcome users on creating their first issue (#7867) 2020-03-25 07:08:56 -07:00
Jarek Potiuk 210de87d6d
Move Dockerfile to Dockerfile.ci (#7829) 2020-03-23 08:56:26 +01:00
Daniel Imberman 5846b6a37a
Ask users reporting UI bugs to include photo or video (#7790) 2020-03-22 15:34:00 +00:00
Ash Berlin-Taylor fee827ed5a
Remove references to Jira for tickets/PR from docs (#7783) 2020-03-20 18:41:18 +00:00
Ash Berlin-Taylor 661c44a0a8
Fix formatting in feature_request issue template (#7784)
To make it bold there needs to be no space inside the `**`
2020-03-20 18:40:53 +00:00
Ash Berlin-Taylor bfce7e9862
Enable Github issues (#7779)
As we don't want people using GitHub issues for asking for help, I have
tried to make this clear in the issue template.

Lets see if it works or not...
2020-03-20 15:48:04 +00:00
Ash Berlin-Taylor 2a9f9e48ad
Remove Jira title requirement from Mergable check (#7780)
Follow up to #7771, where we missed one final check
2020-03-20 14:45:35 +00:00
Daniel Imberman 92ca7517a2
Remove JIRA requirements from PRs (#7771)
As a part of our move from JIRA tickets to GitHub issues, we should no
longer force users to add JIRA ticket numbers to the titles of their PRs
2020-03-19 21:35:50 +00:00
Kaxil Naik 968a3f98b4
[AIRFLOW-XXXX] Add label for Secrets for matching filepaths (#7746) 2020-03-17 12:26:59 +00:00
Kamil Breguła 4e3f00d33d
[AIRFLOW-XXXX] Add airflow/utils/dag_processing.py to boring-cyborg.yml (#7586) 2020-02-28 13:09:21 +00:00
Kaxil Naik 1110faafb3
[AIRFLOW-XXXX] Fix broken static check failure on CI (#7551) 2020-02-26 17:28:32 +00:00
Kaxil Naik f89582a011
[AIRFLOW-XXXX] Block PR Merge if it has DONT-MERGE in title (#7550) 2020-02-26 16:36:44 +00:00
Kamil Breguła 6ec9664a6b
[AIRFLOW-XXXX] Prohibit non-finished PR (#7543) 2020-02-26 13:33:27 +01:00
Ash Berlin-Taylor 92f90fd11f
[AIRFLOW-XXXX] Document new session handling guidelines (#7483) 2020-02-21 15:30:30 +00:00
Jarek Potiuk e6d0b575ed
[AIRFLOW-XXXX] Update autolabeler config (#7379) 2020-02-07 17:05:24 +01:00
Tomek Urbaszek 8858a9107e [AIRFLOW-XXXX] Fix url in new contributors message (#7255) 2020-01-25 12:19:17 +01:00
Xinbin Huang 41eb792c27 [AIRFLOW-XXXX] Add up-to-date checker to BoringCyborg config (#7239) 2020-01-22 12:16:31 +05:30
Jarek Potiuk c1ede4d63f Revert "[AIRFLOW-6596] Enforce description should not be empty (#7211)" (#7219)
This reverts commit d553813b0c.
2020-01-21 18:22:05 +05:30
Kaxil Naik d553813b0c
[AIRFLOW-6596] Enforce description should not be empty (#7211) 2020-01-19 15:58:52 +05:30
Tomek Urbaszek fefb671f7d [AIRFLOW-XXXX] Add link for operators guide in first PR message (#7188) 2020-01-17 12:07:23 +01:00
Jarek Potiuk 4d70088872 [AIRFLOW-XXXX] Add instructions to mark the boxes. (#7156)
It was removed when we simplified the template but not everyone
knows that they should do it.
2020-01-13 19:12:34 +01:00
Jarek Potiuk 19b9193ccc
[AIRFLOW-XXXX] Remove trailing slash of JIRA issue link (#7155)
Trailing slash causes weird problem. When you enter the issue
via this link, your URL in browser gets updated to an empty one
which results in Error Page when you resolve the ticket.
2020-01-13 17:32:49 +01:00
Jarek Potiuk 26b8c58ea8 [AIRFLOW-6545] Add commit message validation (#7149) 2020-01-13 13:32:19 +00:00
Tomek Urbaszek 64204d3d60 [AIRFLOW-XXXX] Add useful tips to first PR msg (#7082) 2020-01-06 18:18:07 +00:00
Jarek Potiuk e863f8a08c [AIRFLOW-XXXX] Boring cyborg automatically inserts issue link (#7078)
Issue link in PR will be now automatically inserted by the boring
cyborg probot integration. It also handles the case of document-only
changes and it will keep the link updated if the title of the PR
is updated.
2020-01-06 14:05:33 +00:00
Kaxil Naik 828e4b83fc [AIRFLOW-XXXX] Add config to welcome first time contributors (#7071) 2020-01-06 09:58:52 +01:00
Kaxil Naik 7ad0615012
[AIRFLOW-XXXX] Add more files for area:dev label (#7058) 2020-01-05 09:52:32 +00:00
Kaxil Naik 5b8d5aff15
[AIRFLOW-XXXX] Add more label configs for Github App (#7056) 2020-01-05 03:36:28 +00:00
Kaxil Naik 8e94dca61a
[AIRFLOW-XXXX] Remove Github action to add label (#7055) 2020-01-05 02:49:43 +00:00
Kaxil Naik 4f33f29666
[AIRFLOW-XXXX] Add Probot App to add labels on PR (#7053) 2020-01-05 02:27:35 +00:00
Jarek Potiuk 6a22219f07
[AIRFLOW-XXXX] Decrease frequency of PR labelling Github Action (#7048)
With the current frequency we are going to exhaust our 2000 free
minutes in about 10 days. We should decrease the frequency quickly.
2020-01-04 22:44:08 +01:00
Jarek Potiuk 592284a7e4
[AIRFLOW-XXXX] Used fixed periodic auto-labeler from potiuk's repo (#7047)
The periodic labeler had a bug that it was not using pagination.
In effect the labeler was checking only 30 oldest request and
if they all contained proper labels, it was not checking any more
PRs.

Details are available in
https://github.com/paulfantom/periodic-labeler/pull/4

But until it is merged, we switch to our own fixed version.
2020-01-04 22:43:39 +01:00
Kaxil Naik 24ad3edd02 [AIRFLOW-XXXX] Fix Path for Github Action (#7040) 2020-01-04 12:44:12 +01:00
Kaxil Naik 64f8783a6d
[AIRFLOW-6447] Add GitHub Action to add Labels on Pull Requests (#7039) 2020-01-04 11:29:49 +00:00
Kaxil Naik 3d82e8cf6a
[AIRFLOW-6449] Remove Github actions until a known bug is fixed (#7035) 2020-01-04 02:22:30 +00:00
Kaxil Naik e864e37897 [AIRFLOW-6446] Add Github Action to Welcome First time contributors (#7031)
* [AIRFLOW-6446] Add Github actions to Welcome First time contributors

* Update the welcome message
2020-01-03 16:07:55 -08:00
Kaxil Naik e9ebe7a119 [AIRFLOW-6447] Add GitHub Action to add Labels on Pull Requests (#7032) 2020-01-03 15:18:11 -08:00
Kaxil Naik a94d82f114
[AIRFLOW-6436] Create & Automate docs on Airflow Configs (#7015) 2020-01-03 17:47:44 +00:00
Jarek Potiuk 487588eff4 [AIRFLOW-XXXX] You can now paste JIRA ID only once (#7009) 2020-01-02 16:37:50 +00:00
Jarek Potiuk aa90753cf5 [AIRFLOW-XXXX] Add separator to pull request template (#7001) 2020-01-02 13:47:01 +00:00
Kaxil Naik 0f777f74b7
[AIRFLOW-6421] Remove ci-reporter Probot app config (#6996) 2020-01-01 22:52:56 +00:00
Kamil Breguła b76245eee7 [AIRFLOW-6417] Disable approval requirements from mergeable (#6990) 2020-01-01 13:37:42 +00:00
Jarek Potiuk baaf7ee435
[AIRFLOW-XXXX] add empty line so that hints are indented better (#6989) 2020-01-01 12:32:14 +01:00
Kaxil Naik 991b34d66b
[AIRFLOW-6413] Add config file for Mergeable Github integration (#6981) 2019-12-31 13:46:32 +00:00
Kaxil Naik 2210db0ec5 [AIRFLOW-6412] Add config file for ci-reporter Probot Integration (#6980) 2019-12-31 14:11:56 +01:00
Jarek Potiuk 44e8ebd043 [AIRFLOW-6394] Simplify github PR template (#6955) 2019-12-30 13:58:14 +00:00
Tomek Urbaszek 54fa1cf75e [AIRFLOW-XXX] Remove flake8 from PR template
Since we have pre-commit and flake8 on CI there seems to be no
reason to keep this bullet point in PR template.
2019-09-04 10:48:13 +02:00
Jarek Potiuk e1cb8ce99b
[AIRFLOW-5180] Added static checks (yamllint) + auto-licences for yaml file (#5790) 2019-08-22 10:13:56 -04:00
Jarek Potiuk e405be0141 [AIRFLOW-5234] Rst files have consistent, auto-added license 2019-08-18 19:51:02 -04:00
Philippe Gagnon 68e8c998ad [AIRFLOW-XXX] Add .github/SECURITY.md (#5329)
This commit adds a .github/SECURITY.md file that defines the
contents of the "Policy" tab in the new "Security" section of
the GitHub interface.

Currently the Policy tab obtains its content from the
docs/security.rst file, which contains technical, non-policy
related information. This commit retains the
"Reporting Vulnerabilities" section of docs/security.rst, which
is relevant, and strips the extraneous content.
2019-06-06 09:33:54 +01:00
Kamil Breguła 8c05dcf1a4 [AIRFLOW-XXX] Remove note about autoclasses (#5001) 2019-03-29 11:54:59 +00:00
BasPH 0f1ffdaa37 [AIRFLOW-XXX] Add note on ASF licensing (#4909)
[ci skip]
2019-03-13 15:52:05 +08:00
Felix e412e741a3 [AIRFLOW-XXX] Add note about backwards incompatible changes (#4843) 2019-03-05 13:34:37 -08:00
Tao Feng 4020bed2f4 [AIRFLOW-XXX] Update pull request template to include AIP info (#4765) 2019-02-27 16:08:08 +01:00
Kaxil Naik d9f036ef4d [AIRFLOW-XXX] Add Docstrings as Requirement in Contribution template (#4282)
* [AIRFLOW-XXX] Add Docstrings as Requirement in Contribution template

* Update PULL_REQUEST_TEMPLATE.md
2018-12-06 10:58:59 +01:00
Fokko Driesprong 0e8394fd23 [AIRFLOW-3190] Make flake8 compliant (#4035)
Enforce Flake8 over the entire project
2018-10-12 22:22:52 +01:00
r39132 e68ad5f846 [AIRFLOW-3096] Further reduce DaysUntilStale for probo/stale 2018-09-20 10:29:02 -07:00
r39132 69d10f04c1 [AIRFLOW-3096] Reduce DaysUntilStale for probot/stale 2018-09-20 08:59:10 -07:00
Sid Anand 8f601124a8 [AIRFLOW-3040] Enable ProBot to clean up stale Pull Requests (#3883) 2018-09-11 19:55:16 +01:00
Taylor D. Edmiston 6d31c9e416 [AIRFLOW-2832] Lint and resolve inconsistencies in Markdown files (#3670)
Clean up the Markdown files and make the formatting consistent
2018-08-01 09:50:23 +02:00
Fokko Driesprong 3475faf6ba [AIRFLOW-2302] Add missing operators and hooks
Many operators and hooks are not listed in the
config, and therefore
not picked up by the docks generator.

Closes #3201 from Fokko/airflow-2302-add-missing-
docs
2018-04-11 11:55:29 +02:00
Bolke de Bruin 57f79ba4c4 [AIRFLOW-XXX] Update PR template 2018-04-06 19:10:05 +02:00
Bolke de Bruin b9c82c0400 [AIRFLOW-1870] Enable flake8 tests
Flake8 tests now run for diffs

Closes #2829 from bolkedebruin/use_flake8
2017-11-30 15:57:17 +01:00
Jeremiah Lowin b6248575cc [AIRFLOW-995] Remove reference to actual Airflow issue
Remove example reference to AIRFLOW-[one] because
it confuses merge tools. In addition, simplify
the checkboxes because Github displays how many
of them have been checked off.

Closes #2163 from jlowin/pr-template-2
2017-03-17 15:55:56 -04:00
Jeremiah Lowin 0473ba2068 [AIRFLOW-995][AIRFLOW-1] Update GitHub PR Template
Closes #2160 from jlowin/PR-template
2017-03-16 16:14:15 -04:00
Dan Davydov 57e8956b56 [AIRFLOW-919] Running tasks with no start date shouldn't break a DAGs UI
Please accept this PR that addresses the following
issues:
-
https://issues.apache.org/jira/browse/AIRFLOW-919

I also made the airflow PR template a little bit
less verbose (requires less edits when creating a
PR).

Testing Done:
- Ran a webserver with this case and made sure
that the DAG page loaded

Closes #2110 from
aoen/ddavydov/fix_running_task_with_no_start_date
2017-02-27 13:43:29 -08:00
Siddharth Anand 99e7d8c61b [AIRFLOW-556] Add UI PR guidelines
For all PRs with UI changes, it is a requirement
that screenshots be included in the PR. Update
PULL_REQUEST_TEMPLATE with this PR guideline for
UI changes.

Closes #1829 from r39132/master
2016-10-06 13:07:18 -07:00
Bolke de Bruin 5364d6cf02 [AIRFLOW-275] Update contributing guidelines
The current guidelines do not reflect the move to Apache. This
updates the links and update the PR template.
2016-06-23 21:36:17 +02:00
Dan Davydov dffd108ed5 [AIRFLOW-241] Add testing done section to PR template 2016-06-14 15:14:11 -07:00
Jeremiah Lowin a91b14300a Update PR template with instructions about JIRA 2016-05-02 18:44:36 -04:00
Jeremiah Lowin e8e6132082 Clean up issue template (#1419) 2016-04-24 11:16:55 -04:00
Siddharth Anand d8c4905a0d Fixing misnamed PULL_REQUEST_TEMPLATE 2016-04-11 09:24:45 -07:00
Siddharth Anand 6b74478545 Github ISSUE_TEMPLATE & PR_TEMPLATE cleanup 2016-04-08 12:48:51 -07:00