Skip to content

Commit

Permalink
Merge pull request #30 from totem/develop
Browse files Browse the repository at this point in the history
0.7.1 Release
  • Loading branch information
sukrit007 committed Apr 6, 2016
2 parents 03af00c + 2371baf commit 45f8846
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -109,7 +109,7 @@ might be removed in future releases.
| TOTEM_ENV | Name of totem environment (e.g. production, local, development) | local |
| LOG_IDENTIFIER| Identifier used for centralized logging (syslog) | image-factory |
| ENC_PASSPHRASE | Ecnryption passphrase for git key (in etcd) | |

| CONCURRENCY | Number of concurrent runners for image factory | 2 |

## Prerequisites (Development)
+ [NodeJS](http://nodejs.org)
Expand Down
5 changes: 4 additions & 1 deletion bin/image-factory
Expand Up @@ -13,6 +13,7 @@ var winston = require('winston'),
path = require('path'),
fs = require('fs'),
swfHelper = require('../lib/swf/helper'),
_ = require('lodash'),
swfRegister = require('../lib/swf/register'),
ImageFactoryActivities = require('../lib/swf/image-factory-activities'),
Factory = require('../lib/factory');
Expand Down Expand Up @@ -76,7 +77,9 @@ function main() {

// Run the master
try {
var factory = new Factory(config);
var factory = new Factory(_.merge({}, config, {
concurrentJobs: process.env.CONCURRENCY
}));
winston.log('info', 'Image factory running.');
if(JSON.parse((process.env.SWF_ENABLED || 'false').toLowerCase())) {
var swfConfig = config.swf || {
Expand Down
1 change: 1 addition & 0 deletions bin/supervisord-wrapper.sh
Expand Up @@ -20,6 +20,7 @@ export AWS_ACCESS_KEY_ID='${AWS_ACCESS_KEY_ID}'
export AWS_SECRET_ACCESS_KEY='${AWS_SECRET_ACCESS_KEY}'
export AWS_SWF_DOMAIN='${AWS_SWF_DOMAIN:-totem-local}'
export LOG_IDENTIFIER='${LOG_IDENTIFIER:-image-factory}'
export CONCURRENCY='${CONCURRENCY:-2}'
END
if [ -e /var/run/docker.sock ]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "image-factory",
"version": "0.7.0",
"version": "0.7.1",
"description": "Docker Image Factory",
"keywords": [
"docker",
Expand Down

0 comments on commit 45f8846

Please sign in to comment.