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
[Enhancement?] Build description or similar #97
Comments
This is a nice idea. Could be done lots of ways, off the top of my head:
|
Is the I'm a fan of reducing the number of files necessary for a job to 'just work as intended', so would very much prefer an option that uses the first two ways mentioned (or something adjacent), rather than the third option. If you want large and complex, imo, go install Jenkins or something similarly heavyweight. |
It's mentioned twice in the docs, but there isn't a single reference point, there probably should be. I would also like to reduce the number of necessary files. I've considered moving the |
Thoughts on a template Something like:
The one-liner at the end checks for the existence of the workspace, and runs the |
No. This brings a hard dependency on bash. Laminar |
That makes sense, thanks for the clarification. In that paradigm, it does make sense (in my opinion) to use a parse-able comment in the The simplicity of setting up jobs is still my favourite part of the laminar system, and a huge part of why it's a massive step up from systems like drone/Jenkins/BuildBot/etc.
|
Yes, but that won't work for binaries, and introduces some parsing complexity. I'm not sure that it's a better approach than the other two options.
Not sure I understand exactly what you mean. Could you please open a new issue for this question? |
Can you help me understand what you mean by this?
Would it make more sense to have a folder-per-job, or is the |
Yes. Probably no-one will ever do this, but laminar promises to run anything executable. Requiring config options to be set in comments would restrict this promise. That's an option on the table, I was just explaining the downside to this particular method.
No, this implementation could fairly easily be added to laminard.
It would if there ends up being lots of files per job, but I think this is not the case. Typically there is only the
Yes....as long as this stays manageable. I would like to keep it that way if possible. |
That's glorious, and I'd drop my vote in the 'keep this promise intact' hat, every time.
...but, you've convinced me that a comment in the runfile is not an ideal implementation.
What's your threshold for 'lots of files'? I can't currently think of a reason to add more than this (as the Flat hierarchy adjacent: |
I agree that any more than approximately three is not sustainable
There is already an optional
You mean |
@ohwgiles the followup on my Your commitment and actions towards building efficient, scaleable software has inspired and motivated my own efforts towards the same, and I've been recommending Thank you again for making an awesome tool, and for the attention paid to cohesive design that this project demonstrates. |
@jakimfett my pleasure. Thank you for your support and your kind words :) |
Is there currently a way to add a "build description", eg some text that goes with the build (perhaps in the
.run
file?) that allows comment(s), instructions, or warnings to be communicated via the web frontend?As the build hierarchy gets more convoluted, half the time I need to add notes for myself, and if I'm having trouble keeping the builds straight as the one setting them up, the end user(s) are definitely going to need something to nudge them towards the intended purpose.
The text was updated successfully, but these errors were encountered: