Skip to content

Move cross-cutting bazel definitions up to the root of the project#1881

Closed
ZackButcher wants to merge 0 commit intoistio:masterfrom
ZackButcher:master
Closed

Move cross-cutting bazel definitions up to the root of the project#1881
ZackButcher wants to merge 0 commit intoistio:masterfrom
ZackButcher:master

Conversation

@ZackButcher
Copy link
Copy Markdown
Contributor

Rather than being burried under //mixer. This should also fix the build when using a local API repo (which used the relative path "../api", and would sometimes break).

NONE

@ZackButcher
Copy link
Copy Markdown
Contributor Author

@mandarjog I could not find anywhere where the bazel version test file was used; do we run that manually to verify, or did I miss a BUILD rule somewhere that uses it?

@ayj
Copy link
Copy Markdown
Contributor

ayj commented Nov 28, 2017

istio/istio should be mostly using the bazel protobuf rules from istio/api now, e.g. https://github.com/istio/api/blob/master/mixer/v1/config/descriptor/BUILD

@ZackButcher
Copy link
Copy Markdown
Contributor Author

It is; the istio_api.bzl file is just the function that swaps between local or remote versions of the repo based on the flag in the WORKSPACE file.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 28, 2017

Codecov Report

Merging #1881 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1881      +/-   ##
==========================================
- Coverage   81.23%   81.16%   -0.08%     
==========================================
  Files         191      191              
  Lines       19344    19344              
==========================================
- Hits        15715    15701      -14     
- Misses       3173     3183      +10     
- Partials      456      460       +4
Flag Coverage Δ
#broker 45.51% <ø> (ø) ⬆️
#mixer 82.54% <ø> (ø) ⬆️
#pilot 80.29% <ø> (-0.19%) ⬇️
#security 90.39% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pilot/adapter/config/memory/monitor.go 79.48% <0%> (-10.26%) ⬇️
pilot/platform/kube/queue.go 82.69% <0%> (-7.7%) ⬇️
pilot/platform/consul/monitor.go 76.19% <0%> (-3.58%) ⬇️
pilot/adapter/config/crd/controller.go 77.85% <0%> (-2.02%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85983c2...1e99873. Read the comment docs.

Copy link
Copy Markdown
Contributor

@douglas-reid douglas-reid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: douglas-reid

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@ZackButcher
Copy link
Copy Markdown
Contributor Author

/retest

istio-merge-robot pushed a commit that referenced this pull request Nov 28, 2017
…ory of the project (#1900)

Automatic merge from submit-queue.

move cross-cutting bazel defs out of //mixer and into the root directory

This is the same as #1881; I didn't realize I made that change in my master branch, so when I brought master in line with istio/istio:master I overwrote the change/closed the PR.

```release-note
NONE
```
SRohitRaj pushed a commit to SRohitRaj/Istio that referenced this pull request Jun 7, 2024
…ory of the project (#1900)

Automatic merge from submit-queue.

move cross-cutting bazel defs out of //mixer and into the root directory

This is the same as istio/istio#1881; I didn't realize I made that change in my master branch, so when I brought master in line with istio/istio:master I overwrote the change/closed the PR.

```release-note
NONE
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants