-
Notifications
You must be signed in to change notification settings - Fork 521
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
feat: add StampSettingsInfo and STAMP_ATTRS #3162
feat: add StampSettingsInfo and STAMP_ATTRS #3162
Conversation
dac7e94
to
b5234e2
Compare
Is it possible to add 'stamp' attr to nodejs_binary and nodejs_test too? |
b5234e2
to
dc7b5ad
Compare
Definitely. @alexeagle or I will add that as a follow-up to this. |
781f819
to
245a8e8
Compare
245a8e8
to
2b1288f
Compare
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.
Delightful
Is there an issue tracking this? I would currently use it to stamp a cypress e2e testing API key into the environment variables for |
Adds support for stamp env vars
BAZEL_VERSION_FILE
andBAZEL_INFO_FILE
torun_node
if"stamp": STAMP_ATTR
is inctx.attr
Adds
stamp
attr tonpm_package_bin
Adds
stamp
attr topkg_npm
(replacingnode_context_info
)Adds
stamp
attr topkg_web
(replacingnode_context_info
)Adds
stamp
attr toesbuild
(replacingnode_context_info
)Adds
stamp
attr torollup_bundle
(replacingnode_context_info
)Removes old NodeContextData and NODE_CONTEXTS_ATTRS from
//internal/node/context.bzl
in favor of StampSettingInfo and STAMP_ATTR from//nodejs/private/providers:stamp_setting_info.bzl