CSC/ECE 517 Spring 2015/ch1a 6 TZ: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 62: Line 62:
! Platform (computing)|Platform
! Platform (computing)|Platform
! License
! License
! Microsoft Windows|Windows Software build|builders
! Windows builders
! Java |Java Software build|builders
! Java builders
! Other Software build|builders
! Other builders
! Notification
! Notification
! Integrated development environment|IDE System integration|Integration
! IDE Integration
! Other System integration|Integration
! Other Integration


|-
|-
Line 75: Line 75:
| unknown
| unknown
| unknown
| unknown
| Ruby |Ruby, Python |Python, Node.js, PHP, Java |Java
| Ruby, Python, Node.js, PHP, Java
| E-mail, Campfire (software)|Campfire, HipChat, CCtray
| E-mail, Campfire, HipChat, CCtray
| unknown
| unknown
| Heroku, GitHub
| Heroku, GitHub
Line 89: Line 89:
| E-mail
| E-mail
| unknown
| unknown
| Amazon Web Services|AWS, GitHub, Bitbucket
| Amazon Web Services(AWS), GitHub, Bitbucket


|-
|-
Line 97: Line 97:
| no
| no
| Maven
| Maven
| Go , Java , Node.js, PHP, Python , Ruby }}
| Go , Java , Node.js, PHP, Python , Ruby
| E-mail, Flowdock, Grove, HipChat, Web
| E-mail, Flowdock, Grove, HipChat, Web
| no
| no
Line 106: Line 106:
| Windows
| Windows
| proprietary
| proprietary
| Ant, Nant, FinalBuilder, MSBuild, Rake (software)|Rake, Visual Studio, Powershell
| Ant, Nant, FinalBuilder, MSBuild, Rake, Visual Studio, Powershell
| Ant
| Ant
| | Execute Program(command line)
| Execute Program(command line)
| E-mail, XMPP
| E-mail, XMPP
| no
| no
| GitHub, Bitbucket, Codeplex, Kiln, Team Foundation Server|TFS, FogBugz, JIRA|Jira, NCover, Opencover, NUnit, DUnitX, jUnit, xUnit, NuGet, 7Zip
| GitHub, Bitbucket, Codeplex, Kiln, Team Foundation Server(TFS), FogBugz, Jira, NCover, Opencover, NUnit, DUnitX, jUnit, xUnit, NuGet, 7Zip


