dist-git: the new upstream dist-git package is now in EPEL7
This commit is contained in:
parent
4f10cb437e
commit
17c52a6e59
3 changed files with 13 additions and 25 deletions
|
@ -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
|
|
7
roles/distgit/files/dist-git.conf
Normal file
7
roles/distgit/files/dist-git.conf
Normal 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
|
|
@ -66,21 +66,21 @@
|
||||||
|
|
||||||
# -- Dist Git --------------------------------------------
|
# -- Dist Git --------------------------------------------
|
||||||
# This is the Git setup itself: group, root directory, scripts,...
|
# This is the Git setup itself: group, root directory, scripts,...
|
||||||
- name: install the Dist Git-related httpd config
|
- name: install dist-git
|
||||||
copy: src=clime-dist-git-epel-7.repo dest=/etc/yum.repos.d/clime-dist-git-epel-7.repo
|
yum: pkg=dist-git state=latest
|
||||||
when: env == "staging" and inventory_hostname.startswith('pkgs02')
|
when: env == "staging" and inventory_hostname.startswith('pkgs02')
|
||||||
tags:
|
tags:
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
- name: install dist-git
|
- name: install the dist-git config
|
||||||
yum: pkg=dist-git state=present
|
copy: src=dist-git.conf dest=/etc/dist-git/dist-git.conf
|
||||||
when: env == "staging" and inventory_hostname.startswith('pkgs02')
|
when: env == "staging" and inventory_hostname.startswith('pkgs02')
|
||||||
tags:
|
tags:
|
||||||
|
- config
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
- name: create the distgit root directory (/srv/git)
|
- name: create the distgit root directory (/srv/git)
|
||||||
file: dest=/srv/git state=directory mode=0755
|
file: dest=/srv/git state=directory mode=0755
|
||||||
when: env != "staging" or inventory_hostname.startswith('pkgs01')
|
|
||||||
tags:
|
tags:
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
|
@ -104,7 +104,6 @@
|
||||||
|
|
||||||
- name: create the distgit root directory (/srv/git/repositories)
|
- name: create the distgit root directory (/srv/git/repositories)
|
||||||
file: dest=/srv/git/repositories state=directory mode=2775 group=packager
|
file: dest=/srv/git/repositories state=directory mode=2775 group=packager
|
||||||
when: env != "staging" or inventory_hostname.startswith('pkgs01')
|
|
||||||
tags:
|
tags:
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
|
@ -123,21 +122,13 @@
|
||||||
tags:
|
tags:
|
||||||
- distgit
|
- 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
|
- name: install the distgit scripts
|
||||||
copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
|
copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
|
||||||
with_items:
|
with_items:
|
||||||
- setup_git_package
|
- setup_git_package
|
||||||
- mkbranch
|
- mkbranch
|
||||||
- mkbranch_branching
|
- mkbranch_branching
|
||||||
when: env != "staging" or inventory_hostname.startswith('pkgs01')
|
- pkgdb2-clone
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- distgit
|
- distgit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue