-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Add robots.txt and X-Robots-Tag header #17946
Conversation
... could use some help with where and how to add tests to this as I didn't find that setup intuitive |
Cool. Thanks for that ! The easiest way to add tests is to add separate package for The setup is rather easy. For those tests you can setup local virtualenv (https://github.com/apache/airflow/blob/main/LOCAL_VIRTUALENV.rst) - classic python virtualenv and run You can also setup BREEZE with (https://github.com/apache/airflow/blob/main/BREEZE.rst) - thi s more compleete environment whicch is docker -compose based and is the exact replica of what happens in hthe CI. This is as simple as running |
@potiuk added tests. |
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
Added a robots.txt file and X-Robots-Tag header to limit some of the damage caused when accidentally exposing airflow to the public internet.