Sha256: 32ca1b0a449b1f53d95b8d043e1acffb3eafe056c56e17320698b606e1a511d6

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

#! /bin/sh

set -x
echo `pwd`
gem install bundler --no-rdoc --no-ri
gem install ey_gem --no-rdoc --no-ri --source http://geminst:hoa3laml@gems-internal.engineyard.com/ --source http://rubygems.org/
bundle install

sudo emerge -qn =app-crypt/gnupg-2*

cp spec/config-example.yml spec/config.yml

sed -i "s/^mysql_host: *.*$/mysql_host: $DB_HOST/g" spec/config.yml
sed -i "s/^mysql_user: *.*$/mysql_user: root/g" spec/config.yml
sed -i "s/^mysql_password: *.*$/mysql_password: $DB_PASS/g" spec/config.yml

sed -i "s/^postgresql_host: *.*$/postgresql_host: $DB_HOST/g" spec/config.yml
sed -i "s/^postgresql_user: *.*$/postgresql_user: $USER/g" spec/config.yml
sed -i "s/^postgresql_password: *.*$/postgresql_password: $DB_PASS/g" spec/config.yml

# Get the real aws keys; first remove what we have
grep -v aws_ spec/config.yml >spec/config.yml.tmp
mv spec/config.yml.tmp spec/config.yml
sudo grep -i aws_secret_key /etc/chef/dna.json | tail -n 1 | sed -e 's/,* *$//' -e 's/^ *//' >>spec/config.yml
sudo grep -i aws_secret_id /etc/chef/dna.json | tail -n 1 | sed -e 's/,* *$//' -e 's/^ *//' >>spec/config.yml

echo "CONFIG FILE: "
cat spec/config.yml

bundle exec rake

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey_cloud_server-1.4.34 script/ci
ey_cloud_server-1.4.33 script/ci
ey_cloud_server-1.4.32 script/ci