-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeltano.yml
60 lines (59 loc) · 1.59 KB
/
meltano.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: 1
default_environment: dev
plugins:
extractors:
- name: tap-csv
variant: meltanolabs
pip_url: git+https://github.com/MeltanoLabs/tap-csv.git
config:
files:
- entity: customers
path: data/customers.csv
keys: [id]
- entity: orders
path: data/orders.csv
keys: [id]
- entity: payments
path: data/payments.csv
keys: [id]
loaders:
- name: target-postgres
variant: transferwise
pip_url: pipelinewise-target-postgres
orchestrators:
- name: airflow
pip_url: apache-airflow==2.1.2 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-${MELTANO__PYTHON_VERSION}.txt
files:
- name: airflow
pip_url: git+https://gitlab.com/pnadolny13/files-airflow-dbt.git
- name: dbt
pip_url: git+https://gitlab.com/meltano/files-dbt.git@config-version-2
transformers:
- name: dbt
pip_url: 'dbt-core~=1.0.0 dbt-postgres~=1.0.0 dbt-redshift~=1.0.0 dbt-snowflake~=1.0.0
dbt-bigquery~=1.0.0
'
environments:
- name: dev
config:
plugins:
loaders:
- name: target-postgres
config:
user: meltano
dbname: warehouse
default_target_schema: public
transformers:
- name: dbt
config:
target: postgres
source_schema: public
env:
PG_ADDRESS: localhost
PG_PORT: '5432'
PG_USERNAME: meltano
PG_DATABASE: warehouse
AIRFLOW__SCHEDULER__MIN_FILE_PROCESS_INTERVAL: '5'
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true'
- name: staging
- name: prod