mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
use test private key identity
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
test "$(curl $1)" == "nodejs/express2"
|
||||
test "$(curl $1)" == "nodejs/express"
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
KEYNAME="$1"
|
||||
indent() { sed "s/^/ /"; }
|
||||
echo "-----> Booting EC2 instance..."
|
||||
|
||||
Reference in New Issue
Block a user