Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
feat: install atlas in edx_django_service
Browse files Browse the repository at this point in the history
Download the openedx-atlas executable for all edx_django_service to be used in `make pull_translations`

This installs `atlas` on all Ansible build targets such as Native Installation and Devstack.

This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).
  • Loading branch information
OmarIthawi committed Aug 6, 2023
1 parent 70c147f commit 3d3e86d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions playbooks/roles/edx_django_service/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@
- install
- install:app-requirements

- name: install Open edX Atlas translation tool
get_url:
url: "https://github.com/openedx/openedx-atlas/releases/download/v0.1.1/atlas"
# Even though Atlas is a bash script, it is installed in the virtualenv to avoid adding another PATH entry.
dest: "{{ edx_django_service_venv_dir }}/bin/atlas"
become_user: "{{ edx_django_service_user }}"
tags:
- install
- install:app-requirements

- name: Check for existing make_migrate container
command: "docker ps -aq --filter name='{{ edx_django_service_name }}.make_migrate'"
register: edx_django_service_make_migrate_container
Expand Down

0 comments on commit 3d3e86d

Please sign in to comment.