AOEpeople/EcomBench

Name: EcomBench

Owner: AOE

Description: null

Created: 2016-03-12 03:19:52.0

Updated: 2016-04-19 01:13:06.0

Pushed: 2016-03-19 06:48:30.0

Homepage: null

Size: 428

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

EcomBench

Setup
Run Composer
composer.phar install
Create a .env.default file:
ACCESS_KEY_ID=
SECRET_ACCESS_KEY=
DEFAULT_REGION=us-west-1

ocation=enter.your.ip.here/32
air=EnterYourKeyPairNameHere
NSPECTOR_DEFAULT_EC2_USER=ubuntu
Key

Create a KeyPair in the AWS Console and copy the *.pem file to keys/<NameOfTheKeyPair>.pem

Note: The AMI is currently hardcoded to use a Ubuntu 14.04 in California (us-west-1)

Deploy setup stack
stackformation.php blueprint:deploy -o setup
Deploy testrun stack (=run testcase)
rt TEST_RUN=<YourTestRunId>
 Jenkins you could do:export TEST_RUN=${BUILD_NUMBER}

stackformation.php blueprint:deploy --deleteOnTerminate -o 'magento-1-9-run-{env:TEST_RUN}'
Abort the testrun / Delete the stack

If you're still observing the stack creation (bin/stackformation.php blueprint:deploy -o or stack:observe) and you launched the command with --deleteOnTerminate you can simply do CTRL+C (or abort the Jenkins job which will signal SIGTERM) and the stack will be automatically deleted.

At any point in time (whether the stack is in progress or not) you can run bin/stackformation.php stack:delete.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.