Skip to content

Commit

Permalink
Update getting-started with how to solve bazel build problems
Browse files Browse the repository at this point in the history
when switching branches.

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Jan 22, 2020
1 parent c41e4d5 commit 8e5ac67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ KubeVirt is distributed under the
[kubevirt-ansible]: https://github.com/kubevirt/kubevirt-ansible


[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkubevirt%2Fkubevirt.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkubevirt%2Fkubevirt?ref=badge_large)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkubevirt%2Fkubevirt.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkubevirt%2Fkubevirt?ref=badge_large)
6 changes: 6 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,9 @@ requests. Normally you can resolve these conflicts extremely easy by simply
accepting the new upstream version of the files and run `make` again. That will
update the build files with your changes.
#### Build.bazel build failures when switching branches
In case you work on two or more branches, `make generate` for example might fails,
the reason is there is a bazel server in the background, and when the base image changes,
it should be auto restarted, the detection doesn't work always prefectly.
To solve it, run `docker stop kubevirt-bazel-server`, which will stop the bazel server.

0 comments on commit 8e5ac67

Please sign in to comment.