Skip to content

Commit

Permalink
Add boilerplate for scripts (#80)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
justaugustus authored and k8s-ci-robot committed Jan 27, 2019
1 parent 5a8ee67 commit 6cef53e
Show file tree
Hide file tree
Showing 55 changed files with 686 additions and 2,437 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2019 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Build the manager binary
FROM golang:1.11.5 as builder

Expand Down
19 changes: 18 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2019 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Image URL to use all building/pushing image targets
PREFIX ?= platform9
NAME = cluster-api-azure-provider-controller
Expand Down Expand Up @@ -88,11 +102,14 @@ vet:
lint:
golangci-lint run

verify-boilerplate:
./hack/verify-boilerplate.sh

# Generate code
generate:
go generate ./pkg/... ./cmd/...

check: bootstrap vendor-validate lint
check: verify-boilerplate bootstrap vendor-validate lint

# Build the docker image
docker-build: test
Expand Down
9 changes: 0 additions & 9 deletions ci/cleanup-e2e.sh

This file was deleted.

Loading

0 comments on commit 6cef53e

Please sign in to comment.