From 024cf2d08d2de1edf63f780c4d60c5d8fc70b265 Mon Sep 17 00:00:00 2001 From: Med Date: Mon, 28 Jan 2019 17:30:55 +0100 Subject: [PATCH] Bump airflow version (#2) (#304) * Bump Airflow Version to 1.10.2 * Fix CI --- .circleci/config.yml | 26 ++++++++++---------------- Dockerfile | 4 ++-- docker-compose-CeleryExecutor.yml | 8 ++++---- docker-compose-LocalExecutor.yml | 2 +- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48871893..41dc2f61 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: - build: + build_and_test: docker: - image: docker:18.06.1-ce-git working_directory: ~/CircleCI/docker-airflow @@ -9,22 +9,16 @@ jobs: - checkout - setup_remote_docker: docker_layer_caching: true - - run: | - docker build -t puckel/docker-airflow . - - test: - docker: - - image: docker:18.06.1-ce-git - steps: - - setup_remote_docker - - run: | - docker run puckel/docker-airflow version |grep '1.10.1' - + - run: + name: Build docker image + command: | + docker build -t puckel/docker-airflow . + - run: + name: Test docker image + command: | + docker run puckel/docker-airflow version |grep '1.10.2' workflows: version: 2 build_and_test: jobs: - - build - - test: - requires: - - build + - build_and_test diff --git a/Dockerfile b/Dockerfile index b46c3a9d..6a7fa015 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# VERSION 1.10.1 +# VERSION 1.10.2 # AUTHOR: Matthieu "Puckel_" Roisil # DESCRIPTION: Basic Airflow container # BUILD: docker build --rm -t puckel/docker-airflow . @@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND noninteractive ENV TERM linux # Airflow -ARG AIRFLOW_VERSION=1.10.1 +ARG AIRFLOW_VERSION=1.10.2 ARG AIRFLOW_HOME=/usr/local/airflow ARG AIRFLOW_DEPS="" ARG PYTHON_DEPS="" diff --git a/docker-compose-CeleryExecutor.yml b/docker-compose-CeleryExecutor.yml index 3986eaa7..15643ade 100644 --- a/docker-compose-CeleryExecutor.yml +++ b/docker-compose-CeleryExecutor.yml @@ -16,7 +16,7 @@ services: # - ./pgdata:/var/lib/postgresql/data/pgdata webserver: - image: puckel/docker-airflow:1.10.1 + image: puckel/docker-airflow:1.10.2 restart: always depends_on: - postgres @@ -43,7 +43,7 @@ services: retries: 3 flower: - image: puckel/docker-airflow:1.10.1 + image: puckel/docker-airflow:1.10.2 restart: always depends_on: - redis @@ -55,7 +55,7 @@ services: command: flower scheduler: - image: puckel/docker-airflow:1.10.1 + image: puckel/docker-airflow:1.10.2 restart: always depends_on: - webserver @@ -74,7 +74,7 @@ services: command: scheduler worker: - image: puckel/docker-airflow:1.10.1 + image: puckel/docker-airflow:1.10.2 restart: always depends_on: - scheduler diff --git a/docker-compose-LocalExecutor.yml b/docker-compose-LocalExecutor.yml index 2a5c393a..15a36c8d 100644 --- a/docker-compose-LocalExecutor.yml +++ b/docker-compose-LocalExecutor.yml @@ -8,7 +8,7 @@ services: - POSTGRES_DB=airflow webserver: - image: puckel/docker-airflow:1.10.1 + image: puckel/docker-airflow:1.10.2 restart: always depends_on: - postgres