dist-git: the new upstream dist-git package is now in EPEL7

This commit is contained in:
clime 2017-05-02 17:38:43 +02:00
parent 4f10cb437e
commit 17c52a6e59
3 changed files with 13 additions and 25 deletions

View file

@ -1,10 +0,0 @@
[clime-dist-git]
name=Copr repo for dist-git owned by clime
baseurl=https://copr-be.cloud.fedoraproject.org/results/clime/dist-git/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/clime/dist-git/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

View file

@ -0,0 +1,7 @@
[dist-git]
git_author_name = Fedora Release Engineering
git_author_email = rel-eng@lists.fedoraproject.org
cache_dir = /srv/cache
gitroot_dir = /srv/git/repositories
gitolite = True

View file

@ -66,21 +66,21 @@
# -- Dist Git --------------------------------------------
# This is the Git setup itself: group, root directory, scripts,...
- name: install the Dist Git-related httpd config
copy: src=clime-dist-git-epel-7.repo dest=/etc/yum.repos.d/clime-dist-git-epel-7.repo
- name: install dist-git
yum: pkg=dist-git state=latest
when: env == "staging" and inventory_hostname.startswith('pkgs02')
tags:
- distgit
- name: install dist-git
yum: pkg=dist-git state=present
- name: install the dist-git config
copy: src=dist-git.conf dest=/etc/dist-git/dist-git.conf
when: env == "staging" and inventory_hostname.startswith('pkgs02')
tags:
- config
- distgit
- name: create the distgit root directory (/srv/git)
file: dest=/srv/git state=directory mode=0755
when: env != "staging" or inventory_hostname.startswith('pkgs01')
tags:
- distgit
@ -104,7 +104,6 @@
- name: create the distgit root directory (/srv/git/repositories)
file: dest=/srv/git/repositories state=directory mode=2775 group=packager
when: env != "staging" or inventory_hostname.startswith('pkgs01')
tags:
- distgit
@ -123,21 +122,13 @@
tags:
- distgit
- name: install the distgit scripts
copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
with_items:
- pkgdb2-clone
tags:
- config
- distgit
- name: install the distgit scripts
copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
with_items:
- setup_git_package
- mkbranch
- mkbranch_branching
when: env != "staging" or inventory_hostname.startswith('pkgs01')
- pkgdb2-clone
tags:
- config
- distgit