atmos / heaven

:walking: Rails app for GitHub Flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elastic Beanstalk doesn't work!

brodock opened this issue · comments

Check this deployment gist for a failed deployment example: https://gist.github.com/capybot/de8e08da4eb52270f409

After debugging and trying to understand how it gets the tarball, I found that, on heroku, curl will not create directories if it doesn't exists, so we must create working_directory before fetching source code.

The idea is to do a FileUtils.mkdir_p(File.dirname(archive_path)) before this line:

execute_and_log(["curl", archive_zip, "-o", archive_path])

I've tried and updated the suggestion until I got the perfect fix... but it's just the first step.
Now, it's stuck a this step:

Beanstalk: Creating application: 

It looks like EBS api is not in sync with the params we are sending. More debug info will come soon

Hey, sorry. I haven't used the beanstalk app integration in a year or so. Keep looking, I hope it works out for ya.

I'm not gonna be working on this project in the foreseeable future.