Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 929 Bytes

readme.md

File metadata and controls

41 lines (31 loc) · 929 Bytes

Desenvolvendo Pipelines de Dados Modernos com Apache Airflow

astro cli install & init

https://www.astronomer.io/docs/astro/cli/overview
https://github.com/astronomer/astro-cli

brew install astro
astro dev init

configure gcp env

gcloud auth login
gcloud projects list

gcloud config set project silver-charmer-243611

gcloud iam service-accounts create astro-cli-sa

gcloud projects add-iam-policy-binding silver-charmer-243611 \
  --member "serviceAccount:[email protected]" \
  --role "roles/editor"
  
gcloud iam service-accounts keys create gcp_key_file.json \
  --iam-account [email protected]

export GOOGLE_APPLICATION_CREDENTIALS=~/gcp_key_file.json

init project

astro dev start
astro dev restart

install libs

pip install apache-airflow
pip install astro-sdk-python