This is an Heroku app for Janky, a continuous integration server.
-
-
Save pedrogimenez/8150221 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path("../config/environment", __FILE__) | |
run Janky.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<name><%= name %></name> | |
<logRotator> | |
<daysToKeep>-1</daysToKeep> | |
<numToKeep>-1</numToKeep> | |
<artifactDaysToKeep>-1</artifactDaysToKeep> | |
<artifactNumToKeep>-1</artifactNumToKeep> | |
</logRotator> | |
<keepDependencies>false</keepDependencies> | |
<properties> | |
<hudson.model.ParametersDefinitionProperty> | |
<parameterDefinitions> | |
<hudson.model.StringParameterDefinition> | |
<name>JANKY_SHA1</name> | |
<description></description> | |
<defaultValue></defaultValue> | |
</hudson.model.StringParameterDefinition> | |
<hudson.model.StringParameterDefinition> | |
<name>JANKY_ID</name> | |
<description></description> | |
<defaultValue></defaultValue> | |
</hudson.model.StringParameterDefinition> | |
<hudson.model.StringParameterDefinition> | |
<name>JANKY_BRANCH</name> | |
<description></description> | |
<defaultValue></defaultValue> | |
</hudson.model.StringParameterDefinition> | |
</parameterDefinitions> | |
</hudson.model.ParametersDefinitionProperty> | |
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty> | |
<endpoints> | |
<com.tikal.hudson.plugins.notification.Endpoint> | |
<protocol>HTTP</protocol> | |
<url><%= callback_url %></url> | |
</com.tikal.hudson.plugins.notification.Endpoint> | |
</endpoints> | |
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty> | |
</properties> | |
<scm class="hudson.scm.NullSCM"/> | |
<assignedNode>master</assignedNode> | |
<canRoam>false</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers class="vector"/> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Shell> | |
<command> | |
if [ ! -d "./.git" ]; then | |
git init | |
git remote add origin <%= repo %> | |
fi | |
git fetch -q origin | |
git reset -q --hard $JANKY_SHA1 | |
if [ -f script/cibuild ]; then | |
script/cibuild | |
else | |
bundle install --path vendor/gems --binstubs | |
bundle exec rake | |
fi</command> | |
</hudson.tasks.Shell> | |
</builders> | |
<publishers/> | |
<buildWrappers/> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "janky" | |
Janky.setup(ENV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem "janky", "~>0.9" | |
gem "pg" | |
gem "thin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: bundle exec thin start -p $PORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path("../config/environment", __FILE__) | |
require "janky/tasks" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment