ol-infrastructure icon indicating copy to clipboard operation
ol-infrastructure copied to clipboard

Create MITx Online CI Environment

Open blarghmatey opened this issue 2 years ago • 4 comments

User Story

  • As a platform engineer I would like to be able to experiment on infrastructure for the MITx Online service without disrupting testing that happens in RC/QA

Description/Context

We are limited from deploying a CI stage of the MITx Online application in Heroku because of changes that they made to their pipelines construct. Because we don't have a CI instance of the ecommerce/dashboard application we also can't have an instance of the Open edX service due to the coupling at the auth layer.

Plan/Design

To address these shortcomings, as well as make progress toward our eventual goal of deprecating Heroku we would like to deploy the CI instance of MITx Online on a different PaaS. Possible services that we have shortlisted include:

  • Render - https://render.com/
  • Fly.io - https://fly.io/

The list of options may have changed since our last exploration, so some additional research is merited. Previous documentation about the decision process is addressed in the RFC located here

Acceptance Criteria

  • [ ] A CI stage of MITx Online (both application and Open edX) are deployed and integrated together
  • [ ] The dashboard/ecommerce application is automatically built and deployed for each change to the main branch of mitodl/mitxonline
  • [ ] The dashboard/ecommerce application is running on a PaaS other than Heroku and which we feel confident migrating to
  • [ ] A decision document is written that details the selection process and reasoning for the PaaS service being used

blarghmatey avatar Jul 05 '23 16:07 blarghmatey

This is ready to start work on with the target being a deployment on our Kubernetes infrastructure. This will facilitate the migration of the entire MITx Online middleware application off of Heroku and integrated as part of the Lean service experience.

blarghmatey avatar Apr 01 '25 16:04 blarghmatey

Since this involves migrating both open edX and the MITx Online Heroku app, I'm wondering if it matters whether we do this before or after https://github.com/mitodl/hq/issues/6583

pdpinch avatar Apr 23 '25 02:04 pdpinch

There's no explicit dependency between this and mitodl/hq#6583. This work is in flight now and should be complete by the end of next week.

blarghmatey avatar Apr 23 '25 13:04 blarghmatey

@Ardiea I tried visiting https://ci.mitxonline.mit.edu today but I can't connect.

pdpinch avatar Apr 29 '25 23:04 pdpinch