Skip to content

Commit 4ff441d

Browse files
authored
Ignore default branch (#1755)
1 parent 4598669 commit 4ff441d

File tree

1 file changed

+118
-110
lines changed

1 file changed

+118
-110
lines changed

.circleci/config.yml

+118-110
Original file line numberDiff line numberDiff line change
@@ -5,121 +5,129 @@ orbs:
55
workflows:
66
build:
77
jobs:
8-
- architect/go-build:
9-
name: build
10-
binary: prometheus-meta-operator
11-
resource_class: large
12-
filters:
13-
tags:
14-
only: /^v.*/
8+
- architect/go-build:
9+
name: build
10+
binary: prometheus-meta-operator
11+
resource_class: large
12+
filters:
13+
tags:
14+
only: /^v.*/
1515

16-
- architect/push-to-registries:
17-
context: architect
18-
name: push-to-registries
19-
requires:
20-
- build
21-
filters:
22-
tags:
23-
only: /^v.*/
16+
- architect/push-to-registries:
17+
context: architect
18+
name: push-to-registries
19+
requires:
20+
- build
21+
filters:
22+
tags:
23+
only: /^v.*/
2424

25-
- architect/push-to-app-catalog:
26-
name: app-catalog
27-
context: "architect"
28-
app_catalog: "control-plane-catalog"
29-
app_catalog_test: "control-plane-test-catalog"
30-
chart: "prometheus-meta-operator"
31-
requires:
32-
- build
33-
filters:
34-
tags:
35-
only: /^v.*/
25+
branches:
26+
ignore:
27+
- main
28+
- master
29+
- architect/push-to-app-catalog:
30+
name: app-catalog
31+
context: architect
32+
app_catalog: control-plane-catalog
33+
app_catalog_test: control-plane-test-catalog
34+
chart: prometheus-meta-operator
35+
requires:
36+
- build
37+
filters:
38+
tags:
39+
only: /^v.*/
3640

37-
- architect/push-to-app-collection:
38-
name: aws-app-collection
39-
context: "architect"
40-
app_name: "prometheus-meta-operator"
41-
app_namespace: "monitoring"
42-
app_collection_repo: "aws-app-collection"
43-
requires:
44-
- app-catalog
45-
- push-to-registries
46-
filters:
47-
branches:
48-
ignore: /.*/
49-
tags:
50-
only: /^v.*/
41+
branches:
42+
ignore:
43+
- main
44+
- master
45+
- architect/push-to-app-collection:
46+
name: aws-app-collection
47+
context: architect
48+
app_name: prometheus-meta-operator
49+
app_namespace: monitoring
50+
app_collection_repo: aws-app-collection
51+
requires:
52+
- app-catalog
53+
- push-to-registries
54+
filters:
55+
branches:
56+
ignore: /.*/
57+
tags:
58+
only: /^v.*/
5159

52-
- architect/push-to-app-collection:
53-
context: architect
54-
name: push-to-capa-app-collection
55-
app_name: "prometheus-meta-operator"
56-
app_namespace: "monitoring"
57-
app_collection_repo: "capa-app-collection"
58-
requires:
59-
- app-catalog
60-
- push-to-registries
61-
filters:
62-
branches:
63-
ignore: /.*/
64-
tags:
65-
only: /^v.*/
60+
- architect/push-to-app-collection:
61+
context: architect
62+
name: push-to-capa-app-collection
63+
app_name: prometheus-meta-operator
64+
app_namespace: monitoring
65+
app_collection_repo: capa-app-collection
66+
requires:
67+
- app-catalog
68+
- push-to-registries
69+
filters:
70+
branches:
71+
ignore: /.*/
72+
tags:
73+
only: /^v.*/
6674

67-
- architect/push-to-app-collection:
68-
context: architect
69-
name: push-to-capz-app-collection
70-
app_name: "prometheus-meta-operator"
71-
app_namespace: "monitoring"
72-
app_collection_repo: "capz-app-collection"
73-
requires:
74-
- app-catalog
75-
- push-to-registries
76-
filters:
77-
branches:
78-
ignore: /.*/
79-
tags:
80-
only: /^v.*/
75+
- architect/push-to-app-collection:
76+
context: architect
77+
name: push-to-capz-app-collection
78+
app_name: prometheus-meta-operator
79+
app_namespace: monitoring
80+
app_collection_repo: capz-app-collection
81+
requires:
82+
- app-catalog
83+
- push-to-registries
84+
filters:
85+
branches:
86+
ignore: /.*/
87+
tags:
88+
only: /^v.*/
8189

82-
- architect/push-to-app-collection:
83-
context: architect
84-
name: push-to-cloud-director-app-collection
85-
app_name: "prometheus-meta-operator"
86-
app_namespace: "monitoring"
87-
app_collection_repo: "cloud-director-app-collection"
88-
requires:
89-
- app-catalog
90-
- push-to-registries
91-
filters:
92-
branches:
93-
ignore: /.*/
94-
tags:
95-
only: /^v.*/
90+
- architect/push-to-app-collection:
91+
context: architect
92+
name: push-to-cloud-director-app-collection
93+
app_name: prometheus-meta-operator
94+
app_namespace: monitoring
95+
app_collection_repo: cloud-director-app-collection
96+
requires:
97+
- app-catalog
98+
- push-to-registries
99+
filters:
100+
branches:
101+
ignore: /.*/
102+
tags:
103+
only: /^v.*/
96104

97-
- architect/push-to-app-collection:
98-
context: architect
99-
name: push-to-gcp-app-collection
100-
app_name: "prometheus-meta-operator"
101-
app_namespace: "monitoring"
102-
app_collection_repo: "gcp-app-collection"
103-
requires:
104-
- app-catalog
105-
- push-to-registries
106-
filters:
107-
branches:
108-
ignore: /.*/
109-
tags:
110-
only: /^v.*/
105+
- architect/push-to-app-collection:
106+
context: architect
107+
name: push-to-gcp-app-collection
108+
app_name: prometheus-meta-operator
109+
app_namespace: monitoring
110+
app_collection_repo: gcp-app-collection
111+
requires:
112+
- app-catalog
113+
- push-to-registries
114+
filters:
115+
branches:
116+
ignore: /.*/
117+
tags:
118+
only: /^v.*/
111119

112-
- architect/push-to-app-collection:
113-
name: vsphere-app-collection
114-
context: "architect"
115-
app_name: "prometheus-meta-operator"
116-
app_namespace: "monitoring"
117-
app_collection_repo: "vsphere-app-collection"
118-
requires:
119-
- app-catalog
120-
- push-to-registries
121-
filters:
122-
branches:
123-
ignore: /.*/
124-
tags:
125-
only: /^v.*/
120+
- architect/push-to-app-collection:
121+
name: vsphere-app-collection
122+
context: architect
123+
app_name: prometheus-meta-operator
124+
app_namespace: monitoring
125+
app_collection_repo: vsphere-app-collection
126+
requires:
127+
- app-catalog
128+
- push-to-registries
129+
filters:
130+
branches:
131+
ignore: /.*/
132+
tags:
133+
only: /^v.*/

0 commit comments

Comments
 (0)