diff --git a/playbooks/roles/edxapp/defaults/main.yml b/playbooks/roles/edxapp/defaults/main.yml index cc88627..de5dd5b 100644 --- a/playbooks/roles/edxapp/defaults/main.yml +++ b/playbooks/roles/edxapp/defaults/main.yml @@ -270,11 +270,11 @@ worker_core_mult: #To turn off theming, specify edxapp_theme_name: '' #Stanford, for example, uses edxapp_theme_name: 'stanford' edxapp_theme_name: '' -edxapp_theme_source_repo: 'https://git.edx.org/Stanford-Online/edx-theme.git' +edxapp_theme_source_repo: 'https://{{ GIT_MIRROR }}/Stanford-Online/edx-theme.git' edxapp_theme_version: 'HEAD' # make this the public URL instead of writable -edx_platform_repo: https://git.edx.org/edx/edx-platform.git +edx_platform_repo: "https://{{ GIT_MIRROR }}/edx/edx-platform.git" # `edx_platform_commit` can be anything that git recognizes as a commit # reference, including a tag, a branch name, or a commit hash edx_platform_commit: 'release' diff --git a/util/jenkins/ansible-deploy.sh b/util/jenkins/ansible-deploy.sh index d00bf13..feb7b8e 100644 --- a/util/jenkins/ansible-deploy.sh +++ b/util/jenkins/ansible-deploy.sh @@ -49,6 +49,7 @@ ease_version: $ease_version ansible_ssh_private_key_file: /var/lib/jenkins/${keypair}.pem PYPI_MIRROR_URL: 'https://pypi.edx.org/root/pypi/+simple/' +GIT_MIRROR: 'git.edx.org' EOF cat $extra_vars