• Overview
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Features
    • Observability
    • Auto-scaling
    Solutions
    • Marketing Teams
    • Retail
    • Higher Education
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Contact
  • Login
  • Free Trial

How to upgrade runtime versions with one line of code

updatesconfigurationenvironments

Notes

As you're developing with one version of a service, you may want to upgrade that service for a number of reasons. You may want to check compatibility with your application, with as little work as possible. Luckily, on Platform.sh, finding out if another service version works for you is quick to test. Branch your production environment, and create a completely identical environment to try out the upgrade. Then clone the whole project locally, either through Git or through the Platform.sh CLI. When changing runtime version, open up your .platform.app.yaml file and edit a single character to the next major version. That's it. Commit and push the change, and Platform.sh will rebuild the entire application, now on that newest version. Production hasn't been touched at all. You can visit the environment's unique URL and do whatever testing you need to, automated or manual. Run it through every one until you know it works like production should. When you're satisfied, merge the upgrade, and deploy the identical configuration to production in seconds. Services can be upgraded in the same way. Branch, update the configuration on that branch, push, test, and merge. This process works exactly the same for any change to your code, and any upgrade to your language and dependencies, so you can feel free to try out any change you'd like.

Build your greatest app

Get started
Company
AboutSecurity and complianceTrust CenterBoard and investorsCareersPressContact us
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceManage your cookie preferencesReport a security issue
© 2023 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