-
Notifications
You must be signed in to change notification settings - Fork 446
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
feat: add atlas pull with global settings | FC-0012 #964
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- 💥[Feature] Pull translations via `atlas` during Docker build. This breaks the `openedx-i18n` custom locale Tutor feature in favor of [OEP-58](https://docs.openedx.org/en/latest/developers/concepts/oep58.html) in favor of <https://github.com/openedx/openedx-translations>. (by @omarithawi) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
# This file includes all Tutor setting defaults. Settings that do not have a | ||
# default value, such as passwords, should be stored in base.yml. | ||
# This must be defined early | ||
ATLAS_REVISION: "{% if OPENEDX_COMMON_VERSION == 'master' %}main{% else %}{{ OPENEDX_COMMON_VERSION }}{% endif %}" | ||
ATLAS_REPOSITORY: "openedx/openedx-translations" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's how atlas works at the moment. There's an open issue to support non-GitHub repositories but that's not planned yet: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, that's a restriction that must be documented in the Tutor docs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @regisb where should we add the section for Atlas docs? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should go somewhere in this page: https://docs.tutor.edly.io/configuration.html |
||
ATLAS_OPTIONS: "" | ||
CADDY_HTTP_PORT: 80 | ||
CMS_HOST: "studio.{{ LMS_HOST }}" | ||
CMS_OAUTH2_KEY_SSO: "cms-sso" | ||
|
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.
Do you expect to maintain "open-release/xxx.master" branches and "open-release/xxx.y" tags? I see that the openedx-translations repo does not have an openedx.yaml file.
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.
Not really.
We don't have a plan for exactly that, but the intention is to keep a single
open-release/redwood.master
(orrelease/redwood
, depending on the BTR group naming convention) branch for example but notopen-release/xxx.y
tags because we need operators to stay up to date with the release translations.How do you recommend we proceed with this variable?
I'm a bit behind on that front. I've created an issue and asked Brian Smith to follow up:
openedx.yaml
file openedx/openedx-translations#3153