Skip to content

Add Bazel 3.3.1 to docker images - #2497

Merged
GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:docker-bazelversion
Jul 13, 2020
Merged

GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:docker-bazelversion

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 13, 2020 •

Copy link
Copy Markdown
Member

images_to_update.extend(IMAGES_TO_DEPENDENT_IMAGES[args.image])

for image in images_to_update:
print(f"Updating image {image}")

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.

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)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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 GMNGeoffrey changed the title Add Bazel 3.1.0 to docker images Add Bazel 3.3.1 to docker images Jul 13, 2020
@GMNGeoffrey
GMNGeoffrey force-pushed the docker-bazelversion branch from 54a8c1a to 0f94e58 Compare July 13, 2020 19:50
@GMNGeoffrey

Copy link
Copy Markdown
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.

@GMNGeoffrey
GMNGeoffrey merged commit 62490cb into iree-org:main Jul 13, 2020
@GMNGeoffrey
GMNGeoffrey deleted the docker-bazelversion branch July 13, 2020 19:51
@ScottTodd ScottTodd mentioned this pull request Jul 14, 2020
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
@copybara-service copybara-service Bot mentioned this pull request Jul 14, 2020
@GMNGeoffrey GMNGeoffrey added infrastructure Relating to build systems, CI, or testing bazel labels Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants