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

Change downstream projects configs to file_config #1776

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

meteorcloudy
Copy link
Member

@meteorcloudy meteorcloudy commented Nov 9, 2023

So that the downstream projects use a matching config file at the same last green commit of the project being tested.

For a few downstream projects, we have their config files in the CI repo, therefore we need to keep the http_config for them.

Also deleted downstream configs for rules_k8s, rules_appengine and Subpar since they are no longer active.

Addressing #1759 (comment)

buildkite/bazelci.py Outdated Show resolved Hide resolved
@meteorcloudy meteorcloudy merged commit a4b4e10 into master Nov 9, 2023
6 checks passed
@meteorcloudy meteorcloudy deleted the downstream_config branch November 9, 2023 16:58
meteorcloudy added a commit that referenced this pull request Nov 10, 2023
@meteorcloudy
Copy link
Member Author

The commit breaks downstream: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/1847#018bb630-70a4-46f1-9340-066445aa81da

I had to rollback at 95fede7

A new PR with fixes is available at: #1778

meteorcloudy added a commit that referenced this pull request Nov 10, 2023
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`.
fweikert added a commit to fweikert/continuous-integration that referenced this pull request Nov 13, 2023
bazelbuild#1776 removed http_config entries for downstream projects, which caused auto sheriff to fail.
With this change we no longer use "http_config : project name" mappings. Instead we extract the proejct name from the job label, which is a bit of a hack.
@fweikert fweikert mentioned this pull request Nov 13, 2023
fweikert added a commit to fweikert/continuous-integration that referenced this pull request Nov 13, 2023
bazelbuild#1776 removed http_config entries for downstream projects, which caused auto sheriff to fail.
With this change we no longer use "http_config : project name" mappings. Instead we extract the project name from the job label, which is a bit of a hack.
fweikert added a commit that referenced this pull request Nov 13, 2023
#1776 removed
http_config entries for downstream projects, which caused auto sheriff
to fail. With this change we no longer use "http_config : project name"
mappings. Instead we extract the project name from the job label, which
is a bit of a hack.
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