|-
|-
Line 119: Line 119:
| unknown
| unknown
| Apache Ant|Ant, Apache Maven|Maven 2, Gradle
| Apache Ant|Ant, Apache Maven|Maven 2, Gradle
| |C, C++, Dart |Dart, Go |Go, Node.js|NodeJS, Python |Python, PHP, Ruby |Ruby, Java |Java, Groovy |Groovy, Scala |Scala, Erlang |Erlang
| C, C++, Dart, Go, Node.js, Python, PHP, Ruby, Java, Groovy, Scala, Erlang
| E-mail
| E-mail
| unknown
| unknown
| Heroku, Dotcloud, GitHub, Bitbucket
| Heroku, Dotcloud, GitHub, Bitbucket
|-
| [http://integrity.github.io/ Integrity]
| Ruby |Ruby
| freeMIT license|MIT
| | (command line)
| | (command line)
| |command line
| E-mail, World Wide Web|Web
| unknown
| unknown


|-
|-
| [http://www.koalitycode.com Koality]
| [http://www.koalitycode.com Koality]
| Cross Platform, Private cloud#Private cloud|Private Cloud
| Cross Platform, Private Cloud
| proprietary
| proprietary
| unknown
| unknown
| unknown
| unknown
| Shell scripts|Shell Script, Command Line|Command-Line
| Shell scripts, Command Line|Command-Line
| Email, HipChat, GitHub
| Email, HipChat, GitHub
| unknown
| unknown
| Amazon Web Services, GitHub
| Amazon Web Services, GitHub
|-
| [http://tbraun89.github.io/pyCI/ pyCI]
| Linux
| freeGNU General Public License#Version 2|GPL2
| no
| no
| |Command line
| |Command line
| no
| no


|-
|-
Line 162: Line 140:
| proprietary
| proprietary
| unknown
| unknown
| Apache Maven|Maven 3
| Apache Maven 3
| Ruby , Java , Node.js, PHP, Clojure, Rake (software)|Rake, Command Line
| Ruby , Java , Node.js, PHP, Clojure, Rake, Command Line
| E-mail, Campfire (software)|Campfire, HipChat, Slack, Flowdock, Webhooks, Remote API
| E-mail, Campfire, HipChat, Slack, Flowdock, Webhooks, Remote API
| unknown
| unknown
| GitHub, Bitbucket, Heroku, Code Climate, Cloud 66
| GitHub, Bitbucket, Heroku, Code Climate, Cloud 66


|-
|-
| [https://www.shippable.com/ Shippable]
| [http://www.shippable.com/ Shippable]
| Hosted
| Hosted
| proprietary
| proprietary
| MSBuild, NAnt
| MSBuild, NAnt
| Apache Ant|Ant, Apache Maven|Maven, Gradle
| Apache Ant, Apache Maven, Gradle
| Ruby |Ruby, Python |Python, Node.js, Java |Java, Scala |Scala, C Sharp |C Sharp, PHP |PHP, Go |Go
| Ruby, Python, Node.js, Java, Scala, C Sharp, PHP, Go
| E-mail, Campfire (software)|Campfire
| E-mail, Campfire
| no
| no
| GitHub, Bitbucket Heroku
| GitHub, Bitbucket Heroku
Line 184: Line 162:
| proprietary
| proprietary
| no
| no
| Apache Ant|Ant, Apache Maven|Maven, Gradle, Android (operating system)|Android
| Apache Ant, Apache Maven, Gradle, Android
| |C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| E-Mail, Campfire, HipChat, Webhook
| E-Mail, Campfire, HipChat, Webhook
| no
| no
Line 195: Line 173:
| proprietary
| proprietary
| no
| no
| Apache Ant|Ant, Apache Maven|Maven, Gradle
| Apache Ant, Apache Maven, Gradle
| |C, C++, Clojure, Go, Java, Javascript, Node.js, PHP, Python, R, Ruby, Scala, Command Line
| C, C++, Clojure, Go, Java, Javascript, Node.js, PHP, Python, R, Ruby, Scala, Command Line
| E-Mail, Campfire, HipChat, Flowdock, Slack, Webhook, CCMenu
| E-Mail, Campfire, HipChat, Flowdock, Slack, Webhook, CCMenu
| no
| no
| GitHub, GitHub Enterprise, Bitbucket, Heroku, Amazon Web Services|AWS, Git (software)|Git, Mercurial
| GitHub, GitHub Enterprise, Bitbucket, Heroku, Amazon Web Services(AWS), Git, Mercurial


|-
|-
Line 207: Line 185:
| no
| no
| no
| no
| |C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| E-Mail
| E-Mail
| no
| no
| GitHub, Bitbucket, Heroku, GitHub Enterprise, Git (software)|Git
| GitHub, Bitbucket, Heroku, GitHub Enterprise, Git


|-
|-
| Travis CI
| [http://travis-ci.org/getting_started Travis CI]
| Hosted
| Hosted
| MIT
| MIT
| no
| no
| Apache Ant, Apache Maven, Gradle
| Apache Ant, Apache Maven, Gradle
| |C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala
| E-Mail, Campfire, HipChat, IRC, Slack
| E-Mail, Campfire, HipChat, IRC, Slack
| no
| no

Revision as of 19:26, 31 January 2015

Snap CI

Snap CI is a hosted continuous integration and continuous delivery service.

Background

Continuous integration (CI) is the practice of merging all developer working copies with a shared mainline several times a day. It was adopted as part of extreme programming (XP). The main aim of CI is to prevent integration problems, referred to as "integration hell" in early descriptions of XP.

CI was originally intended to be used in combination with automated unit tests written through the practices of test-driven development (TDD). Initially this was conceived of as running all unit tests in the developer's local environment and verifying they all passed before committing to the mainline. This helps avoid one developer's work in progress breaking another developer's copy.

Later elaborations of the concept introduced build servers, which automatically run the unit tests periodically or even after every commit and report the results to the developers. The use of build servers (not necessarily running unit tests) had already been practised by some teams outside the XP community. Nowadays, many organisations have adopted CI without adopting all of XP.

In addition to automated unit tests, organisations using CI typically use a build server to implement continuous processes of applying quality control in general — small pieces of effort, applied frequently. In addition to running the unit and integration tests, such processes run additional static and dynamic tests, measure and profile performance, extract and format documentation from the source code and facilitate manual QA processes. This continuous application of quality control aims to improve the quality of software, and to reduce the time taken to deliver it, by replacing the traditional practice of applying quality control after completing all development. This is very similar to the original idea of integrating more frequently to make integration easier, only applied to QA processes.

Example

Getting started on Snap CI.

■ Step1: Sign in

To sign up with Snap, visit Snap CI and click in the Sign in with Github link at the top. When you sign in, GitHub will ask if you want to give a set of permissions to Snap.

Snap CI website


■ Step2: Add your repository

Once you are signed in, Snap will present a list of all the repositories you have access to. You may only build repositories. If you are an administrator on any of those repositories, you may build that repository on Snap.

Your repository list


■ Step3: Config your build

When you select a repository to build on Snap, we will attempt to automatically detect some popular configurations for your build. We look for languages versions, build tools files, dependency managers and other conventions that may indicate how your build could be set up. In this guide we'll use a ruby repository, but we do support lots of other languages.

Configure your build


As most of the ruby repositories, this one uses a dependency manager tool call bundler and the rspec testing framework. Because of that, Snap automatically added the default command for each of them: bundle install --path ${SNAP_CACHE_DIR}/.bundle and rake spec respectively. Most of the times that would be everything needed to run your tests. However, there may be some tasks that are pre-requisites to it. In this specific build, we need to execute the command bundle exec foreman start &. It can be done simply by adding it before bundle exec rake spec.


■ Step4: Build

All that's left to do is click Build now and let Snap run our build.

Build passed

Compare different Continuous Intergration Tools

There are more than 30 continuous intergration tools designed to adapt to different platforms. I select several tools which can connect Github and relate to Ruby to compare.

Name Platform License Windows builders Java builders Other builders Notification IDE Integration Other Integration
CircleCI Hosted proprietary unknown unknown Ruby, Python, Node.js, PHP, Java E-mail, Campfire, HipChat, CCtray unknown Heroku, GitHub
node.ci Hosted proprietary unknown unknown Node.js E-mail unknown Amazon Web Services(AWS), GitHub, Bitbucket
Codeship Hosted proprietary no Maven Go , Java , Node.js, PHP, Python , Ruby E-mail, Flowdock, Grove, HipChat, Web no CloudControl, Engine Yard, GitHub, Heroku
Continua CI Windows proprietary Ant, Nant, FinalBuilder, MSBuild, Rake, Visual Studio, Powershell Ant Execute Program(command line) E-mail, XMPP no GitHub, Bitbucket, Codeplex, Kiln, Team Foundation Server(TFS), FogBugz, Jira, NCover, Opencover, NUnit, DUnitX, jUnit, xUnit, NuGet, 7Zip
Drone.io Hosted Apache 2.0 unknown Ant, Apache Maven|Maven 2, Gradle C, C++, Dart, Go, Node.js, Python, PHP, Ruby, Java, Groovy, Scala, Erlang E-mail unknown Heroku, Dotcloud, GitHub, Bitbucket
Koality Cross Platform, Private Cloud proprietary unknown unknown Command-Line Email, HipChat, GitHub unknown Amazon Web Services, GitHub
Semaphore Hosted proprietary unknown Apache Maven 3 Ruby , Java , Node.js, PHP, Clojure, Rake, Command Line E-mail, Campfire, HipChat, Slack, Flowdock, Webhooks, Remote API unknown GitHub, Bitbucket, Heroku, Code Climate, Cloud 66
Shippable Hosted proprietary MSBuild, NAnt Apache Ant, Apache Maven, Gradle Ruby, Python, Node.js, Java, Scala, C Sharp, PHP, Go E-mail, Campfire no GitHub, Bitbucket Heroku
Snap CI Hosted proprietary no Apache Ant, Apache Maven, Gradle, Android C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala E-Mail, Campfire, HipChat, Webhook no AWS
Solano CI Private Cloud proprietary no Apache Ant, Apache Maven, Gradle C, C++, Clojure, Go, Java, Javascript, Node.js, PHP, Python, R, Ruby, Scala, Command Line E-Mail, Campfire, HipChat, Flowdock, Slack, Webhook, CCMenu no GitHub, GitHub Enterprise, Bitbucket, Heroku, Amazon Web Services(AWS), Git, Mercurial
Strider Node.js freeBSD no no C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala E-Mail no GitHub, Bitbucket, Heroku, GitHub Enterprise, Git
Travis CI Hosted MIT no Apache Ant, Apache Maven, Gradle C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, Node.js, Perl, PHP, Python, Ruby, Scala E-Mail, Campfire, HipChat, IRC, Slack no GitHub, Heroku

Narration

Conclusion

References

<references/>