Repository navigation
Add Bazel 3.3.1 to docker images - #2497
Merged
Merged
Conversation
GMNGeoffrey
force-pushed
the
docker-bazelversion
branch
from
July 13, 2020 01:54
28140de to
101b0f9
Compare
Merged
phoenix-meadowlark
approved these changes
Jul 13, 2020
| images_to_update.extend(IMAGES_TO_DEPENDENT_IMAGES[args.image]) | ||
|
|
||
| for image in images_to_update: | ||
| print(f"Updating image {image}") |
Contributor
There was a problem hiding this comment.
Suggested change
| print(f"Updating image {image}") | |
| print(f'Updating the {image} image.') |
nit: File quote consistency / wording.
I think something like this would also be good for debugging and bring the output here more in line with set -x
build_cmd = ['docker', 'build', '--tag', image_url, image_path]
print(' '.join(build_cmd))
subprocess.check_output(build_cmd)
if args.push:
push_cmd = ['docker', 'push', image_url]
print(' '.join(push_cmd)
subprocess.check_output(push_cmd)
Member
Author
There was a problem hiding this comment.
Fixed the quoting. Better debug logging SGTM, but let's do it separately. We might also want to print the subprocess output so people can see what's going on. I think that will require communicate. This is the advantage of using shell scripts :-D
GMNGeoffrey
force-pushed
the
docker-bazelversion
branch
from
July 13, 2020 19:50
54a8c1a to
0f94e58
Compare
Member
Author
|
Dropped the kokoro switch to the latest tag. Not going to wait for another Kokoro run here, since the remaining files don't affect the Kokoro build. |
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
Jul 14, 2020
* f4f2fec Update Bazel version in docs workflow (#2511) * 19e6574 Add lint action for PR title length (#2481) * 57a9ae3 Moved CompiledModule and BackendInfo to `tf_utils.py` (#2509) * 7d50357 Update Bazel to 3.3.1 (#2496) * afa7d8e [ModelBuilder] Fix leak when using llvm::createLowerMatrixIntrinsicsPass (#2499) * 90ffb71 [ci] Enable build tests for Android cross compilation (#2507) * 62490cb Add Bazel 3.3.1 to docker images (#2497) * 028a883 [ci] Run cmake --build twice to temporary fix the flaky build (#2501) * 8096658 Start creating $async functions as part of public ABI generation. (#2411) * 27a1f3d Removed gather lowering test (#2503) * 02cc1e3 Merge google -> main (#2505) * 6706f3d Add GitHub action to create PRs merging google -> main (#2482) * 645a88b Add buildifier lint action (#2243) * fc812fe Support iree-run-mlir to read input values from a file. (#2352) * 8078fc6 Use iree_py_binary in keras test binaries (#2488) * 9f22404 Treat warnings as errors and silence them in third party code (#2489) * cb000c7 Avoid unused result warning (#2469) * b06a482 Fix some minor typos (#2486) * ce6c171 Create cooperative matrix performance test (#2443) * 0880ee9 Add android build badge to README (#2473) * 8e14d1f [vulkan] Guard against 0-byte buffer allocation (#2467) * ef019df Improve TF submodule bump action descriptions (#2471) * c53ad00 Refactors tf_test_utils, creating tf_utils and simplifying module specificatio.. * a90df48 Merge google -> main (#2468) PiperOrigin-RevId: 321174064
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2495
Tested:
Pushed images with the
latesttag and updated Kokoro to point atthem in this PR:
Will drop the "latest" tag commit before merging and then push a
prod image update after.
Did an actual upgrade of the requested Bazel version in
#2496 and ran Kokoro with the
new images on that as well.