Create three configuration files:
A. test/helper/integration-config/deployConfig.json
{
"region": "us-east-1",
"s3Bucket":"elasticbeanstalk-us-east-1-076414961204",
"ebApplications" : [{
"name": "web",
"ebApplicationName": "visualai-web",
"ebEnvironments": [{
"name": "staging",
"ebEnvironmentName": "visualai-staging-env",
"ebEnvironmentId": "e-igxa3sgfmm",
"gitBranch": "master"
}]
}]
}
Note, you should replace the above config with values that represent an
ElasticBeanstalk app/env you have running in an AWS account accessible from
credentials provided in (b)
B. test/helper/integration-config/deployCredentials.json
{
"awsCredentials": {
"accessKeyId": "myAcccessKeyId",
"secretAccessKey": "mySecretAccessKey"
}
}
C. test/helper/integration-apps/web/Dockerrun.aws.json
{
"AWSEBDockerrunVersion": "1",
"Authentication": {
"Bucket": "vizualai",
"Key": "config/dockerhub/dockerhub-vizualai-auth.json"
},
"Image": {
"Name": "vizualai/web",
"Update": "true"
},
"Ports": [
{
"HostPort": "80",
"ContainerPort": "3000"
}
]
}
You will need to adjust the folder underneath integration-apps based on
values you provide in (A). The foldername should correspond to one of
application names you have in the config file (name not ebApplicationName).