Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Switch to Ansible-free Docker images #943

Closed

Description

@jmbowman

In order to advance implementation of both OEP-45: Configuring and Operating Open edX and deprecation of the configuration repository, we would like to switch devstack from using primarily Docker images built with Ansible code from the configuration repository to images built from Dockerfiles in each service's repository. We hope this will also help simplify Tutor by providing better base images to derive from, with fewer workarounds and duplicated code blocks required in Tutor.

Please create sub-tasks in separate issues as appropriate, in this repository and/or each service needing changes to its Dockerfile or image upload process. Services should be switched one at a time so the work can be done and tested incrementally. The process should look something like the following for each service:

  • Ensure that the repo's Dockerfile can create a base image which is appropriate for small production installations
  • Ensure that the repo's Dockerfile also defines an additional image derived from the base which adds dependencies and configuration changes needed for development environments
  • Check with the Tutor developers during code review to see if any further changes to the Dockerfile would help simplify Tutor
  • Automate uploads of both images when code changes are merged
  • Switch devstack to use the new Ansible-free development image, and do some basic testing to ensure it works before merging

Once all of the services are switched over, the existing Jenkins-based automation for uploading Ansible-based development images can be retired. This will involve deactivation and then deletion of Jenkins jobs, followed by removal of associated code in the configuration and other repositories.

Subtasks

Activity

  1. moved this to Todo in Arbi-BOMon Jun 21, 2022
  2. kdmccormick commented on Jun 22, 2022

    @kdmccormick
    Contributor

    @jmbowman I had started this work a few months ago, but abandoned it in order to focus on Tutor. You can see some of my progress and findings here: #869 . In particular, you might find useful this PR, in which I was going to introduce Devstack toggles for Ansible vs Ansible-free images: #866

  3. moved this from Todo to In Progress in Arbi-BOMon Jul 26, 2022
  4. jmbowman commented on Feb 1, 2023

    @jmbowman
    ContributorAuthor

    There should also be sub-tasks for LMS, Studio, and the IDA cookiecutter (to make sure new services start off with a reasonable Dockerfile template).

  5. moved this from 2022 Q4 to 2023 Q1 in Platform-Core Roadmapon Feb 6, 2023
  6. moved this from In Progress to Approved in Arbi-BOMon May 10, 2023
  7. moved this from Approved to Done in Arbi-BOMon May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions