provisionator 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -111,13 +111,13 @@ chef-solo -c <%= @options[:chef_solo_rb_path] %> -o recipe[base] -l debug
111
111
  mkdir -p $APP_PATH $APP_PATH/releases $APP_PATH/shared $APP_PATH/shared/system $APP_PATH/shared/log $APP_PATH/shared/pids $APP_PATH/shared/sockets
112
112
  chmod g+w $APP_PATH $APP_PATH/releases $APP_PATH/shared $APP_PATH/shared/system $APP_PATH/shared/log $APP_PATH/shared/pids $APP_PATH/shared/sockets
113
113
  chown -R ubuntu:ubuntu /u/
114
- su ubuntu -c "git clone -q git@github.com:sodalis/s3search.git $APP_PATH/shared/cached-copy"
114
+ su ubuntu -c "git clone -q #{@options[:app_repo]} $APP_PATH/shared/cached-copy"
115
115
  $(cd $APP_PATH/shared/cached-copy && APP_REVISION=$(git rev-parse HEAD))
116
116
  cp -RPp $APP_PATH/shared/cached-copy $APP_PATH/releases/20130516070710
117
117
  echo $APP_REVISION > $APP_PATH/releases/20130516070710/REVISION
118
118
  ln -s $APP_PATH/releases/20130516070710 $APP_PATH/current
119
119
  rm -R $APP_PATH/current/log
120
- ln -s $APP_PATH/shared/log/ $APP_PATH/current/log
120
+ ln -s $APP_PATH/shared/log $APP_PATH/current/log
121
121
  mkdir $APP_PATH/current/tmp
122
122
  ln -s $APP_PATH/shared/pids/ $APP_PATH/current/tmp/pids
123
123
  bundle install --gemfile $APP_PATH/releases/20130516070710/Gemfile --path $APP_PATH/shared/bundle --deployment --without development test
@@ -1,3 +1,3 @@
1
1
  module Provisionator
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provisionator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: -1763079988935438399
99
+ hash: -2487848744093143341
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  none: false
102
102
  requirements:
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  segments:
107
107
  - 0
108
- hash: -1763079988935438399
108
+ hash: -2487848744093143341
109
109
  requirements: []
110
110
  rubyforge_project:
111
111
  rubygems_version: 1.8.23