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

@jmbowman

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

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