danielomiya / grupoboticario-case

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grupoboticario-case

Case details are located here and here.

Installation

Clone the repository with git:

git clone https://github.com/gwyddie/grupoboticario-case

Setup up the environment:

make prep-env

Adjust the settings on .env. It's also necessary to use a service account to access GCP services, so downlaod the key_file to ./service-account.json, and make it available to Airflow using:

make import-connection

The data to be processed and the resources required by the Dataproc cluster can be uploaded with:

make ci

Lastly, you can start running the containers:

make up

Tests

I haven't setup overcomplicated unit tests to assert the DAGs' structure, but I included a single one, that I find the most useful, to check if all DAGs can be created without import errors.

make test

Technologies

  • Apache Airflow 2.5.1
  • Apache Spark 3.1.3
  • Python 3.7
  • Cloud Storage
  • Dataproc
  • BigQuery

That's all, folks!

About


Languages

Language:Jupyter Notebook 90.3%Language:Python 9.3%Language:Makefile 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%