You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/04/26 19:22:40 UTC

[airflow] branch master updated: Updated manual PROD image push and verification steps (#15449)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new fa44ea8  Updated manual PROD image push and verification steps (#15449)
fa44ea8 is described below

commit fa44ea819b5f339c86487b3f5bf84b3bd9c6ebc5
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Apr 26 21:22:18 2021 +0200

    Updated manual PROD image push and verification steps (#15449)
---
 dev/README_RELEASE_AIRFLOW.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 39b4429..d06f992 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -659,7 +659,7 @@ pushed. If this did not happen - please login to DockerHub and check the status
 
 In case you need, you can also build and push the images manually:
 
-Airflow 2+:
+### Airflow 2+:
 
 ```shell script
 export DOCKER_REPO=docker.io/apache/airflow
@@ -668,12 +668,23 @@ for python_version in "3.6" "3.7" "3.8"
   export DOCKER_TAG=${VERSION}-python${python_version}
   ./scripts/ci/images/ci_build_dockerhub.sh
 )
+docker tag apache/airflow:${VERSION}-python3.6 apache/airflow:${VERSION}
+docker push apache/airflow:${VERSION}
 ```
 
 This will wipe Breeze cache and docker-context-files in order to make sure the build is "clean".
 
+You can also verify that the images are working fine:
 
-Airflow 1.10:
+```shell script
+for python_version in "3.6" "3.7" "3.8"
+(
+  ./scripts/ci/tools/verify_docker_image.sh PROD apache/airflow:${VERSION}-python${python_version}
+)
+```
+
+
+### Airflow 1.10:
 
 ```shell script
 for python_version in "2.7" "3.5" "3.6" "3.7" "3.8"