diff --git a/cornflow-server/airflow_config/scripts/init_airflow_service.py b/cornflow-server/airflow_config/scripts/init_airflow_service.py index 611fd61f..89fdcf98 100644 --- a/cornflow-server/airflow_config/scripts/init_airflow_service.py +++ b/cornflow-server/airflow_config/scripts/init_airflow_service.py @@ -54,10 +54,12 @@ ADD_HOST = f"ssh-keyscan {CUSTOM_SSH_HOST} >> /usr/local/airflow/.ssh/known_hosts" CONFIG_SSH_HOST = f"echo Host {CUSTOM_SSH_HOST} > /usr/local/airflow/.ssh/config" CONFIG_SSH_KEY = 'echo " IdentityFile /usr/local/airflow/.ssh/id_rsa" >> /usr/local/airflow/.ssh/config' + COPY_TO_USER_DIR = "cp -r /usr/local/airflow/.ssh $HOME/" os.system(ADD_KEY) os.system(ADD_HOST) os.system(CONFIG_SSH_HOST) os.system(CONFIG_SSH_KEY) + os.system(COPY_TO_USER_DIR) # Install custom python package if requirements.txt is present if os.path.isfile("/requirements.txt"): diff --git a/docker-compose-cornflow-celery.yml b/docker-compose-cornflow-celery.yml index 8e530ef4..598acee6 100644 --- a/docker-compose-cornflow-celery.yml +++ b/docker-compose-cornflow-celery.yml @@ -30,7 +30,7 @@ x-airflow-common: &airflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/airflow:latest + image: baobabsoluciones/airflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server/airflow_config @@ -64,7 +64,7 @@ x-cornflow-common: &cornflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/cornflow:release-v1.0.7 + image: baobabsoluciones/cornflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server diff --git a/docker-compose-cornflow-ldap.yml b/docker-compose-cornflow-ldap.yml index 4457dd58..599b43bd 100644 --- a/docker-compose-cornflow-ldap.yml +++ b/docker-compose-cornflow-ldap.yml @@ -31,7 +31,7 @@ x-airflow-common: &airflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/airflow:latest + image: baobabsoluciones/airflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server/airflow_config @@ -68,7 +68,7 @@ x-cornflow-common: &cornflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/cornflow:release-v1.0.7 + image: baobabsoluciones/cornflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server diff --git a/docker-compose.yml b/docker-compose.yml index 9308d822..24c808c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ x-airflow-common: &airflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/airflow:latest + image: baobabsoluciones/airflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server/airflow_config @@ -60,7 +60,7 @@ x-cornflow-common: &cornflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line and uncomment the "build" and "context" lines below, Then run `docker-compose build` to build the images. - image: baobabsoluciones/cornflow:release-v1.0.7 + image: baobabsoluciones/cornflow:release-v1.0.8 platform: linux/amd64 #build: #context: ./cornflow-server