make bookinfo sample build repeatable#7098
make bookinfo sample build repeatable#7098krancour wants to merge 2 commits intoistio:masterfrom krancour:repeatable-bookinfo-build
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: krancour Assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @krancour. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## master #7098 +/- ##
======================================
+ Coverage 71% 71% +1%
======================================
Files 371 370 -1
Lines 32001 31975 -26
======================================
+ Hits 22472 22518 +46
+ Misses 8596 8525 -71
+ Partials 933 932 -1
Continue to review full report at Codecov.
|
|
CI failure doesn't look related to these changes. |
|
You have to update all bookinfo images |
Not sure how to go about that. I can update all references to those images, but I don't know how I could push them-- I obviously do not have permissions. |
|
I updated all files to reference bookinfo 1.6.0 images, but they don't exist. Someone else needs to push them from the source in this branch. |
|
@krancour I see the updated docker images https://hub.docker.com/r/istio/examples-bookinfo-productpage-v1/tags/. Please merge the bookinfo changes from the |
vadimeisenbergibm
left a comment
There was a problem hiding this comment.
Please merge the related bookinfo changes from release-1.0. Note this PR #6988.
|
How did those get there? |
By this script - https://github.com/istio/istio/blob/master/samples/bookinfo/build_push_update_images.sh . |
|
One must have permissions to upload images to https://hub.docker.com/r/istio. |
|
Right. I understand how they were made. I was more curious about who pushed them. It doesn't seem that building/pushing these is integrated into the CI process. |
|
I pushed the 1.7.0 images by running that script. |
|
Building/pushing bookinfo images is not part of the CI process. |
What branch did you build and push them from? I ask because this PR would have created 1.6.0 images; not 1.7.0. So you can probably see why I am confused... |
|
I built the images from the |
|
I've also just pulled the 1.7.0 productpage image that you recently pushed and found that it definitely does not include anything that was in this branch. |
By this branch, do you mean |
I mean Again-- I'm confused. I don't understand what the Just trying to understand the process here. |
|
Also-- slight tangent-- you were probably only able to build these images in the first place because of things that already exist in your Docker (and maybe pip) cache. Absent the changes from this PR, producing new images for productpage and reviews shouldn't even be possible without a primed cache. i.e. This process seems as if it is currently dependent on your machine. |
|
Hmm, let me merge the PR #6988 to master first, and then you merge it from the master. The issue is that while you are working on bookinfo, I already changed it in istio/istio, in the release-1.0 branch. |
Ok... that may simplify the equation here to something I can understand. :) . Appreciate it. |
|
@vadimeisenbergibm sgtm. Thanks. |
|
rebase to release-1.0 branch |
|
@rshriram, I am assuming then that If so, I'll have to close this and open a new PR. Happy to do it. |
|
Superseded by #7152 |

Fixes #7097
I determined the exact correct set of versions required for each productinfo dependency by doing this:
For the gradle build of the reviews service, it wasn't possible to determine what version of Java and gradle were previously used because the
niaquinto/gradleno longer exists. I opted to use the latest official gradle image instead. This seems to work fine.