summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Gologuzov <vgologuz@redhat.com>2015-07-28 16:23:29 +0200
committerValentin Gologuzov <vgologuz@redhat.com>2015-07-28 16:23:40 +0200
commitfdda747ff8583fce518ecaf13c45387bd3126cf4 (patch)
tree56ef4e38ddf235c7ef2e40407406a25812a26316
parent865b7a737f899c9f0842f815ae8119bf8dbfb70b (diff)
downloadansible-fdda747ff8583fce518ecaf13c45387bd3126cf4.tar.gz
ansible-fdda747ff8583fce518ecaf13c45387bd3126cf4.tar.xz
ansible-fdda747ff8583fce518ecaf13c45387bd3126cf4.zip
[copr][backend] config variable `dist_git_url`
-rw-r--r--inventory/group_vars/copr1
-rw-r--r--inventory/group_vars/copr-stg1
-rw-r--r--roles/copr/backend/templates/copr-be.conf.j21
3 files changed, 3 insertions, 0 deletions
diff --git a/inventory/group_vars/copr b/inventory/group_vars/copr
index ded725c5b..b455225ec 100644
--- a/inventory/group_vars/copr
+++ b/inventory/group_vars/copr
@@ -13,3 +13,4 @@ backend_base_url: "https://copr-be.cloud.fedoraproject.org"
postfix_maincf: "postfix/main.cf/main.cf.copr"
frontend_base_url: "https://copr.fedoraproject.org"
+dist_git_base_url: "http//copr-dist-git.fedorainfracloud.org"
diff --git a/inventory/group_vars/copr-stg b/inventory/group_vars/copr-stg
index 179b59a6b..83aac30c2 100644
--- a/inventory/group_vars/copr-stg
+++ b/inventory/group_vars/copr-stg
@@ -14,3 +14,4 @@ backend_base_url: "http://copr-be-dev.cloud.fedoraproject.org"
postfix_maincf: "postfix/main.cf/main.cf.copr"
frontend_base_url: "http://copr-fe-dev.cloud.fedoraproject.org"
+dist_git_base_url: "http//copr-dist-git-dev.fedorainfracloud.org"
diff --git a/roles/copr/backend/templates/copr-be.conf.j2 b/roles/copr/backend/templates/copr-be.conf.j2
index 26ae3b007..164891437 100644
--- a/roles/copr/backend/templates/copr-be.conf.j2
+++ b/roles/copr/backend/templates/copr-be.conf.j2
@@ -83,6 +83,7 @@ keygen_host={{ keygen_host }}
# minimum age for builds to be pruned
prune_days=14
+dist_git_url={{ dist_git_base_url }}/cgit
[builder]
# default is 1800