Question

How to handle a staging / production pipelin with App Platform ?

Hi,

I’m currently evaluating if App Platform can replace how we use Heroku today, and I’m wondering how one would handle a staging / release process ? On Heroku there is a “pipeline” feature that allows building a slug in “dev” or “staging”, launching it, and then passing the prebuilt slug in production, without rebuilding it.

How could it be done in App Platform? I cannot think of a better solution but to have two apps on app platform, plugged into different branches (lets say develop and master), but that would mean rebuilding the slug when going to production.

Thanks


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Jake Levirne
DigitalOcean Employee
DigitalOcean Employee badge
October 8, 2020
Accepted Answer

You could also choose to have two apps on the same branch, one for staging and one for release. The staging one could be set with Autodeploy (Settings tab) enabled and the release one could be set with Autodeploy disabled. If needed, these could also have different environment variables. Then you can have Staging always up to date with your branch and Release only updated when you manually push the Deploy button. But technically, this will still rebuild the slug when going to production.

The staging area contains the “next” version of the application and is used for final stress testing and client/manager approvals before going live.

Just curious, are there any updates as the answer is now two years old? I mean considering Heroku pipeline replacement using an app platform here.

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.