NiklasRosenstein / flux-ci

Flux is your own private & lightweight CI server.
MIT License
26 stars 10 forks source link

Added basic editor for overriden build script for GUI. #42

Closed tvrzna closed 6 years ago

tvrzna commented 6 years ago

According #41 and #31 I've created simple editor (without syntax highlighter) for custom build script. Functionality is really simple, if there any script is added, it creates folder and file for .flux-build in overrides. If there is no text, build script is removed.

Saving into file could be little bit buggy, it could require additional check.

gsantner commented 6 years ago

that was fast :D. the idea behind override folder was not bad right?

I would go for adding a checkbox something like "[ ] update build script by the thing below", so override folder gets not something written in when e.g. changing ref-whitelist

NiklasRosenstein commented 6 years ago

that was fast :D

Damn right. 😄 Awesome! Thanks

tvrzna commented 6 years ago

that was fast :D. the idea behind override folder was not bad right?

I think the idea is brilliant!

I would go for adding a checkbox something like "[ ] update build script by the thing below", so override folder gets not something written in when e.g. changing ref-whitelist

I was considering it too but I believe configuring repo for CI is not something what anybody does reckless.