mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-10 23:45:07 +00:00
bin | ||
data | ||
lib | ||
resources | ||
static | ||
test | ||
views | ||
.bowerrc | ||
.gitignore | ||
.npmignore | ||
app.js | ||
bower.json | ||
dataio.js | ||
db.js | ||
distributor.js | ||
gulpfile.js | ||
httpApi.js | ||
LICENSE.txt | ||
package.json | ||
projectsWatcher.js | ||
README.md | ||
scheduler.js |
nci
nci - Continuous integration server written in node.js
work in progress...
TODO for release 0.9
Dashboard (builds list, projects autocomlete)Build page (build info(dates, changes, etc), console)Awesome build output (very close to terminal)Url for trigger build runYAML project and server(executors count, etc) configsPersistent build and console output informationProject relations (blocks, triggers, etc)Writes to stderr must not break the build- Mail and jabber notifications (with commits, current step and error)
Rename notification strategies according to statusesWork with gitBuild every commit, commit with tag, etcSafe id and build numbers generationSchedulerBetter tests coverageCompile client for production- Semantic versioning and plugins
Complete uncompleted builds on server startThrow away workspace changes on repository update
Ui fixes
- speed up console output
projects autocompleteadd time ago to build listshow scm changes on build pagereact says many many times to console:Warning: setState(...): Can only update a mounted or mounting component.This usually means you called setState() on an unmounted component.This is a no-op.show duration details (steps duration) on build page- speed up build points animation at ff (maybe borrow something from animate.css?)
- current successfully streak icons at project page
don't appear build from other project on project pageupdate project info changes (avg duration, etc) on the fly - project pagelong commit comment breakes build card makeupcomment start/duration should be on same place during all steps- slow move out from build page (with lot of output) to main page - several sec
- when go on completed build page you scroll down to the output which could be very long
- when long line appear console output row numbers not on the same line with content
- some "undefined" comments in scm changes
- should write at the end of build console out that build is done (or error)
Roadmap
Responsive ui (persistent connection via socketio or something else + data streams (from shell commands, etc))- Console output should be very close to the terminal output
Shell command is the main scriptTasks relations can be set easily (runAfter, runBefore, prevents, prevented) it also can be attached to the specific branch or commit (e.g. release commits can trigger auto deploy tasks)Ability to build every or specified commits (even if they pushed in a bunch)Simple API for triggering build on scm hook- Project dependencies (all projects specified at dependencies should be built before build current project) and optional start for all projects after ci restart
- Build can be continued from the current failed step
- Failing of build step can be prevented if special condition for the build step is defined and matched (e.g. ui tests timeout error or internet connection problems detected by regexp) then step will be rerun without error
Approximate remaining build time should be shownNamed build steps- Ability to change build parameters from ui (at least target branch)
Embedded database (apparently level db)Lightweight (minimal dependencies)Cancel build