Giter VIP home page Giter VIP logo

nlp-ci's Introduction

nlp-ci


Continue Integration (CI) for Natural Language Processing.

Requirements

This script is tested on Ubuntu 14.04. It is recommended to use these scripts.

Minimum requirements:

  • apt-get
  • git
  • Python 2.7.6+
  • Fabric 1.8.2+

Extra requirements (if necessary for your case):

  • Prepare SSL credentials.
  • Define domain name of CI server.

Installation

  1. Prepare linux server.
  2. Install git and Fabric.
$ sudo apt-get -y -q install git fabric
  1. Install and setup Jenkins server.
$ fab -u USERNAME -i PATH_TO_PRIVATE_KEY -H ADDRESS:22 install:domain=DOMAIN
  • USERNAME
    • An username to use when connecting to remote hosts.
  • PATH_TO_PRIVATE_KEY
    • A path to private key to use when connecting to remote hosts.
  • ADDRESS
    • An address of remote host for CI server.
  • DOMAIN
    • A domain of Jenkins page.

If you want to install this system into local machine, localhost is set to ADDRESS variable. After successfully installing, you can access https://ADDRESS/jenkins as an admin user. (User name and password is same.)

  1. Create job.
    $ fab -u USERNAME -i PATH_TO_PRIVATE_KEY -H ADDRESS:22 createjobs:domain=DOMAIN
  • USERNAME, PATH_TO_PRIVATE_KEY, ADDRESS, DOMAIN
    • Same as above step.

Please see joblist.json. In current version, a test project for jigg is already defined.

The directory construction of nlp-ci is as follows:

+ nlp-ci
  +- INSTALL_SCRIPTS (fabfile.py, etc.)
  +- jigg (Base project)
  | +- Dockerfile
  | +- test.sh
  | +- jigg-develop (Target project directory1)
  | | +- src...
  | +- jigg-develop-other (Target project directory2)
  |   +- src...
  +- mecab
  | +- Dockerfile
  | +- test.sh
  | +- mecab-develop
  |   +- src...
  +- ...
  1. Coding and push to the target repository.

  2. Check result.

Documents

  1. Install Jenkins using Fabric
  2. Job list
  3. Construction of project
  4. User authentication with OAuth plugin
  5. Plotting by each build job

nlp-ci's People

Contributors

unnonouno avatar

Watchers

James Cloos avatar Kenta Yoshinaga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.