solarhess / rules_build_secrets Goto Github PK
View Code? Open in Web Editor NEWBazel build rules to make it easier to incorporate secrets into your build process.
License: MIT License
Bazel build rules to make it easier to incorporate secrets into your build process.
License: MIT License
Hope it's ok that I'm creating an issue, it doesn't specifically say how to provide feedback. I'm considering using a rule like this to manage secrets in a multi-project monorepo that's starting to outgrow gradle.
My project is open source so I need to figure out how to manage the API keys in a reasonable way. I don't want to use .gitignore because it's probably the riskiest way to do things, so I'm interested in using this rule. I was wondering if it's possible to extend the rule to output a file that I could include as an input to the android_binary rule as a resource file.
android_binary(
name = "mediarecorder",
manifest = "AndroidManifest.xml",
resource_files = glob(["res/**"]), # I'd like the output of the secrets rule to make its way here.
deps = [":main"],
)
It's been a while since I've done anything interesting with a BUILD file so hopefully this is possible and I'm not just embarrassing myself.
I don't mind doing the work and sending you a PR if you're willing to review it, but I could use a few pointers to docs because it's been a while since I've never had to deal with a .bzl file. Again, I'm not sure if you're actively maintaining this but I just wanted to let you know what my use case is since you ask for feedback in the README. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.