vesan / herkko Goto Github PK
View Code? Open in Web Editor NEWHeroku deployment tool
License: MIT License
Heroku deployment tool
License: MIT License
I guess the way to do it is to use the API to fetch the builds and check that there is a matching build for the commit you are about to deploy (like this: https://gist.github.com/mislav/1676577).
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'
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
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'
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.