use test private key identity

This commit is contained in:
Jeff Lindsay
2013-06-23 02:55:38 -07:00
parent 9d56c54d48
commit e94a9a47c7
3 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
---
script: cd tests && ./run_ec2 progrium
script: cd tests && ./run_ec2 test
before_install:
- "sudo apt-get install -y ec2-api-tools"
- "sudo apt-get install -y s3cmd"
@@ -7,6 +7,7 @@ before_install:
- "sed --in-place \"s|secret_key|secret_key = $AWS_SECRET_KEY|\" .s3cfg"
- "s3cmd -c .s3cfg get s3://progrium-private/ec2_cert.pem /tmp/cert"
- "s3cmd -c .s3cfg get s3://progrium-private/ec2_pk.pem /tmp/pk"
- "mkdir -p ~/.ssh && s3cmd -c .s3cfg get s3://progrium-private/test.pem ~/.ssh/id_rsa"
env:
global:
- EC2_CERT=/tmp/cert

View File

@@ -1,3 +1,3 @@
#!/bin/bash
set -e
test "$(curl $1)" == "nodejs/express2"
test "$(curl $1)" == "nodejs/express"

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
KEYNAME="$1"
indent() { sed "s/^/ /"; }
echo "-----> Booting EC2 instance..."