-
Notifications
You must be signed in to change notification settings - Fork 11
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: Look for recipes in ./recipes/
, build files in ./files/
, and Containerfiles in ./containerfiles/
#157
feat: Look for recipes in ./recipes/
, build files in ./files/
, and Containerfiles in ./containerfiles/
#157
Conversation
Just realized I didn't do the same for the |
./recipes/
and build files in ./files/
./recipes/
, build files in ./files/
, and Containerfiles in ./containerfiles/
I agree with this one. It improves the builds as you mentioned & directory layout looks cleaner to manage. The only thing is that putting Maybe |
@fiftydinar In my view, after modules are refactored. The
Or it could look like this:
etc. etc. And so, it would be up to the maintainer to decide how to arrange their repository. |
I like this one |
Yeah the general idea still is to keep all the files in one directory still so the CLI doesn't have to keep track of logic that determines where to pull files from |
Cool, yeah! I think I've come around on the |
Recipe files can now be put into their own directory
./recipes/
. This directory is NEVER copied into the build so changes to a recipe will no longer cause cache misses for builds. Here is an example of my build changing the second to last module and only requiring the last 2RUN
layers to be run again.Making it so that an upgrade only required pulling those last 2 layers:
Support was also added to put all build files into
./files/
instead of./config/
. This is an all or nothing operation, meaning if there exists a directory offiles
then theconfig
directory will be completely ignored. Work will have to be done in https://github.com/blue-build/modules to allow users to put their files directly in./files/
and not./files/files
for thefiles
module or./files/scripts
for the scripts module.Support was also added to move the
./config/containerfiles/
directory to the root of the project. Now the directories you can find in the root of projects are: