-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathconfig.yml
75 lines (70 loc) · 2.11 KB
/
config.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: 2.1
setup: true
orbs:
path-filtering: circleci/[email protected]
continuation: circleci/[email protected]
parameters:
validate-bqetl:
type: boolean
default: false
validate-sql:
type: boolean
default: false
validate-routines:
type: boolean
default: false
deploy:
type: boolean
default: false
trigger-sql-generation:
type: boolean
default: false
skip-stage-deploys:
type: boolean
default: false
workflows:
setup-main:
when:
equal: [main, << pipeline.git.branch >>]
jobs:
- continuation/continue:
configuration_path: .circleci/workflows.yml
parameters: '{"deploy": true}'
setup-pr:
when:
and:
- not:
equal: [main, << pipeline.git.branch >>]
jobs:
- path-filtering/filter:
base-revision: main
config-path: .circleci/workflows.yml
mapping: |
requirements.txt validate-bqetl true
requirements.txt validate-sql true
requirements.txt validate-routines true
bigquery_etl/.* validate-bqetl true
tests/.* validate-bqetl true
bigquery_etl/query_scheduling/.* validate-sql true
sql/.* validate-sql true
sql_generators/.* validate-sql true
tests/sql/.* validate-sql true
biquery_etl/routine/.* validate-routines true
sql/mozfun/.* validate-routines true
sql/moz-fx-data-shared-prod/udf/.* validate-routines true
sql/moz-fx-data-shared-prod/udf_js/.* validate-routines true
bqetl_project.yaml validate-sql true
bqetl_project.yaml validate-routines true
dags.yaml validate-sql true
script/bqetl validate-bqetl true
script/entrypoint validate-bqetl true
.circleci/.* validate-sql true
.circleci/.* validate-bqetl true
.circleci/.* validate-routines true
setup-tag:
jobs:
- continuation/continue:
configuration_path: .circleci/workflows.yml
filters:
branches:
ignore: /.*/