Skip to content

Commit 6cef53e

Browse files
justaugustusk8s-ci-robot
authored andcommitted
Add boilerplate for scripts (#80)
* Add boilerplate templates and scripts Signed-off-by: Stephen Augustus <[email protected]> * Remove unused ci/ folder Signed-off-by: Stephen Augustus <[email protected]> * Update copyrights Signed-off-by: Stephen Augustus <[email protected]> * Update deepcopy generator Signed-off-by: Stephen Augustus <[email protected]>
1 parent 5a8ee67 commit 6cef53e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+686
-2437
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2019 The Kubernetes Authors.
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
# Build the manager binary
216
FROM golang:1.11.5 as builder
317

Makefile

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2019 The Kubernetes Authors.
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
# Image URL to use all building/pushing image targets
216
PREFIX ?= platform9
317
NAME = cluster-api-azure-provider-controller
@@ -88,11 +102,14 @@ vet:
88102
lint:
89103
golangci-lint run
90104

105+
verify-boilerplate:
106+
./hack/verify-boilerplate.sh
107+
91108
# Generate code
92109
generate:
93110
go generate ./pkg/... ./cmd/...
94111

95-
check: bootstrap vendor-validate lint
112+
check: verify-boilerplate bootstrap vendor-validate lint
96113

97114
# Build the docker image
98115
docker-build: test

ci/cleanup-e2e.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)