Skip to content

ci: use small image and use remote_jdk#7786

Merged
lizan merged 10 commits intoenvoyproxy:masterfrom
lizan:toolchain_configs
Aug 1, 2019
Merged

ci: use small image and use remote_jdk#7786
lizan merged 10 commits intoenvoyproxy:masterfrom
lizan:toolchain_configs

Conversation

@lizan
Copy link
Member

@lizan lizan commented Jul 31, 2019

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

Description:
Use smaller image, bazel 0.28.1, regenerates config with gcc and libcxx

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

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@lizan lizan requested a review from keith July 31, 2019 22:19
@lizan
Copy link
Member Author

lizan commented Jul 31, 2019

Note to reviewers: Don't review files under bazel/toolchains/configs, they are all generated.

@lizan lizan changed the title ci: use small image and not generating java configs ci: use small image and use remote_jdk Jul 31, 2019
bazel query "@rbe_ubuntu_gcc_gen//..."
bazel query ${BAZEL_QUERY_OPTIONS} "@rbe_ubuntu_clang_gen//..."
bazel query ${BAZEL_QUERY_OPTIONS} "@rbe_ubuntu_clang_libcxx_gen//..."
bazel query ${BAZEL_QUERY_OPTIONS} "@rbe_ubuntu_gcc_gen//..."
Copy link
Member

Choose a reason for hiding this comment

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

why is this checked in? I thought that referencing that repo was enough?

Copy link
Member

Choose a reason for hiding this comment

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

(the files this script generates I mean)

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't want to generate config everytime CI runs, so just generate them and check in the config.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Ah thanks

keith
keith previously approved these changes Jul 31, 2019
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan added 6 commits July 31, 2019 23:18
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 added a commit that referenced this pull request Aug 1, 2019
Description:
Some tools missed from #7772 

Risk Level:
Testing: #7786
Docs Changes:
Release Notes:

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 August 1, 2019 21:42
@lizan lizan requested review from htuch and jmarantz August 1, 2019 22:04
@@ -0,0 +1,149 @@
# Copyright 2016 The Bazel Authors. All rights reserved.
Copy link
Member

Choose a reason for hiding this comment

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

Do you think you can move this to some other repository that we consume, to reduce the churn in the main Envoy repo? Just a suggestion, we can ship this PR as is.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes it is totally possible to have whole bazel/toolchains/configs in a separate repo, or even just a generated tar in somewhere (like the build image). It just need more bash snafu to automate the generate process though.

I don't expect much more churn from here other than every bazel update (likely it will be just rename based on Bazel version) or adding new configuration (e.g. MSAN)

@lizan lizan merged commit 598c169 into envoyproxy:master Aug 1, 2019
@lizan lizan deleted the toolchain_configs branch August 1, 2019 23:59
lizan added a commit to lizan/envoy that referenced this pull request Aug 2, 2019
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan added a commit that referenced this pull request Aug 2, 2019
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan added a commit that referenced this pull request Aug 2, 2019
Description: Fixes post submit issue from #7786
Risk Level:
Testing:
Docs Changes:
Release Notes:

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