-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Initial files #1
Conversation
import %workspace%/shared.bazelrc | ||
|
||
# Import CI settings. | ||
import %workspace%/ci.bazelrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this belongs, CI settings are exclusive from what users use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file is loaded for everyone. However, the settings in the file are all suffixed with :ci
. In other words, they only take effect when the ci
config is specified. This happens here. I use this pattern so that everyone can easily see what configuration values are used for CI vs development.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thanks
- name: Write local.bazelrc File | ||
shell: bash | ||
run: | | ||
cat >local.bazelrc <<EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this where ci.bazelrc would be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is. The common --config=ci
tells Bazel to use the ci
config values.
- name: Output the Bazel Info | ||
shell: bash | ||
run: | | ||
bazelisk info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having trouble tracking down how you got bazelisk into here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am relying on bazelisk being installed in the runners.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wow! Today I Learned
bazel_integration_test
,bazel_integration_tests
, andintegration_test_utils
.simple
example.simple
example workspace.