-
Copy
gcp_keyfile.json
toairflow/
-
Copy
.env
toairflow/
-
Generate
AIRFLOW_SECRET_KEY
in.env
Use below command to generate a random secret key.
openssl rand -hex 24
Paste the result to AIRFLOW_SECRET_KEY
in .env
.
- Run
docker-compose build
docker-compose up
- Navigate to
localhost:8080
-
d_data_ingestion_gcs.py: upload file to GCS, and create bigquery external table.
-
d_example_data_pipeline.py: simple data pipeline.
- download data from gcs, and transform data, then upload to gcs and create external table.
- query bigquery and create new table.
- TIR101 Group 2: Refer to Airflow settings and Upload to GCS.