-
Notifications
You must be signed in to change notification settings - Fork 323
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
Allow building only desired chunks #763
Comments
Dazzle already has an ignore flag at project level that can be used to ignore chunks. This issue is requesting same feature through e.g. command dazzle project ignore dep-cacert-update results in the following section being added to combiner:
combinations: []
ignore:
- dep-cacert-update While building, the chunks mentioned here are ignored. I think it is better to reuse this flag than adding another one. what are your thoughts @kylos101 @Furisto ? |
@princerachit I was not aware of that flag. That's great!. We could write a simple script like When I do that and run dazzle-up.sh the build process seems to be stuck in some kind of endless loop where it builds the same thing over and over again. Edit: Actually this might have just been different variants. |
That could work, @princerachit , nice find! As @Furisto suggested, we could update the script (as needed) to remove chunks we want to work with. |
Ignore works as advertised. 🙂 We could change
Finally, when reviewing PRs, we'd just have to make sure we don't accidently include the ignore. WDYT? @Furisto and @princerachit ? |
@kylos101 Makes sense, will adapt the script |
Thanks, @Furisto ! Adding a brief mention in our contribution guide might help too. For example, if the user wants to alter |
@Furisto given this:
For the input args, we might want two things:
Why? Combination definitions in the dazzle.yaml sometimes include reference combination(s), as well as chunks. Assuming we just want to combine the chunks is invalid, best to use the definition in the dazzle.yaml file. I didn't realize bash has a |
@Furisto I am going to transfer this to our |
@princerachit , if you could take on this issue, that would help us get very close to completing this related epic. Let us know? @Furisto I'm not sure if you have any script prepared for this already? If you do, can you share? |
Is your feature request related to a problem? Please describe
Inspecting how a new test is running requires building all chunks and running all tests, which makes for a long dev loop.
Describe the behaviour you'd like
Provide a means to build and run a subset of chunks (which could also be a single chunk)
Describe alternatives you've considered
Create a new branch to do testing from main, just with the chunks I want to build and test.
Once the tests are working, copy them into yet another new branch created from main.
Additional context
This should help folks more easily test, which will hopefully encourage more authoring of tests.
The text was updated successfully, but these errors were encountered: