-
Notifications
You must be signed in to change notification settings - Fork 14.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
[AIRFLOW-5842] Switch to Debian buster image. Depends on [AIRFLOW-5704] #6499
[AIRFLOW-5842] Switch to Debian buster image. Depends on [AIRFLOW-5704] #6499
Conversation
669795c
to
f7c78bf
Compare
f7c78bf
to
c86f05f
Compare
# In case of CI builds we want to pre-install master version of airflow dependencies so that | ||
# We do not have to always reinstall it from the scratch and loose time for that. | ||
# CI build is optimised for build speed | ||
RUN pip install --user \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add --no-cache-dir
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. I have now seen that you set environment variables on the 55 line, but maybe you should delete the variables and make it more implicit? It also remove 1 docker layer.
b76fc9d
to
828dd8e
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please don't |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@potiuk What is the status on this?
BREEZE.rst
Outdated
(for example, ``apache/airflow:master-python3.6-ci``). The image is built using the | ||
`<Dockerfile>`_ Dockerfile. | ||
* **Production-ready image** that is used TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have more information on this?
We have far too much bash code around that is not automatically tested. This is the first step to change it (simplifications and more tests are coming soon).
Getting there shortly! I added the automated test to be able to fix some of the difficulties with bash scripts testing and I am full steam ahead with improving that. |
While working on improving the way we run Kubernetes tests, we found out that I need to fix handling of parameters - we change Kubernetes version used via Kind and the old versions are no longer valid, however it was not properly removed/saved. We use the opportunity to add automated tests for that feature. (cherry picked from commit 38dea9132d1fa36f4fbe871e2ab037be5ad3fab2)
828dd8e
to
1f5e918
Compare
8331d5f
to
e61fa41
Compare
* Fixed problem that Kubernetes tests were testing latest master rather than what came from the local sources. * Moved Kubernetes scripts to 'in_container' dir where they belong now * Kubernetes tests are now better suited for running locally * Kubernetes cluster is not deleted until environment is stopped * Kubernetes image is build from pulled image + mounted sources * Kubectl version name is corrected in the Dockerfile * KUBERNETES_VERSION can now be used to select Kubernetes version * Running kubernetes scripts is now easy in Breeze --start-kind-cluster * Instructions on how to run Kubernetes tests are updated * Better flags in Breeze are used to run Kubernetes environment/tests * The old "bare" environment is replaced by --no-deps switch
e61fa41
to
107fc0e
Compare
As part of the production migration we switch to buster image which is latest released LTS version.
107fc0e
to
8053e4b
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as I restarted it from the scratch (and simpler) - #7647 |
NOTE FOR REVIEWER: This change depends on #6373 . Please check only last commit.
As part of the production migration we switch to buster image
which is latest released LTS version.
Jira
Description
Tests
Commits
Documentation