-
Notifications
You must be signed in to change notification settings - Fork 27
build: use native Dockerfile for devstack #487
Conversation
467f8de
to
1cff475
Compare
1cff475
to
1bad472
Compare
1bad472
to
ca8cc71
Compare
As we are moving away from ansibles so we are going to use native Dockerfile for the registrar image to use in devstack.
ca8cc71
to
47b29f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
repository: edxops/registrar-dev | ||
tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} | ||
|
||
# - name: Build and push prod Docker image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment out, and not delete? Is the point here to no longer push the image to edxops/registrar? Then why leave the commented out section here in the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image currently created at openedx/registrar
is being used in the prod deployment, so we will stop pushing to that and in the meantime, we will merge this and test on devstack. If everything goes fine then we will enable that prod-related image.
ISSUE: openedx-unsupported/devstack#946
This PR is part of effort aimed at removing Ansible based configurations and replacing them with Dockerfile. Currently Devstack Docker images are built using Ansible based configurations in the configurations repository. Through this effort we will make sure that the Repo has its own Dockerfile which has all the necessary configurations to setup small production and dev environments.
Steps to run this Image with Devstack:
dev
i.e.docker build -t image-name-of-choice --target dev .
docker compose
file ofdevstack
and replace the existingregistrar
image with the one that you built without changing any other configurations there.make dev.up.registrar
in the terminal while in the devstack directory.Related PRs: