Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Add bazel builds for container-diff. #90

Merged
merged 1 commit into from
Sep 19, 2017

Conversation

dlorenc
Copy link
Contributor

@dlorenc dlorenc commented Sep 19, 2017

One manual edit in vendor/gorilla/mux/BUILD.bazel to workaround a gazelle bug.

@dlorenc
Copy link
Contributor Author

dlorenc commented Sep 19, 2017

cc @r2d4

Copy link
Contributor

@r2d4 r2d4 left a comment

Choose a reason for hiding this comment

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

LGTM. I think we just need some sort of plan on how we're going to keep this up to date.

Should test.sh run bazel run //:gazelle? That would force any contributors to have the bazel toolchain installed.

Maybe make test should try to download and run the gazelle binary, which would only require the go toolchain to be installed.

BUILD Outdated

gazelle(
name = "gazelle",
external = "vendored",
Copy link
Contributor

Choose a reason for hiding this comment

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

add in

    build_tags = [
        "container_image_ostree_stub",
        "containers_image_openpgp",
    ],

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should test.sh run bazel run //:gazelle? That would force any contributors to have the bazel toolchain installed.

I'm fine with that. Ultimately our downoading/installing of stuff in the minikube makefile causes extra confusion. We could try to move it into a container - but that gets tricky too...

@dlorenc
Copy link
Contributor Author

dlorenc commented Sep 19, 2017

Ready for a look. Travis is passing.

Copy link
Contributor

@r2d4 r2d4 left a comment

Choose a reason for hiding this comment

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

Nice!

@dlorenc dlorenc merged commit 52e25f1 into GoogleContainerTools:master Sep 19, 2017
@dlorenc dlorenc deleted the bazel branch September 19, 2017 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants