Skip to content

update bazel version to test in autoconfig - #237

Merged
nlopezgi merged 3 commits into
bazelbuild:masterfrom
nlopezgi:master
Nov 14, 2018
Merged

nlopezgi merged 3 commits into
bazelbuild:masterfrom
nlopezgi:master

Conversation

@nlopezgi

Copy link
Copy Markdown
Contributor

No description provided.

@xingao267

xingao267 commented Nov 12, 2018 •

Copy link
Copy Markdown
Contributor

This is failing because without change bazelbuild/bazel@3c7c273, by changing the order of the flags in bazelbuild/continuous-integration#378, flags that come after will override flags that come before. So the wrong platform is selected. @meteorcloudy @katre we probably need to either roll back bazelbuild/continuous-integration#378 first or in the CI config, for flags --extra_toolchains, --extra_execution_platforms, --extra_execution_platforms, and --platforms, they should be completed replaced by custom flags specified in .bazelci/presubmit.yml instead of being appended.

Related: bazelbuild/continuous-integration#376

@meteorcloudy

Copy link
Copy Markdown
Member

@xingao267 Can I assume --extra_toolchains, --extra_execution_platforms, --extra_execution_platforms, and --platforms will always appear together in the .yml file? Or should I override them individually?

@xingao267

Copy link
Copy Markdown
Contributor

@meteorcloudy I think currently in remote execution case, we always use --extra_execution_platforms, --host_platform and --platforms together and assign the same value to them. But --extra_toolchains should be considered individually.

@meteorcloudy

Copy link
Copy Markdown
Member

Does it make sense to remove them from bazelci.py and make sure users specify them in .yml file explicitly?

@xingao267

Copy link
Copy Markdown
Contributor

Umm, I think it would be too much an overhead for repo owners to have to add them to their yaml files. In 90% cases, people are using the default platform and toolchains.

@meteorcloudy

Copy link
Copy Markdown
Member

Understand, then I'll try to implement the override logic in bazelci.py

@nlopezgi
nlopezgi merged commit d3b04f7 into bazelbuild:master Nov 14, 2018
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