File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
roles/domjudge_checkout/tasks Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ PHP_MAX_FILE_UPLOADS: 101
38
38
# Git repo URL
39
39
DJ_GIT_HOST : " {{MAIN_ADMIN_IP}}"
40
40
DJ_GIT_REPO : " domjudge@{{DJ_GIT_HOST}}:domjudge"
41
+ DJ_GIT_REPO_UPSTREAM : " https://github.com/domjudge/domjudge.git"
41
42
DJ_GIT_REPO_SCRIPTS : " domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare"
42
43
43
44
PHPSTORM_VERSION : 2021.2
Original file line number Diff line number Diff line change 13
13
become_user : domjudge
14
14
git : repo={{DJ_GIT_REPO}} dest={{DJ_DIR}} version={{DJ_BRANCH}} accept_hostkey=yes update=yes
15
15
register : git_working_copy
16
+ when : WF_RESTRICTED_NETWORK
17
+
18
+ - name : create working copy of the domjudge repo
19
+ become : yes
20
+ become_user : domjudge
21
+ git : repo={{DJ_GIT_REPO_UPSTREAM}} dest={{DJ_DIR}} version={{DJ_BRANCH}} accept_hostkey=yes update=yes
22
+ register : git_working_copy
23
+ when : WF_RESTRICTED_NETWORK != true
16
24
17
25
- name : Check composer dependencies present
18
26
become : no
You can’t perform that action at this time.
0 commit comments