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 mfe role
Browse files Browse the repository at this point in the history
Download the openedx-atlas executable for all Micro-frontends 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 0b0b81b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions playbooks/roles/mfe/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
- install
- install:system-requirements

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

- name: upgrade npm
command: "npm install -g npm@{{ MFE_NPM_VERSION }}"
become_user: "{{ MFE_USER }}"
Expand Down

0 comments on commit 0b0b81b

Please sign in to comment.