Sha256: 5ecc375ef1060c506b09f86d502371eac786d6261d19e1b2e1f9fa81d6eeac5e
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
#! /bin/sh set -x set -e # exits on any non 0 exit code # TODO: WHY? sudo cp -pr /root/.gnupg $HOME/ sudo chown -R deploy:deploy $HOME/.gnupg/ 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 install --deployment &> bundle.log bundle exec rake --trace
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ey_cloud_server-1.4.29 | script/ci |