Skip to content

Commit

Permalink
Airflow Demo: Remove superset in down.sh (#4638)
Browse files Browse the repository at this point in the history
* Remove superset in down.sh

* Clean up superset containers before creating them in up.sh

Co-authored-by: Abhi Vaidyanatha <abhivaidyanatha@Abhis-MacBook-Pro.local>
  • Loading branch information
avaidyanatha and Abhi Vaidyanatha committed Jul 8, 2021
1 parent 8ae9f1c commit ae39862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/examples/airflow/down.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
cd ../../..
docker-compose down -v
cd resources/examples/airflow || exit
docker-compose down -v
docker-compose -f docker-compose-superset.yaml down -v
docker-compose -f docker-compose.yaml down -v
1 change: 1 addition & 0 deletions resources/examples/airflow/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ docker exec -ti airflow_webserver airflow variables set 'AIRBYTE_CONNECTION_ID'
docker exec -ti airflow_webserver airflow connections add 'airbyte_example' --conn-uri 'airbyte://host.docker.internal:8000'
echo "Access Airflow at http://localhost:8085 to kick off your Airbyte sync DAG."
# Create Superset containers.
docker-compose -f docker-compose-superset.yaml down -v
docker-compose -f docker-compose-superset.yaml up -d

0 comments on commit ae39862

Please sign in to comment.