heroku-pipeline | Experimental Heroku CLI plugin | Platform As A Service library
kandi X-RAY | heroku-pipeline Summary
kandi X-RAY | heroku-pipeline Summary
An experimental Heroku CLI plugin for [continuous delivery] on Heroku. This plugin is used to set up a simple pipeline of apps where the latest slug of one app can be promoted to the next app downstream. The promotion only copies the upstream build artifact and leaves the downstream app’s config vars, add-ons, and Git repo untouched. An app can only have one downstream app, but there is no limit to the length of the pipeline or the number of upstream apps.
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-pipeline
heroku-pipeline Key Features
heroku-pipeline Examples and Code Snippets
Community Discussions
Trending Discussions on heroku-pipeline
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
QUESTION
This question was asked here a few years ago, but doesn't have an answer. It seems like this should be possible, but I haven't found anything in the Heroku documentation nor elsewhere on the web.
Ideally, I'd like to require a password to non-production stages in my app's pipeline. How can I do this?
...ANSWER
Answered 2019-Mar-31 at 14:59Heroku recommends to handle such differences on the codebase side. HTTP authentication is very easy to set up on most servers (only two lines with Express + express-basic-auth) and you can turn it on or off depending on whether the app is running in the staging environment or the development environment with environment variables.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install heroku-pipeline
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
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