Skip to content

Commit 89a57ec

Browse files
committed
Use a variable for the contest repo at the CDS
1 parent 942ad54 commit 89a57ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

provision-contest/ansible/admin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
# We use a different directory here to have one single 'upstream' and not have issues with it
7979
git: repo={{ dj_git_repo_scripts }} dest=/home/domjudge/domjudge-scripts-checkout version=main accept_hostkey=yes update=no
8080

81-
- name: Create working copy of the wf2021 repo
81+
- name: Create working copy of the contest repo
8282
become: true
8383
become_user: domjudge
84-
git: repo=git@cds:wf2021 dest=/home/domjudge/wf2021 version=master accept_hostkey=yes update=no
84+
git: repo=git@cds:{{ CONTEST_REPO }} dest=/home/domjudge/{{ CONTEST_REPO }} version=master accept_hostkey=yes update=no
8585

8686
- name: Copy custom CSS file for admin machines
8787
copy:

provision-contest/ansible/group_vars/all/all.yml.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ DJ_GIT_REPO: "https://github.com/domjudge/domjudge.git"
6767
DJ_GIT_REPO_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge"
6868
DJ_GIT_REPO_SCRIPTS: "https://github.com/domjudge/domjudge-scripts.git"
6969
DJ_GIT_REPO_SCRIPTS_RESTRICTED: "domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare"
70+
CONTEST_REPO: "wf2021"
7071

7172
PHPSTORM_VERSION: 2022.2
7273
PHPSTORM_FULL_VERSION: 222.4345.15

0 commit comments

Comments
 (0)