I have just set up CI for a new project that I am working on, my tests run and complete successfully, but when Semaphore attempts to upload my code to my Amazon Elastic Beanstalk instance, I get the error:
The version of application code on Elastic Beanstalk does not match the version that Semaphore sent in this deployment. Please check your AWS Elastic Beanstalk Console for more information.
With the JSON object printed:
{
"Environments": [
{
"ApplicationName": "my-app-server",
"EnvironmentName": "myappserver",
"VersionLabel": "Sample Application",
"Status": "Ready",
"EnvironmentLinks": [],
"EnvironmentId": "my_environment_id",
"EndpointURL": "my_server_ip",
"SolutionStackName": "64bit Amazon Linux 2016.03 v2.1.0 running Node.js",
"CNAME": "my_cname",
"Health": "Red",
"AbortableOperationInProgress": false,
"Tier": {
"Version": " ",
"Type": "Standard",
"Name": "WebServer"
},
"HealthStatus": "Degraded",
"DateUpdated": "2016-04-14T16:10:46.905Z",
"DateCreated": "2016-04-14T15:44:41.965Z"
}
]
}
NOTE: I have left out some details to hide the identity of my EB instance.
I am unsure as to why I am getting this error as I am deploying to a blank Elastic Beanstalk instance running Node.js. Surely if I have not configured an environment, the deployment should hit EB and install itself successfully?
I followed the semaphore guide found here to attempt to deploy my application.
nvm install 4.3.0
– rastasheep