Skip to content

Commit

Permalink
fix start airflow1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverCat committed Nov 14, 2018
1 parent cc91d9f commit 71b92a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ script:

# Test Airflow 1.9 with Python 3
- cd ${TRAVIS_BUILD_DIR}/tests/airflow1.9-py3 && docker-compose up -d
- chmod -R 777 ${TRAVIS_BUILD_DIR}/tests/airflow1.9-py3/airflow/logs
- ${TRAVIS_BUILD_DIR}/tests/${INTEGRATION_TEST_SCRIPT}
- docker-compose down
3 changes: 1 addition & 2 deletions tests/airflow1.9-py3/airflow/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ USER root

RUN pip3 install prometheus_client

# Needed to write to mounted directory with proper permissions
USER ${HOST_USER_ID}
USER airflow
1 change: 0 additions & 1 deletion tests/airflow1.9-py3/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ services:
- POSTGRES_USER=airflow
- POSTGRES_PASSWORD=airflowpass
- POSTGRES_DB=airflow
- HOST_USER_ID=$UID # need to write to mounted files
volumes:
- ../dags:/usr/local/airflow/dags
- ../..:/usr/local/airflow/plugins/airflow-exporter-0.000
Expand Down

0 comments on commit 71b92a8

Please sign in to comment.