Open Source Octopush project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
build change docker image base Dec 19, 2016
docker-environment Fix Unit tests Dec 1, 2016
sample_scripts first commit Mar 12, 2014
scripts Update Dec 19, 2016
sqls INFR-27551 Oct 3, 2014
src Commit header Dec 5, 2016
tests Fix Unit tests Dec 1, 2016
web /status changed so update isPaused Sep 13, 2016
.DS_Store Put a link on JIRA's ticket Oct 21, 2016
.gitignore log improvement and clean up Mar 12, 2014
.travis.yml Travis configuration updated to run acceptance tests Mar 31, 2014
LICENSE.txt first commit Mar 12, 2014 Update Dec 1, 2016
build.xml first commit Mar 12, 2014
composer.json Add deploy button for conf on Versions Apr 11, 2016
composer.lock first commit Mar 12, 2014
phpunit.xml first commit Mar 12, 2014


Unit tests: Build Status

Acceptance tests: Build Status

Octopush is an application to manage deployment requests executed by Jenkins.


You can check the docker-environment folder and follow instructions on how to run it on Docker or Manually follow these instrucions: Octopush is built on PHP and MySQL. Its PHP dependencies are managed with composer but there are some components that should be installed manually:

  • PHP 5.3
  • php5-mysql
  • MySQL
  • HttpRequest PHP Library (pecl_http)
  • phpunit


After intalling the base components mentioned above, you can follow the steps below to get your Octopush instance running:

  • Clone repo
  • Get the composer installer by executing: curl -s | php
  • Install dependencies: php composer.phar install
  • Create database using the script /sqls/schema.sql: mysql < schema.sql
  • Adjust dabatase and RM Jenkins settings in src/config
  • Run tests by executing phpunit
  • Adjust Apache configuration based on the snippet below
  • Adjust hosts file to add entry
  • Create log file:
      mkdir src/logs
      touch src/logs/octopush.log
      chmod 777 src/logs/octopush.log
  • Browse the application at

Apache configuration

<VirtualHost *:80>

    DocumentRoot "/var/www/octopush/"

    <Directory "/var/www/octopush">
        Options -MultiViews
    AllowOverride None
        RewriteEngine On
        #RewriteBase /path/to/app
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]

    ErrorLog            /var/log/octopush/error_log
    CustomLog           /var/log/octopush/access_log combined

Octopush API

In the folder sample_scripts you can find some scripts that will show you how to interact with Octopush API.

More Doc