1717 exit 1
1818fi
1919
20- if [ -n " ${OPENEDX_RELEASE} " ]; then
21- OPENEDX_GIT_BRANCH=open-release/${OPENEDX_RELEASE}
22- else
23- OPENEDX_GIT_BRANCH=master
24- fi
25-
2620# When you add new services should add them to both repos and ssh_repos
21+ # (or non_release_repos and non_release_ssh_repos if they are not part
22+ # of Open edX releases).
2723repos=(
2824 " https://github.com/edx/course-discovery.git"
2925 " https://github.com/edx/credentials.git"
@@ -34,12 +30,15 @@ repos=(
3430 " https://github.com/edx/edx-platform.git"
3531 " https://github.com/edx/xqueue.git"
3632 " https://github.com/edx/edx-analytics-pipeline.git"
37- " https://github.com/edx/registrar.git"
3833 " https://github.com/edx/frontend-app-gradebook.git"
39- " https://github.com/edx/frontend-app-program-console.git"
4034 " https://github.com/edx/frontend-app-publisher.git"
4135)
4236
37+ non_release_repos=(
38+ " https://github.com/edx/registrar.git"
39+ " https://github.com/edx/frontend-app-program-console.git"
40+ )
41+
4342ssh_repos=(
4443 " git@github.com:edx/course-discovery.git"
4544 " git@github.com:edx/credentials.git"
@@ -50,17 +49,28 @@ ssh_repos=(
5049 " git@github.com:edx/edx-platform.git"
5150 " git@github.com:edx/xqueue.git"
5251 " git@github.com:edx/edx-analytics-pipeline.git"
53- " git@github.com:edx/registrar.git"
5452 " git@github.com:edx/frontend-app-gradebook.git"
55- " git@github.com:edx/frontend-app-program-console.git"
5653 " git@github.com:edx/frontend-app-publisher.git"
5754)
5855
56+ non_release_ssh_repos=(
57+ " git@github.com:edx/registrar.git"
58+ " git@github.com:edx/frontend-app-program-console.git"
59+ )
60+
5961private_repos=(
6062 # Needed to run whitelabel tests.
6163 " https://github.com/edx/edx-themes.git"
6264)
6365
66+ if [ -n " ${OPENEDX_RELEASE} " ]; then
67+ OPENEDX_GIT_BRANCH=open-release/${OPENEDX_RELEASE}
68+ else
69+ OPENEDX_GIT_BRANCH=master
70+ repos+=(" ${non_release_repos[@]} " )
71+ ssh_repos+=(" ${non_release_ssh_repos[@]} " )
72+ fi
73+
6474name_pattern=" .*/(.*).git"
6575
6676_checkout ()
0 commit comments