Permalink
Browse files

Fork [apiserver-builder](https://github.com/kubernetes-incubator/apis…

…erver-builder) as kubebuilder
  • Loading branch information...
pwittrock committed Mar 15, 2018
1 parent 3622ad2 commit 0d2a3bd57a310f5e13f71263f9da21e92c7a0c7e
Showing 13,135 changed files with 4,265,850 additions and 5 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -0,0 +1,28 @@
# Copyright 2018 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.
# gazelle:proto disable
load("@io_bazel_rules_go//go:def.bzl", "gazelle")
gazelle(
name = "gazelle",
command = "fix",
prefix = "github.com/kubernetes-sigs/kubebuilder",
external = "vendored",
args = [
"-build_file_name",
"BUILD,BUILD.bazel",
],
)
View
@@ -0,0 +1,58 @@
# Contributing guidelines
## Sign the CLA
Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests.
Please see https://git.k8s.io/community/CLA.md for more info
### Contributing A Patch
1. Submit an issue describing your proposed change to the repo in question.
1. The [repo owners](OWNERS) will respond to your issue promptly.
1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Submit a pull request.
## How to build kubebuilder locally
Setup:
- Download [google container builder]
- Export `GOOS` (darwin/linux) and `GOARCH` (amd64) vars to match the system to build
- Export `OUTPUT` to a location to write the directory containing the final build artifacts
```sh
export GOOS=darwin
export GOARCH=amd64
export OUTPUT=/tmp/kubebuilder
```
Run container-builder:
```sh
container-builder-local --config=build/cloudbuild_local.yaml --dryrun=false \
--substitutions=_GOOS=$GOOS,_GOARCH=$GOARCH --write-workspace=$OUTPUT .
```
Extract `tar.gz` from $OUTPUT to /usr/local
## Running kubebuilder tests
```sh
go test ./pkg/...
```
## Community, discussion, contribution, and support
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
You can reach the maintainers of this project at:
- [Slack](http://slack.k8s.io/)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-kubebuilder)
### Code of conduct
Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
[google container builder]: https://github.com/kubernetes-sigs/container-builder-local
Oops, something went wrong.

0 comments on commit 0d2a3bd

Please sign in to comment.