heroku-pipelines | this code is now in https : //github.com/heroku/cli | Platform As A Service library
kandi X-RAY | heroku-pipelines Summary
kandi X-RAY | heroku-pipelines Summary
Package has moved to: A Heroku CLI plugin for continuous delivery on Heroku. This plugin is used to set up a collection of apps sharing a common codebase where the latest slug of one app can be promoted to the app(s) in the following stage. The promotion only copies the upstream build artifact and leaves the downstream app's config vars, add-ons, and Git repo untouched.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of heroku-pipelines
heroku-pipelines Key Features
heroku-pipelines Examples and Code Snippets
Community Discussions
Trending Discussions on heroku-pipelines
QUESTION
I have a simple Heroku deployment pipeline (review apps -> development -> staging -> production).
If I push something to master
then it will trigger the CI (codeship) and if the tests ran successfully the Codeship will deploy the changes to development
Heroku app. It's pretty simple.
But how can we manage the hotfixes? What happen if we cannot deploy the current master
to production for any reason.
I've just read an article which says that we should handle hotfixes with git tags. Is it the only way to manage hotfixes? Can we handle these without using git tags?
...ANSWER
Answered 2018-Oct-07 at 12:43master
is your deployment branch. So hotfixes are done in master
branch as well.
I assume you also have a development branch. So if you have ongoing work, you continue to do it on the development branch and not merge it to master
.
If master
is broken - you must fix it (hence the hotfix). You fix the issue, push it to master, and continue with the deployment cycle.
Then you should also cherry pick the hotfix back to your development branch.
Update
If you wish to stick with a single master
branch than I cannot see a workaround working with hotfix branches.
You don't necessary need to tag one each time. But the key is to know which version is the last stable version currently in production slot.
Developers continue to work on master
- it goes to staging but you asses that it cannot proceed to master.
So you:
- create a new branch, based on the current version - this is the hotfix branch.
- Create the fix
- Deploy it
- Merge it to master
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install heroku-pipelines
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page