Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel follow up #4515

Merged
merged 2 commits into from Feb 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 17 additions & 5 deletions docs/development/bazel.md
Expand Up @@ -12,11 +12,23 @@ While bazel works well for small projects, building with kubernetes still has a

## How to run

Build: `bazel build //cmd/... //pkg/... //channels/... //nodeup/... //channels/... //protokube/... //dns-controller/...`

Test: `bazel test //cmd/... //pkg/... //channels/... //nodeup/... //channels/... //protokube/... //dns-controller/...`

Regenerate bazel files using gazelle: `bazel run //:gazelle`
```
make bazel-build
make bazel-build-cli

# To build end to end and upload to s3
make bazel-upload
```

Test:
```
make bazel-test
```

Regenerate bazel files using gazelle:
```
make bazel-gazelle
```

## Other changes needed

Expand Down
1 change: 0 additions & 1 deletion images/BUILD.bazel
Expand Up @@ -54,7 +54,6 @@ container_image(
},
files = [
"//channels/cmd/channels",
# TODO "//kubectl",
"//protokube/cmd/protokube",
],
)
Expand Down