Skip to content

Commit

Permalink
Bump airflow version (puckel#2) (puckel#304)
Browse files Browse the repository at this point in the history
* Bump Airflow Version to 1.10.2
* Fix CI
  • Loading branch information
medmrgh authored and puckel committed Jan 28, 2019
1 parent 40cfa94 commit 024cf2d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 23 deletions.
26 changes: 10 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
version: 2

jobs:
build:
build_and_test:
docker:
- image: docker:18.06.1-ce-git
working_directory: ~/CircleCI/docker-airflow
steps:
- 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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .
Expand All @@ -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=""
Expand Down
8 changes: 4 additions & 4 deletions docker-compose-CeleryExecutor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-LocalExecutor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 024cf2d

Please sign in to comment.