Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow downstream projects configs to be file_config #1778

Merged
merged 5 commits into from
Nov 10, 2023

Conversation

meteorcloudy
Copy link
Member

Reapply #1776 with fixes:

  • We need to properly clone the git repository so that we can get file_config at the correct commit.
  • Refactored downstream-root so that we don't need to get platform info from task config for cloning the repo, which introduces a chicken-egg problem.
  • Allow suppressing stdout in clone_git_repository so that it won't impact stdout of project_pipeline
  • Make validate_config also work for downstream projects by adding git_commit as a parameter of get_modified_files.

@meteorcloudy
Copy link
Member Author

Tweak repo root name

Expand env vars

Fetch the repo also in project_pipeline
Fixes culprit_finder

Fixes culprit_finder and auto sheriff

Fixes bazel_bench

Rename capture_stdout to suppress_stdout
@meteorcloudy meteorcloudy merged commit fb86f67 into master Nov 10, 2023
6 checks passed
@meteorcloudy meteorcloudy deleted the downstream_config branch November 10, 2023 15:18
meteorcloudy added a commit that referenced this pull request Nov 13, 2023
It should fallback to the default value `None` when suppress_stdout is
false

This should restore the missing test summary starting from
https://buildkite.com/bazel/bazel-bazel/builds/25524 which is right
after #1778 was
merged.
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.

2 participants