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

Updates test ciremote to try to get test logs on build buddy. #199

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

QuantamHD
Copy link
Collaborator

No description provided.

@ericastor
Copy link
Collaborator

Looks like it's not quite correct, though I don't know why...

java.io.IOException: Failed to fetch file with hash 'f15e5b0343a74dc16278dd43f49bcd3417bdf09c28cb63d9e6cb8f5d9c7da556' because it does not exist remotely. --remote_download_outputs=minimal does not work if your remote cache evicts files during builds.

I'm not sure why it's trying to download anything... but maybe it needs an API key?

@mithro
Copy link
Member

mithro commented Oct 4, 2023

Step #1: WARNING: option '--remote_cache' was expanded to from both option '--config=ciremotebuild' (source command line options) and option '--config=ciremotebuild' (source command line options)

@mithro
Copy link
Member

mithro commented Oct 4, 2023

The .bazelrc might be conflicting with the arguments in the cloudbuild.yaml file?

@mithro
Copy link
Member

mithro commented Oct 4, 2023

So you seem to be using different caches for building verse testing?

@mithro
Copy link
Member

mithro commented Oct 4, 2023

build:ciremotebuild --remote_cache=https://storage.googleapis.com/bazel-cache-rules-hdl
verses
test:ciremotebuild --remote_cache=grpcs://cloud.buildbuddy.io

@QuantamHD
Copy link
Collaborator Author

QuantamHD commented Oct 4, 2023

I'm not sure to be honest. My worry is that if we use the build buddy cache it won't keep our artifacts around for very long, and thus our CI times will go up.

Copy link
Member

@mithro mithro left a comment

Choose a reason for hiding this comment

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

It seems to work....

@mithro mithro merged commit 1235399 into main Oct 4, 2023
@mithro mithro deleted the test_ciremote branch October 4, 2023 17:51
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