Giter Club home page Giter Club logo

herkko's People

Contributors

vesan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

herkko's Issues

Circular calls

Dunno if I'm trying to use herkko wrongly, but got this when tried to run migrations:

$ herkko staging run rake db:migrate
/Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:16:in `run': stack level too deep (SystemStackError)
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `public_send'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `run'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `public_send'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `run'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `public_send'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `run'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `public_send'
        from /Users/joni/.rvm/gems/ruby-2.4.0/gems/herkko-0.0.14/lib/herkko/runner.rb:28:in `run'

Don't try to run migrations if deployment fails

remote: !       Heroku Git error, please try again shortly.
remote: !       See http://status.heroku.com for current Heroku platform status.
remote: !       If the problem persists, please open a ticket
remote: !       on https://help.heroku.com/tickets/new
remote: !       and provide the Request ID UUID
fatal: unable to access 'https://git.heroku.com/app-name.git/': The requested URL returned error: 500

-> Migrating database...
Running rake db:migrate on ⬢ app-name... !
 ▸    Expected response to be successful, got 500
-> NOTE: Seed file seem the have changed. Make sure to run it if needed

First deploy of new app

Got this error message when tried to do first deploy with herkko

$ herkko production deploy --skip-ci-check
-> Doing deployment to production...
-> Deploying changes:



-> Skipping CI. Deploying...
-> Pushing commit e3bb0f815ece7331a0fb5b06829ccab8a13575d3 from branch master to Heroku...

error: unable to push to unqualified destination: master
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'https://git.heroku.com/APP.git'

Support non-ci projects

Problem: I have project without CI and wanted to use herkko for the deploy. Herkko insisted me to install travis.

$ herkko heroku deploy
-> Doing deployment to heroku...
-> Deploying changes:

*Changes* 

-> Checking CI...
-> Travis CLI has not been installed, run: gem install travis
-> CI is in unknown state (unknown). Can't continue.

Desired solution: Herkko would ask (or I could set it) if I have CI in use and then allow me to do deploy. And if possible, it would run tests locally if CI is not set.

Add support for Heroku's pipelines

Basic idea is that if pipelines are in use in the project, herkko would recognize if the wanted commit is published in to staging alread and would then promote it to production. Main benefit would be faster production deploys.

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.