Skip to content

update to latest version of istio-api repo#1898

Merged
rshriram merged 3 commits intoistio:masterfrom
ZackButcher:update-to-latest-api
Nov 29, 2017
Merged

update to latest version of istio-api repo#1898
rshriram merged 3 commits intoistio:masterfrom
ZackButcher:update-to-latest-api

Conversation

@ZackButcher
Copy link
Copy Markdown
Contributor

@ZackButcher ZackButcher commented Nov 28, 2017

What this PR does / why we need it: Update to the latest version of istio/api, which refactors where the various proxy related config protos live.

Note this only affects //pilot.

Release note:

NONE

@ZackButcher ZackButcher changed the title update to latest refactoring of istio-api repo update to latest version of istio-api repo Nov 28, 2017
@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
We suggest the following additional approver: mandarjog

Assign the PR to them by writing /assign @mandarjog in a comment when ready.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

routingconfig or maybe even routing to match the unaliased package name?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, went with routing.

@ZackButcher
Copy link
Copy Markdown
Contributor Author

/retest

@ZackButcher
Copy link
Copy Markdown
Contributor Author

Not at all clear to me why prow presubmit is failing - it logs that the build failed, but I can't find any indication of failure from bazel in the logs it produces (and I can't repro locally).

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 28, 2017

Codecov Report

Merging #1898 into master will increase coverage by 0.54%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1898      +/-   ##
==========================================
+ Coverage   81.14%   81.69%   +0.54%     
==========================================
  Files         190      201      +11     
  Lines       19424    20460    +1036     
==========================================
+ Hits        15761    16714     +953     
- Misses       3199     3274      +75     
- Partials      464      472       +8
Flag Coverage Δ
#broker 44.44% <ø> (-1.07%) ⬇️
#mixer 83.17% <ø> (+0.78%) ⬆️
#pilot 80.5% <96.87%> (+0.06%) ⬆️
#security 90.39% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pilot/model/service.go 100% <ø> (ø) ⬆️
pilot/platform/kube/inject/inject.go 88.05% <ø> (ø) ⬆️
pilot/adapter/config/ingress/controller.go 91.5% <ø> (ø) ⬆️
pilot/platform/kube/inject/configmap.go 100% <100%> (ø) ⬆️
pilot/platform/kube/conversion.go 86.18% <100%> (ø) ⬆️
pilot/proxy/envoy/watcher.go 78.82% <100%> (ø) ⬆️
pilot/proxy/envoy/ingress.go 75.55% <100%> (ø) ⬆️
pilot/adapter/config/ingress/conversion.go 100% <100%> (ø) ⬆️
pilot/model/egress_rules.go 100% <100%> (ø) ⬆️
pilot/proxy/envoy/fault.go 80% <100%> (ø) ⬆️
... and 23 more

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 b3d6fa1...7ac3e2b. Read the comment docs.

@ayj
Copy link
Copy Markdown
Contributor

ayj commented Nov 28, 2017

Looks like bin/fmt.sh check failed.

W1128 22:03:53.982] + git status
W1128 22:03:53.990] + die 'Repo has unstaged changes. Re-run ./bin/fmt.sh'
W1128 22:03:53.991] + echo 'Repo has unstaged changes. Re-run ./bin/fmt.sh'
W1128 22:03:53.991] + exit 1
I1128 22:03:53.991] On branch test
I1128 22:03:53.991] Changes not staged for commit:
I1128 22:03:53.991]   (use "git add <file>..." to update what will be committed)
I1128 22:03:53.992]   (use "git checkout -- <file>..." to discard changes in working directory)
I1128 22:03:53.992] 
I1128 22:03:53.992] 	modified:   Gopkg.lock
I1128 22:03:53.992] 	modified:   generated_files
I1128 22:03:53.992] 
I1128 22:03:53.992] no changes added to commit (use "git add" and/or "git commit -a")
I1128 22:03:53.993] Repo has unstaged changes. Re-run ./bin/fmt.sh
E1128 22:03:53.993] Build failed
I1128 22:03:53.993] process 513 exited with code 1 after 8.0m
E1128 22:03:53.993] FAIL: istio-presubmit

@ZackButcher
Copy link
Copy Markdown
Contributor Author

Thanks, I was searching around for bazel failures and missed that.

@ZackButcher
Copy link
Copy Markdown
Contributor Author

Presubmit appears to be failing because Gopkg.lock and generated_files are being changed? I don't touch them in this PR.

@ayj
Copy link
Copy Markdown
Contributor

ayj commented Nov 28, 2017

run_or_die_on_change ./bin/fmt.sh probably needs to run before dep ensure and bin/init.sh

/cc @jmuk

@istio-testing istio-testing requested a review from jmuk November 28, 2017 22:53
@ZackButcher
Copy link
Copy Markdown
Contributor Author

Why are we running any go commands at all as part of our presubmit? We have a single build system, bazel. This PR works under bazel. There is no reason we should be using any other tooling.

@istio-merge-robot
Copy link
Copy Markdown

@ZackButcher PR needs rebase

@istio-merge-robot istio-merge-robot added needs-rebase Indicates a PR needs to be rebased before being merged do-not-merge/post-submit and removed do-not-merge/post-submit labels Nov 29, 2017
@jmuk
Copy link
Copy Markdown
Contributor

jmuk commented Nov 29, 2017

fmt.sh relies on bazel, needs to run after init.sh. Didn't notice about Gopkg.lock changes can happen, but that file needs to be updated anyways, doesn't they?

@istio-merge-robot istio-merge-robot removed the needs-rebase Indicates a PR needs to be rebased before being merged label Nov 29, 2017
@rshriram rshriram merged commit a1ba1fb into istio:master Nov 29, 2017
@ZackButcher ZackButcher deleted the update-to-latest-api branch December 14, 2017 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants