File tree Expand file tree Collapse file tree 5 files changed +58
-2
lines changed
Expand file tree Collapse file tree 5 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 3838 - name : Build server
3939 run : make porch
4040 working-directory : ./porch
41- - name : Build controllers
41+ - name : Run CI
4242 run : make ci
43- working-directory : ./porch/controllers
43+ working-directory : ./porch
4444 - name : Test
4545 run : make test
4646 working-directory : ./porch
Original file line number Diff line number Diff line change @@ -104,3 +104,17 @@ run-jaeger:
104104.PHONY : porch
105105porch :
106106 cd apiserver; go build ./cmd/porch
107+
108+ .PHONY : verify-headers
109+ verify-headers :
110+ # TODO: switch to google/addlicense once we have https://github.com/google/addlicense/pull/104
111+ go run github.com/justinsb/
[email protected] -c
" Google LLC" -l apache --check --ignore
" .build/**" . 112+
113+ .PHONY : fix-headers
114+ fix-headers :
115+ # TODO: switch to google/addlicense once we have https://github.com/google/addlicense/pull/104
116+ go run github.com/justinsb/
[email protected] -c
" Google LLC" -l apache --ignore
" .build/**" . 117+
118+ .PHONY : ci
119+ ci : verify-headers
120+ make -C controllers ci
Original file line number Diff line number Diff line change 1+ # Copyright 2022 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
115.PHONY : build
216build :
317 cd remoterootsync; go build .
Original file line number Diff line number Diff line change 1+ # Copyright 2022 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
115# GCP project to use for development
216GCP_PROJECT_ID ?= $(shell gcloud config get-value project)
317
Original file line number Diff line number Diff line change 1+ // Copyright 2022 Google LLC
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package repository
You can’t perform that action at this time.
0 commit comments