File tree 6 files changed +18
-30
lines changed
6 files changed +18
-30
lines changed Original file line number Diff line number Diff line change 29
29
uses : actions/setup-go@v3
30
30
with :
31
31
go-version : ${{ env.GO_VERSION }}
32
+ - name : Setup protoc
33
+ run : |
34
+ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.5/protoc-3.19.5-linux-x86_64.zip
35
+ unzip protoc-3.19.5-linux-x86_64.zip -d protoc3
32
36
- name : Cache Go Dependencies
33
37
uses : actions/cache@v2
34
38
with :
37
41
restore-keys : ${{ runner.os }}-go-
38
42
- name : Run Unit Tests
39
43
run : |
44
+ export PATH="$PATH:$(pwd)/protoc3/bin"
45
+ echo $PATH
40
46
make test
47
+ rm -rf protoc-3.19.5-linux-x86_64.zip
48
+ rm -rf protoc3
41
49
git status
42
50
# TODO: enable after public
43
51
# - name: Publish Unit Test Coverage
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
apiVersion : apiextensions.k8s.io/v1
4
3
kind : CustomResourceDefinition
5
4
metadata :
6
5
annotations :
7
- controller-gen.kubebuilder.io/version : v0.7 .0
6
+ controller-gen.kubebuilder.io/version : v0.10 .0
8
7
creationTimestamp : null
9
8
name : circuitbreakers.kridge.kusionstack.io
10
9
spec :
100
99
type : array
101
100
resources :
102
101
description : Resources is a list of resources this rule
103
- applies to. "*" means all in the specified apiGroups. "*/foo"
104
- represents the subresource 'foo' for all resources in
105
- the specified apiGroups.
102
+ applies to. "*" means all in the specified apiGroups.
103
+ " */foo " represents the subresource 'foo' for all resources
104
+ in the specified apiGroups.
106
105
items :
107
106
type : string
108
107
type : array
@@ -205,6 +204,7 @@ spec:
205
204
" value" . The requirements are ANDed.
206
205
type : object
207
206
type : object
207
+ x-kubernetes-map-type : atomic
208
208
targets :
209
209
items :
210
210
type : string
@@ -313,9 +313,3 @@ spec:
313
313
storage : true
314
314
subresources :
315
315
status : {}
316
- status :
317
- acceptedNames :
318
- kind : " "
319
- plural : " "
320
- conditions : []
321
- storedVersions : []
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
apiVersion : apiextensions.k8s.io/v1
4
3
kind : CustomResourceDefinition
5
4
metadata :
6
5
annotations :
7
- controller-gen.kubebuilder.io/version : v0.7 .0
6
+ controller-gen.kubebuilder.io/version : v0.10 .0
8
7
creationTimestamp : null
9
8
name : managerstates.kridge.kusionstack.io
10
9
spec :
72
71
storage : true
73
72
subresources :
74
73
status : {}
75
- status :
76
- acceptedNames :
77
- kind : " "
78
- plural : " "
79
- conditions : []
80
- storedVersions : []
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
apiVersion : apiextensions.k8s.io/v1
4
3
kind : CustomResourceDefinition
5
4
metadata :
6
5
annotations :
7
- controller-gen.kubebuilder.io/version : v0.7 .0
6
+ controller-gen.kubebuilder.io/version : v0.10 .0
8
7
creationTimestamp : null
9
8
name : shardingconfigs.kridge.kusionstack.io
10
9
spec :
@@ -110,6 +109,7 @@ spec:
110
109
only "value". The requirements are ANDed.
111
110
type : object
112
111
type : object
112
+ x-kubernetes-map-type : atomic
113
113
type : object
114
114
type : array
115
115
root :
@@ -211,6 +211,7 @@ spec:
211
211
contains only "value". The requirements are ANDed.
212
212
type : object
213
213
type : object
214
+ x-kubernetes-map-type : atomic
214
215
type : object
215
216
type : array
216
217
size :
@@ -264,6 +265,7 @@ spec:
264
265
are ANDed.
265
266
type : object
266
267
type : object
268
+ x-kubernetes-map-type : atomic
267
269
webhook :
268
270
description : ShardingConfigWebhookConfiguration defines the configuration
269
271
of webhook in this application.
@@ -295,9 +297,3 @@ spec:
295
297
storage : true
296
298
subresources :
297
299
status : {}
298
- status :
299
- acceptedNames :
300
- kind : " "
301
- plural : " "
302
- conditions : []
303
- storedVersions : []
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
apiVersion : rbac.authorization.k8s.io/v1
4
3
kind : ClusterRole
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
apiVersion : admissionregistration.k8s.io/v1
4
3
kind : MutatingWebhookConfiguration
@@ -73,7 +72,6 @@ webhooks:
73
72
- persistentvolumeclaims
74
73
- endpoints
75
74
sideEffects : None
76
-
77
75
---
78
76
apiVersion : admissionregistration.k8s.io/v1
79
77
kind : ValidatingWebhookConfiguration
You can’t perform that action at this time.
0 commit comments