Skip to content

ci: enable clang based RBE in Azure pipelines#7536

Merged
lizan merged 30 commits intoenvoyproxy:masterfrom
lizan:rbe-clang
Jul 18, 2019
Merged

ci: enable clang based RBE in Azure pipelines#7536
lizan merged 30 commits intoenvoyproxy:masterfrom
lizan:rbe-clang

Conversation

@lizan
Copy link
Copy Markdown
Member

@lizan lizan commented Jul 11, 2019

Signed-off-by: Lizan Zhou lizan@tetrate.io

Description:
Minimum configuration to enable RBE and run release pipeline in Azure pipelines.

Risk Level: Low
Testing:
Docs Changes: N/A
Release Notes: N/A

lizan added 4 commits July 11, 2019 10:10
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

How does one enable/disable RBE? Should there be an edit to the DEVELOPER.md or similar?

lizan added 17 commits July 11, 2019 14:10
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@lizan lizan marked this pull request as ready for review July 16, 2019 23:31
@lizan lizan changed the title ci: evaluate Clang based RBE in Azure ci: enable clang based RBE in Azure pipelines Jul 16, 2019
@lizan
Copy link
Copy Markdown
Member Author

lizan commented Jul 16, 2019

@jmarantz this is ready to review, I will try to add more docs how to use RBE as follow up.

lizan added 3 commits July 16, 2019 23:53
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan added 2 commits July 17, 2019 08:45
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan added a commit that referenced this pull request Jul 17, 2019
Description:
Pulling out from #7536, allowing RBE not download test binaries. Let bazel schedule test runs at same time at build proceeds to speed up. Also let us collect Bazel profile on release compiles with test.

Risk Level: Low
Testing:
Docs Changes:
Release Notes:

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

So I think I'm unlikely to be able to put enough time into fully reviewing this as I don't have enough Bazel-fu;. Can @htuch take a look too?

I did leave a few comments.

@lizan
Copy link
Copy Markdown
Member Author

lizan commented Jul 18, 2019

@jmarantz sorry if it wasn't clear in README.md, all files in bazel/toolchains/configs are generated without manual edit.

@jmarantz
Copy link
Copy Markdown
Contributor

OK ignore my 'indentation' nits then :)

@lizan
Copy link
Copy Markdown
Member Author

lizan commented Jul 18, 2019

and cc_wrapper as well, they are not actually used but cc_config generates them, even in your local run. I'd leave them as it is as. :)

@jmarantz
Copy link
Copy Markdown
Contributor

alright then...I probably should've read the README more carefully

@lizan
Copy link
Copy Markdown
Member Author

lizan commented Jul 18, 2019

/retest
/azp run

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: format (failed build)
🔨 rebuilding ci/circleci: asan (failed build)
🔨 rebuilding ci/circleci: filter_example_mirror (failed build)
🔨 rebuilding ci/circleci: release (failed build)
🔨 rebuilding ci/circleci: tsan (failed build)
🔨 rebuilding ci/circleci: build_image (failed build)
🔨 rebuilding ci/circleci: clang_tidy (failed build)
🔨 rebuilding ci/circleci: compile_time_options (failed build)
🔨 rebuilding ci/circleci: coverage (failed build)
🔨 rebuilding ci/circleci: api (failed build)
🔨 rebuilding ci/circleci: docs (failed build)
🔨 rebuilding ci/circleci: ipv6_tests (failed build)

🐱

Caused by: a #7536 (comment) was created by @lizan.

see: more, trace.

@lizan lizan merged commit 14c5371 into envoyproxy:master Jul 18, 2019
@lizan
Copy link
Copy Markdown
Member Author

lizan commented Jul 18, 2019

Merging this to roll out RBE runs on master. Azure pipelines are not marked required so it should not block PRs. Let's iterate from here.

@lizan lizan deleted the rbe-clang branch July 18, 2019 21:42
TAOXUY pushed a commit to TAOXUY/envoy that referenced this pull request Jul 22, 2019
Description:
Pulling out from envoyproxy#7536, allowing RBE not download test binaries. Let bazel schedule test runs at same time at build proceeds to speed up. Also let us collect Bazel profile on release compiles with test.

Risk Level: Low
Testing:
Docs Changes:
Release Notes:

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
TAOXUY pushed a commit to TAOXUY/envoy that referenced this pull request Jul 22, 2019
Description:
Minimum configuration to enable RBE and run release pipeline in Azure pipelines.

Risk Level: Low
Testing:
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
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.

3 participants