Coder Social home page Coder Social logo

beanstalkify's People

Contributors

pranavraja avatar rickgrundy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

beanstalkify's Issues

AWS config (access keys + region) should be ENV variables

Currently using a file, this means the keys need to live on the build agent.

  • Would probably be safer if we could just pass them as ENV vars, either set on that agent itself, or set in the context of the build itself
  • Having the region as an ENV var also makes it easier to switch region for DR purposes.

Should not prefix the environment name with anything

Currently inspects the ZIP archive: <appname>-<version>.zip, then prefixes the target environment with <appname> to make it unique to the region.

This should be the responsibility of the calling code. It's especially confusing when using Beanstalkify alongside other AWS SDK code (ex: blue-green deployments), where you need to add manual prefixes only half the time.

cryptic error when the archive is not {appname}-{version}.zip

current error message is

C:/ruby200/lib/ruby/gems/2.0.0/gems/aws-sdk-1.27.0/lib/aws/core/client.rb:366:in `return_or_raise': 2 validation errors
detected: Value '' at 'applicationName' failed to satisfy constraint: Member must satisfy regular expression pattern: [^
/]+; Value '' at 'applicationName' failed to satisfy constraint: Member must have length greater than or equal to 1 (AWS
::ElasticBeanstalk::Errors::ValidationError)
        from C:/ruby200/lib/ruby/gems/2.0.0/gems/aws-sdk-1.27.0/lib/aws/core/client.rb:467:in `client_request'
        from (eval):3:in `describe_application_versions'
        from C:/ruby200/lib/ruby/gems/2.0.0/gems/beanstalkify-0.0.7/lib/beanstalkify/archive.rb:47:in `already_uploaded?
'
        from C:/ruby200/lib/ruby/gems/2.0.0/gems/beanstalkify-0.0.7/lib/beanstalkify/archive.rb:14:in `upload'
        from C:/ruby200/lib/ruby/gems/2.0.0/gems/beanstalkify-0.0.7/lib/beanstalkify/application.rb:16:in `deploy!'
        from C:/ruby200/lib/ruby/gems/2.0.0/gems/beanstalkify-0.0.7/bin/beanstalkify:46:in `<top (required)>'
        from C:/ruby200/bin/beanstalkify:23:in `load'
        from C:/ruby200/bin/beanstalkify:23:in `<main>'

this could be better explained what the problem is.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.