Merge "Use cgit server instead of github for everything"

This commit is contained in:
Jenkins 2013-08-23 17:01:32 +00:00 committed by Gerrit Code Review
commit d78e4e6acc
38 changed files with 75 additions and 64 deletions

View File

@ -21,9 +21,10 @@
from docutils import nodes from docutils import nodes
def file_role(name, rawtext, text, lineno, inliner, def file_role(name, rawtext, text, lineno, inliner,
options={}, content=[]): options={}, content=[]):
"""Link a local path to a Github file view. """Link a local path to a cgit file view.
Returns 2 part tuple containing list of nodes to insert into the Returns 2 part tuple containing list of nodes to insert into the
document and a list of system messages. Both are allowed to be document and a list of system messages. Both are allowed to be
@ -38,7 +39,8 @@ def file_role(name, rawtext, text, lineno, inliner,
:param content: The directive content for customization. :param content: The directive content for customization.
""" """
ref = 'https://github.com/openstack-infra/config/blob/master/%s' % text ref = ('https://git.openstack.org/cgit/openstack-infra/config/tree/%s'
% text)
node = nodes.reference(rawtext, text, refuri=ref, **options) node = nodes.reference(rawtext, text, refuri=ref, **options)
return [node], [] return [node], []

View File

@ -19,11 +19,11 @@ At a Glance
* :file:`modules/openstack_project/manifests/template.pp` * :file:`modules/openstack_project/manifests/template.pp`
* :file:`modules/openstack_project/manifests/devstack_launch_slave.pp` * :file:`modules/openstack_project/manifests/devstack_launch_slave.pp`
:Projects: :Projects:
* http://github.com/openstack-infra/devstack-gate * https://git.openstack.org/openstack-infra/devstack-gate
:Bugs: :Bugs:
* http://bugs.launchpad.net/openstack-ci * http://bugs.launchpad.net/openstack-ci
:Resources: :Resources:
* `Devstack-gate README <https://github.com/openstack-infra/devstack-gate/blob/master/README.md>`_ * `Devstack-gate README <https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/README.rst>`_
Overview Overview
======== ========

View File

@ -368,7 +368,7 @@ To rename a project:
Developers will either need to re-clone a new copy of the repository, Developers will either need to re-clone a new copy of the repository,
or manually update their remotes with something like:: or manually update their remotes with something like::
git remote set-url origin https://github.com/$ORG/$PROJECT.git git remote set-url origin https://git.openstack.org/$ORG/$PROJECT
Deleting a User from Gerrit Deleting a User from Gerrit
--------------------------- ---------------------------

View File

@ -11,7 +11,7 @@ At a Glance
=========== ===========
:Hosts: :Hosts:
* http://git.openstack.org * https://git.openstack.org
:Puppet: :Puppet:
* :file:`modules/cgit` * :file:`modules/cgit`
* :file:`modules/openstack_project/manifests/git.pp` * :file:`modules/openstack_project/manifests/git.pp`

View File

@ -26,9 +26,9 @@ At a Glance
:Projects: :Projects:
* http://wiki.debian.org/MeetBot * http://wiki.debian.org/MeetBot
* http://sourceforge.net/projects/supybot/ * http://sourceforge.net/projects/supybot/
* https://github.com/openstack-infra/meetbot * https://git.openstack.org/cgit/openstack-infra/meetbot
* https://github.com/openstack-infra/gerritbot * https://git.openstack.org/cgit/openstack-infra/gerritbot
* https://github.com/openstack-infra/statusbot * https://git.openstack.org/cgit/openstack-infra/statusbot
:Bugs: :Bugs:
* http://bugs.launchpad.net/openstack-ci * http://bugs.launchpad.net/openstack-ci
@ -63,7 +63,7 @@ Meetbot
------- -------
The OpenStack Infrastructure Meetbot fork can be found at The OpenStack Infrastructure Meetbot fork can be found at
https://github.com/openstack-infra/meetbot. Manual installation of the Meetbot https://git.openstack.org/cgit/openstack-infra/meetbot. Manual installation of the Meetbot
plugin is straightforward and documented in that repository's README. plugin is straightforward and documented in that repository's README.
OpenStack Infrastructure installs and configures Meetbot through Puppet. OpenStack Infrastructure installs and configures Meetbot through Puppet.

View File

@ -23,7 +23,7 @@ At a Glance
* :file:`modules/openstack_project/templates/review.projects.yaml.erb` * :file:`modules/openstack_project/templates/review.projects.yaml.erb`
* :file:`modules/openstack_project/files/pypi-mirror.yaml` * :file:`modules/openstack_project/files/pypi-mirror.yaml`
:Projects: :Projects:
* http://github.com/openstack-infra/jeepyb * https://git.openstack.org/cgit/openstack-infra/jeepyb
:Bugs: :Bugs:
* http://bugs.launchpad.net/openstack-ci * http://bugs.launchpad.net/openstack-ci

View File

@ -83,9 +83,9 @@ Devstack Gate
OpenStack integration testing is performed by the devstack gate test OpenStack integration testing is performed by the devstack gate test
framework. This framework runs the devstack exercises and Tempest framework. This framework runs the devstack exercises and Tempest
smoketests against a devstack install on single use cloud servers. The smoketests against a devstack install on single use cloud servers. The
devstack gate source can be found on `Github devstack gate source can be found on `git.openstack.org
<https://github.com/openstack-infra/devstack-gate>`_ and the `Readme <https://git.openstack.org/cgit/openstack-infra/devstack-gate>`_ and the `Readme
<https://github.com/openstack-infra/devstack-gate/blob/master/README.rst>`_ <https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/README.rst>`_
describes the process of using devstack gate to run your own devstack describes the process of using devstack gate to run your own devstack
based tests. based tests.

View File

@ -19,7 +19,7 @@ At a Glance
:Configuration: :Configuration:
* :file:`modules/openstack_project/files/jenkins_job_builder/config/` * :file:`modules/openstack_project/files/jenkins_job_builder/config/`
:Projects: :Projects:
* http://github.com/openstack-infra/jenkins-job-builder * https://git.openstack.org/cgit/openstack-infra/jenkins-job-builder
:Bugs: :Bugs:
* http://bugs.launchpad.net/openstack-ci * http://bugs.launchpad.net/openstack-ci
:Resources: :Resources:
@ -70,8 +70,8 @@ Example defaults config:
<p>If you would like to make changes to this job, please see: <p>If you would like to make changes to this job, please see:
<a href="https://github.com/openstack-infra/config"> <a href="https://git.openstack.org/cgit/openstack-infra/config">
https://github.com/openstack-infra/config https://git.openstack.org/cgit/openstack-infra/config
</a> </a>
In modules/openstack_project/files/jenkins_jobs In modules/openstack_project/files/jenkins_jobs

View File

@ -19,7 +19,7 @@ At a Glance
* :file:`modules/lodgeit` * :file:`modules/lodgeit`
* :file:`modules/openstack_project/manifests/paste.pp` * :file:`modules/openstack_project/manifests/paste.pp`
:Projects: :Projects:
* http://github.com/openstack-infra/lodgeit * https://git.openstack.org/cgit/openstack-infra/lodgeit
* https://bitbucket.org/dcolish/lodgeit-main * https://bitbucket.org/dcolish/lodgeit-main
* http://www.pocoo.org/projects/lodgeit/ * http://www.pocoo.org/projects/lodgeit/
:Bugs: :Bugs:
@ -29,7 +29,7 @@ Overview
======== ========
For OpenStack we use `a fork For OpenStack we use `a fork
<https://github.com/openstack-infra/lodgeit>`_ of lodgeit which is <https://git.openstack.org/cgit/openstack-infra/lodgeit>`_ of lodgeit which is
based on one with bugfixes maintained by `dcolish based on one with bugfixes maintained by `dcolish
<https://bitbucket.org/dcolish/lodgeit-main>`_ but adds back missing <https://bitbucket.org/dcolish/lodgeit-main>`_ but adds back missing
anti-spam features required by Openstack. anti-spam features required by Openstack.

View File

@ -18,9 +18,9 @@ At a Glance
* :file:`modules/planet` * :file:`modules/planet`
* :file:`modules/openstack_project/manifests/planet.pp` * :file:`modules/openstack_project/manifests/planet.pp`
:Configuration: :Configuration:
* https://github.com/openstack/openstack-planet/blob/master/planet.ini * https://git.openstack.org/cgit/openstack/openstack-planet/tree/planet.ini
:Projects: :Projects:
* https://github.com/openstack/openstack-planet * https://git.openstack.org/cgit/openstack/openstack-planet
* http://www.intertwingly.net/code/venus/ * http://www.intertwingly.net/code/venus/
:Bugs: :Bugs:
* http://bugs.launchpad.net/openstack-ci * http://bugs.launchpad.net/openstack-ci

View File

@ -43,7 +43,7 @@ over the preferences file:
.. code-block:: bash .. code-block:: bash
git clone git://github.com/openstack-infra/config.git /opt/config/production git clone https://git.openstack.org/openstack-infra/config /opt/config/production
cp /opt/config/production/modules/openstack_project/files/00-puppet.pref /etc/apt/preferences.d/ cp /opt/config/production/modules/openstack_project/files/00-puppet.pref /etc/apt/preferences.d/
Then we can add the repo and install the packages, we'll also install the hiera Then we can add the repo and install the packages, we'll also install the hiera

View File

@ -47,7 +47,7 @@ Create a new StackForge Project with Puppet
OpenStack uses Puppet and a management script to create Gerrit projects OpenStack uses Puppet and a management script to create Gerrit projects
with simple changes to the openstack-infra/config repository. To start make with simple changes to the openstack-infra/config repository. To start make
sure you have cloned the openstack-infra/config repository sure you have cloned the openstack-infra/config repository
``git clone https://github.com/openstack-infra/config``. ``git clone https://git.openstack.org/openstack-infra/config``.
First you need to add your StackForge project to the master project First you need to add your StackForge project to the master project
list. Edit list. Edit
@ -243,7 +243,7 @@ new file will allow you to use ``git review``.
The basic process is clone from stackforge, add file, push to Gerrit, The basic process is clone from stackforge, add file, push to Gerrit,
review and approve.:: review and approve.::
git clone https://github.com/stackforge/project-name git clone https://git.openstack.org/stackforge/project-name
cd project-name cd project-name
git checkout -b add-gitreview git checkout -b add-gitreview
cat > .gitreview <<EOF cat > .gitreview <<EOF

View File

@ -14,7 +14,7 @@ collaborate on code reviews.
The configuration of every system operated by the infrastructure team The configuration of every system operated by the infrastructure team
is managed by Puppet in a single Git repository: is managed by Puppet in a single Git repository:
https://github.com/openstack-infra/config https://git.openstack.org/cgit/openstack-infra/config
All system configuration should be encoded in that repository so that All system configuration should be encoded in that repository so that
anyone may propose a change in the running configuration to Gerrit. anyone may propose a change in the running configuration to Gerrit.
@ -65,7 +65,7 @@ repo::
sudo su - sudo su -
apt-get install git apt-get install git
git clone https://github.com/openstack-infra/config git clone https://git.openstack.org/openstack-infra/config
cd config cd config
Then copy the etherpad node definition from manifests/site.pp to a new Then copy the etherpad node definition from manifests/site.pp to a new

View File

@ -23,7 +23,7 @@ At a Glance
* :file:`modules/openstack_project/files/zuul/layout.yaml` * :file:`modules/openstack_project/files/zuul/layout.yaml`
:Projects: :Projects:
* http://launchpad.net/zuul * http://launchpad.net/zuul
* http://github.com/openstack-infra/zuul * https://git.openstack.org/cgit/openstack-infra/zuul
:Bugs: :Bugs:
* http://bugs.launchpad.net/zuul * http://bugs.launchpad.net/zuul
:Resources: :Resources:

View File

@ -45,7 +45,7 @@ else #defaults to Ubuntu
fi fi
git clone https://github.com/openstack-infra/config git clone https://git.openstack.org/openstack-infra/config
bash config/install_modules.sh bash config/install_modules.sh
puppet apply --modulepath=`pwd`/config/modules:/etc/puppet/modules -e 'node default {class { "openstack_project::bare_slave": install_users => false }}' puppet apply --modulepath=`pwd`/config/modules:/etc/puppet/modules -e 'node default {class { "openstack_project::bare_slave": install_users => false }}'

View File

@ -1,5 +1,5 @@
# This file is managed by puppet. # This file is managed by puppet.
# https://github.com/openstack-infra/config # https://git.openstack.org/cgit/openstack-infra/config
[gerrit] [gerrit]
basePath = git basePath = git

View File

@ -1,5 +1,5 @@
# This file is managed by puppet. # This file is managed by puppet.
# https://github.com/openstack-infra/config # https://git.openstack.org/cgit/openstack-infra/config
<% replication.each do |replication| -%> <% replication.each do |replication| -%>
[remote "<%= replication['name'] %>"] [remote "<%= replication['name'] %>"]

View File

@ -1,7 +1,7 @@
# == Class: jeepyb # == Class: jeepyb
# #
class jeepyb ( class jeepyb (
$git_source_repo = 'https://github.com/openstack-infra/jeepyb.git', $git_source_repo = 'https://git.openstack.org/openstack-infra/jeepyb',
) { ) {
include mysql::python include mysql::python

View File

@ -24,7 +24,7 @@ class jenkins::job_builder (
ensure => latest, ensure => latest,
provider => git, provider => git,
revision => 'master', revision => 'master',
source => 'https://github.com/openstack-infra/jenkins-job-builder.git', source => 'https://git.openstack.org/openstack-infra/jenkins-job-builder',
} }
exec { 'install_jenkins_job_builder': exec { 'install_jenkins_job_builder':

View File

@ -48,7 +48,7 @@ class lodgeit {
vcsrepo { '/tmp/lodgeit-main': vcsrepo { '/tmp/lodgeit-main':
ensure => latest, ensure => latest,
provider => git, provider => git,
source => 'https://github.com/openstack-infra/lodgeit.git', source => 'https://git.openstack.org/openstack-infra/lodgeit',
} }
# create initial git DB backup location # create initial git DB backup location

View File

@ -4,7 +4,7 @@ class meetbot {
vcsrepo { '/opt/meetbot': vcsrepo { '/opt/meetbot':
ensure => latest, ensure => latest,
provider => git, provider => git,
source => 'https://github.com/openstack-infra/meetbot.git', source => 'https://git.openstack.org/openstack-infra/meetbot',
} }
user { 'meetbot': user { 'meetbot':

View File

@ -1,15 +1,15 @@
# This file is managed by puppet. # This file is managed by puppet.
# https://github.com/openstack-infra/config # https://git.openstack.org/cgit/openstack-infra/config
cache-root: /home/jenkins/pypimirror/cache cache-root: /home/jenkins/pypimirror/cache
mirrors: mirrors:
- name: openstack - name: openstack
projects: projects:
- https://github.com/openstack/requirements - git://git.openstack.org/openstack/requirements
output: /home/jenkins/pypimirror/mirror/openstack output: /home/jenkins/pypimirror/mirror/openstack
- name: openstack-infra - name: openstack-infra
projects: projects:
- https://github.com/openstack-infra/config - git://git.openstack.org/openstack-infra/config
output: /home/jenkins/pypimirror/mirror/openstack-infra output: /home/jenkins/pypimirror/mirror/openstack-infra

View File

@ -7,8 +7,8 @@
<p>If you would like to make changes to this job, please see: <p>If you would like to make changes to this job, please see:
<a href="https://github.com/openstack-infra/config"> <a href="https://git.openstack.org/cgit/openstack-infra/config">
https://github.com/openstack-infra/config https://git.openstack.org/cgit/openstack-infra/config
</a> </a>
In modules/openstack_project/files/jenkins_job_builder/config In modules/openstack_project/files/jenkins_job_builder/config

View File

@ -353,11 +353,11 @@
- console-log - console-log
# in zuul/layout.yaml specified to only run against master branch. # in zuul/layout.yaml specified to only run against master branch.
# The old jenkins config polled github every 5 minutes and was also triggered # The old jenkins config polled git every 5 minutes and was also triggered
# whenever a SNAPSHOT dependency was built. I have not configured that trigger # whenever a SNAPSHOT dependency was built. I have not configured that trigger
# here as being in the Zuul post queue may not play nice with that. # here as being in the Zuul post queue may not play nice with that.
# #
# We can use the github and snapshot dependency triggers if that is preferable. # We can use the git and snapshot dependency triggers if that is preferable.
- job: - job:
name: openstack-ha-guide name: openstack-ha-guide
project-type: maven project-type: maven

View File

@ -26,7 +26,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/{github-org}/{name}.git' url: 'git://git.openstack.org/{github-org}/{name}'
branches: branches:
- 'origin/{branch}' - 'origin/{branch}'
@ -61,7 +61,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/{github-org}/{name}.git' url: 'git://git.openstack.org/{github-org}/{name}'
branches: branches:
- 'origin/{branch}' - 'origin/{branch}'
@ -89,7 +89,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/{github-org}/{name}.git' url: 'git://git.openstack.org/{github-org}/{name}'
branches: branches:
- 'origin/{branch}' - 'origin/{branch}'

View File

@ -27,7 +27,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/{github-org}/{name}.git' url: 'git://git.openstack.org/{github-org}/{name}'
branches: branches:
- 'origin/master' - 'origin/master'
@ -62,7 +62,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/openstack/openstack-manuals.git' url: 'git://git.openstack.org/openstack/openstack-manuals'
branches: branches:
- 'origin/master' - 'origin/master'

View File

@ -52,7 +52,7 @@
scm: scm:
- git: - git:
url: 'git://github.com/openstack-infra/zuul.git' url: 'git://git.openstack.org/openstack-infra/zuul'
branches: branches:
- 'origin/master' - 'origin/master'

View File

@ -44,7 +44,12 @@
</p> </p>
<h2>About this Help</h2> <h2>About this Help</h2>
<p> <p>
This help file is part of the openstack-infra/config project, and This help file is part of the
can be updated by pushing a review request to <a href="https://git.openstack.org/cgit/openstack-infra/config">
<a href="https://github.com/openstack-infra/config/tree/master/modules/openstack_project/files/logs/help">https://github.com/openstack-infra/config/tree/master/modules/openstack_project/files/logs/help</a> openstack-infra/config</a>
project, and can be found at
<a href="https://git.openstack.org/cgit/openstack-infra/config/tree/modules/openstack_project/files/logs/help/tempest_logs.html">
modules/openstack_project/files/logs/help/tempest_logs.html
</a>.
The file can be updated via the standard OpenStack Gerrit Review process.
</p> </p>

View File

@ -45,7 +45,12 @@ job. The basic flow of the file goes as follows:
</p> </p>
<h2>About this Help</h2> <h2>About this Help</h2>
<p> <p>
This help file is part of the <a href="https://github.com/openstack-infra/config">openstack-infra/config</a> project, and This help file is part of the
can be updated by pushing a review request to <a href="https://git.openstack.org/cgit/openstack-infra/config">
<a href="https://github.com/openstack-infra/config/tree/master/modules/openstack_project/files/logs/help">https://github.com/openstack-infra/config/tree/master/modules/openstack_project/files/logs/help</a> openstack-infra/config</a>
project, and can be found at
<a href="https://git.openstack.org/cgit/openstack-infra/config/tree/modules/openstack_project/files/logs/help/tempest_overview.html">
modules/openstack_project/files/logs/help/tempest_overview.html
</a>.
The file can be updated via the standard OpenStack Gerrit Review process.
</p> </p>

View File

@ -19,7 +19,7 @@
HOSTNAME=$1 HOSTNAME=$1
sudo hostname $1 sudo hostname $1
wget https://raw.github.com/openstack-infra/config/master/install_puppet.sh wget https://git.openstack.org/cgit/openstack-infra/config/plain/install_puppet.sh
sudo bash -xe install_puppet.sh sudo bash -xe install_puppet.sh
sudo git clone https://review.openstack.org/p/openstack-infra/config.git \ sudo git clone https://review.openstack.org/p/openstack-infra/config.git \
/root/config /root/config

View File

@ -1,15 +1,15 @@
# This file is managed by puppet. # This file is managed by puppet.
# https://github.com/openstack-infra/config # https://git.openstack.org/cgit/openstack-infra/config
cache-root: /var/cache/pypimirror cache-root: /var/cache/pypimirror
mirrors: mirrors:
- name: openstack - name: openstack
projects: projects:
- https://github.com/openstack/requirements - git://git.openstack.org/openstack/requirements
output: /var/lib/pypimirror/openstack output: /var/lib/pypimirror/openstack
- name: openstack-infra - name: openstack-infra
projects: projects:
- https://github.com/openstack-infra/config - git://git.openstack.org/openstack-infra/config
output: /var/lib/pypimirror/openstack-infra output: /var/lib/pypimirror/openstack-infra

View File

@ -10,6 +10,6 @@ class openstack_project::planet (
include ::planet include ::planet
planet::site { 'openstack': planet::site { 'openstack':
git_url => 'https://github.com/openstack/openstack-planet.git', git_url => 'git://git.openstack.org/openstack/openstack-planet',
} }
} }

View File

@ -291,7 +291,7 @@ class openstack_project::static (
include reviewday include reviewday
reviewday::site { 'reviewday': reviewday::site { 'reviewday':
git_url => 'https://github.com/openstack-infra/reviewday.git', git_url => 'git://git.openstack.org/openstack-infra/reviewday',
serveradmin => 'webmaster@openstack.org', serveradmin => 'webmaster@openstack.org',
httproot => '/srv/static/reviewday', httproot => '/srv/static/reviewday',
gerrit_url => 'review.openstack.org', gerrit_url => 'review.openstack.org',

View File

@ -42,7 +42,6 @@
- project: openstack-infra/nose-html-output - project: openstack-infra/nose-html-output
- project: openstack-infra/publications - project: openstack-infra/publications
description: "OpenStack Infra Team conference presentations and papers" description: "OpenStack Infra Team conference presentations and papers"
upstream: git://github.com/openstack-ci/publications.git
- project: openstack-infra/puppet-apparmor - project: openstack-infra/puppet-apparmor
- project: openstack-infra/puppet-dashboard - project: openstack-infra/puppet-dashboard
- project: openstack-infra/puppet-vcsrepo - project: openstack-infra/puppet-vcsrepo

View File

@ -1,5 +1,5 @@
#!/bin/bash -e #!/bin/bash -e
# This file is managed by puppet. # This file is managed by puppet.
# https://github.com/openstack-infra/config # https://git.openstack.org/cgit/openstack-infra/config
/usr/local/bin/run-mirror -c <%= mirror_config %> >> <%= log_filename %> /usr/local/bin/run-mirror -c <%= mirror_config %> >> <%= log_filename %>

View File

@ -111,7 +111,7 @@ class releasestatus (
vcsrepo { '/var/lib/releasestatus/releasestatus': vcsrepo { '/var/lib/releasestatus/releasestatus':
ensure => latest, ensure => latest,
provider => git, provider => git,
source => 'https://github.com/openstack-infra/releasestatus.git', source => 'https://git.openstack.org/openstack-infra/releasestatus',
revision => 'master', revision => 'master',
require => File['/var/lib/releasestatus'], require => File['/var/lib/releasestatus'],
} }

View File

@ -29,7 +29,7 @@ class statusbot(
ensure => latest, ensure => latest,
provider => git, provider => git,
revision => 'master', revision => 'master',
source => 'https://github.com/openstack-infra/statusbot.git', source => 'https://git.openstack.org/openstack-infra/statusbot',
} }
exec { 'install_statusbot' : exec { 'install_statusbot' :

View File

@ -27,7 +27,7 @@ class zuul (
$zuul_ssh_private_key = '', $zuul_ssh_private_key = '',
$url_pattern = '', $url_pattern = '',
$status_url = "https://${::fqdn}/", $status_url = "https://${::fqdn}/",
$git_source_repo = 'https://github.com/openstack-infra/zuul.git', $git_source_repo = 'https://git.openstack.org/openstack-infra/zuul',
$push_change_refs = false, $push_change_refs = false,
$job_name_in_report = false, $job_name_in_report = false,
$revision = 'master', $revision = 'master',