distribot 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cab1c43ea9de129a58767b4d136d7b2aebdb2e3b
4
- data.tar.gz: cca1c831d62b3a5d0e9ea4c7f2d75d48ffe9ed4f
3
+ metadata.gz: 1753147d9fe3104459d2a64096cd2bfa01f5abd1
4
+ data.tar.gz: 4d5cf53d324f3ed10eeb1a2efef4eb86d9b767de
5
5
  SHA512:
6
- metadata.gz: 9995c44432b30e03b74cef878f8058f6bf07c02f70b626cd12e440ec35ff0a83232efee0747e848998065365b2f4965ba4b1941e59a116d66d81b631fd424035
7
- data.tar.gz: 08a3d5dae51aa8361e019eec14e029acae0b6e2c9a4473eb87249458210c13741718702714f73bcc78ec5713ef89b64febf93afc4465c1873f10d6ee97f7d149
6
+ metadata.gz: 673a86953d1ac04025074f890636b30d4a019069d4524d05464a3a6d0ccc063428123208cab47104cc8d56cd311e3172a80a45f8426033db3a392fb4531fce2f
7
+ data.tar.gz: 00fb17d8970f6aba78b7651372e1efeb8e284481a3f45050a70e7157720080c274cb30e58809507d48cea7093ab2045ef52ddaf43846adfa2838eb3d0705e7a4
@@ -1,21 +1,23 @@
1
1
 
2
2
  FROM ubuntu:15.10
3
3
 
4
- RUN useradd -d /home/ubuntu -m -s /bin/bash ubuntu
5
- ADD ./ /var/www/distribot
6
- RUN echo "ubuntu:changeme" | chpasswd
7
- RUN echo 'ubuntu ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
8
- RUN sed -i s#/home/ubuntu:/bin/false#/home/ubuntu:/bin/bash# /etc/passwd
9
-
10
4
  RUN \
11
5
  apt-get update \
12
- && apt-get install -yy \
13
- build-essential \
6
+ && apt-get install -y \
7
+ sudo \
8
+ curl \
14
9
  ruby2.2 \
15
10
  ruby2.2-dev \
11
+ build-essential \
16
12
  git \
17
- && gem2.2 install bundler --no-ri --no-rdoc
13
+ && gem2.2 install bundler --no-ri --no-rdoc \
14
+ && gem2.2 install foreman --no-ri --no-rdoc \
15
+ && useradd -d /home/ubuntu -m -s /bin/bash ubuntu \
16
+ && echo "ubuntu:changeme" | chpasswd \
17
+ && echo 'ubuntu ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
18
+ && sed -i s#/home/ubuntu:/bin/false#/home/ubuntu:/bin/bash# /etc/passwd
18
19
 
19
20
  USER ubuntu
20
21
  WORKDIR /var/www/distribot
21
- RUN bundle
22
+
23
+ ENTRYPOINT ["bundle"]
@@ -0,0 +1,9 @@
1
+
2
+ FROM ruby:2.2-alpine
3
+
4
+ RUN \
5
+ gem install distribot --no-ri --no-rdoc \
6
+ && gem install foreman --no-ri --no-rdoc
7
+
8
+ ADD Procfile /Procfile
9
+ ENTRYPOINT ["foreman", "start"]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- distribot (0.1.9)
4
+ distribot (0.1.12)
5
5
  activesupport
6
6
  bunny
7
7
  concurrent-ruby
data/Procfile CHANGED
@@ -1,6 +1,6 @@
1
- flow-created: bundle exec bin/distribot.flow-created
2
- flow-finished: bundle exec bin/distribot.flow-finished
3
- handler-finished: bundle exec bin/distribot.handler-finished
4
- phase-finished: bundle exec bin/distribot.phase-finished
5
- phase-started: bundle exec bin/distribot.phase-started
6
- task-finished: bundle exec bin/distribot.task-finished
1
+ flow-created: distribot.flow-created
2
+ flow-finished: distribot.flow-finished
3
+ handler-finished: distribot.handler-finished
4
+ phase-finished: distribot.phase-finished
5
+ phase-started: distribot.phase-started
6
+ task-finished: distribot.task-finished
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'distribot'
3
- spec.version = '0.1.11'
3
+ spec.version = '0.1.12'
4
4
  spec.authors = ['John Drago']
5
5
  spec.email = 'jdrago.999@gmail.com'
6
6
  spec.homepage = 'https://github.com/distribot/distribot'
@@ -2,7 +2,6 @@
2
2
  require 'pp'
3
3
  require 'securerandom'
4
4
  require 'bunny'
5
- require 'byebug'
6
5
  require 'active_support/json'
7
6
  require 'uri'
8
7
  require 'net/http'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: distribot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Drago
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-03 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -235,6 +235,7 @@ files:
235
235
  - .docker/Dockerfile.base
236
236
  - .docker/Dockerfile.bundle
237
237
  - .docker/Dockerfile.production
238
+ - .docker/Dockerfile.thin
238
239
  - .docker/entrypoint.production.sh
239
240
  - .gitignore
240
241
  - .rspec