Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert ansible to dockerfile #863

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Convert ansible to dockerfile #863

merged 2 commits into from
Apr 28, 2023

Conversation

mumarkhan999
Copy link
Member

@mumarkhan999 mumarkhan999 commented Sep 9, 2022

Related devstack PR: openedx-unsupported/devstack#1006

ISSUE: #861
This PR is part of an 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 set up small production and dev environments.

Steps to run this Image with Devstack:

  • Build the Image locally first using the target dev i.e. docker build -t image-name-of-choice --target dev .
  • After the image is built successfully go to the docker compose file of devstack and replace the existing xqueue image with the one that you built without changing any other configurations there.
  • Run make dev.up.xqueue in the terminal while in the devstack directory.
  • Additional Note: If you face any auth related errors or 500 while accessing xqueue, then also run provisioning for xqueue

@codecov
Copy link

codecov bot commented Sep 9, 2022

Codecov Report

Patch and project coverage have no change.

Comparison is base (b8ef63b) 84.82% compared to head (265e314) 84.82%.

❗ Current head 265e314 differs from pull request most recent head 5afe52b. Consider uploading reports for the commit 5afe52b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #863   +/-   ##
=======================================
  Coverage   84.82%   84.82%           
=======================================
  Files          14       14           
  Lines         659      659           
=======================================
  Hits          559      559           
  Misses        100      100           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@iamsobanjaved iamsobanjaved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments and suggestions

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@iamsobanjaved iamsobanjaved removed their request for review April 11, 2023 20:55
Copy link
Contributor

@leangseu-edx leangseu-edx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@iamsobanjaved iamsobanjaved merged commit 06bbcb4 into master Apr 28, 2023
@iamsobanjaved iamsobanjaved deleted the umar/ansible-to-docker branch April 28, 2023 18:37
iamsobanjaved added a commit that referenced this pull request May 2, 2023
* feat: Convert ansible to dockerfile

* feat: add workflow to publish docker images

---------

Co-authored-by: Soban Javed <iamsobanjaved@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to Ansible free Docker Image
4 participants