Browse code

Update (git|review).openstack.org links to opendev

This updates links going to git.openstack.org and review.openstack.org
to go to their respective opendev locations to avoid redirects.

Change-Id: I78e3bb5303718962f591117f9c0ee11f2314b128
Closes-Bug: #1833256

Matt Riedemann authored on 2019/06/18 23:43:16
Showing 18 changed files
... ...
@@ -11,7 +11,7 @@ Shell script was chosen because it best illustrates the steps used to
11 11
 set up and interact with OpenStack components.
12 12
 
13 13
 DevStack's official repository is located on git.openstack.org at
14
-https://git.openstack.org/openstack-dev/devstack.  Besides the master branch that
14
+https://opendev.org/openstack/devstack.  Besides the master branch that
15 15
 tracks the OpenStack trunk branches a separate branch is maintained for all
16 16
 OpenStack releases starting with Diablo (stable/diablo).
17 17
 
... ...
@@ -26,7 +26,7 @@ __ lp_
26 26
 .. _lp: https://launchpad.net/~devstack
27 27
 
28 28
 The `Gerrit review
29
-queue <https://review.openstack.org/#/q/project:openstack-dev/devstack,n,z>`__
29
+queue <https://review.opendev.org/#/q/project:openstack/devstack>`__
30 30
 is used for all commits.
31 31
 
32 32
 The primary script in DevStack is ``stack.sh``, which performs the bulk of the
... ...
@@ -38,7 +38,7 @@ You can also pick specific OpenStack project releases by setting the appropriate
38 38
 `stackrc` for the default set).  Usually just before a release there will be
39 39
 milestone-proposed branches that need to be tested::
40 40
 
41
-    GLANCE_REPO=https://git.openstack.org/openstack/glance.git
41
+    GLANCE_REPO=https://opendev.org/openstack/glance.git
42 42
     GLANCE_BRANCH=milestone-proposed
43 43
 
44 44
 Start A Dev Cloud
... ...
@@ -205,7 +205,7 @@ Historical Notes
205 205
 Historically DevStack obtained all local configuration and
206 206
 customizations from a ``localrc`` file.  In Oct 2013 the
207 207
 ``local.conf`` configuration method was introduced (in `review 46768
208
-<https://review.openstack.org/#/c/46768/>`__) to simplify this
208
+<https://review.opendev.org/#/c/46768/>`__) to simplify this
209 209
 process.
210 210
 
211 211
 Configuration Notes
... ...
@@ -232,13 +232,13 @@ proposal. ``GIT_BASE`` points to the primary repository server.
232 232
 To pull a branch directly from Gerrit, get the repo and branch from
233 233
 the Gerrit review page::
234 234
 
235
-    git fetch https://review.openstack.org/p/openstack/nova \
235
+    git fetch https://review.opendev.org/openstack/nova \
236 236
         refs/changes/50/5050/1 && git checkout FETCH_HEAD
237 237
 
238 238
 The repo is the stanza following ``fetch`` and the branch is the
239 239
 stanza following that::
240 240
 
241
-    NOVA_REPO=https://review.openstack.org/p/openstack/nova
241
+    NOVA_REPO=https://review.opendev.org/openstack/nova
242 242
     NOVA_BRANCH=refs/changes/50/5050/1
243 243
 
244 244
 
... ...
@@ -80,8 +80,7 @@ I'd like to help!
80 80
 ~~~~~~~~~~~~~~~~~
81 81
 
82 82
 That isn't a question, but please do! The source for DevStack is at
83
-`git.openstack.org
84
-<https://git.openstack.org/cgit/openstack-dev/devstack>`__ and bug
83
+`opendev.org <https://opendev.org/openstack/devstack>`__ and bug
85 84
 reports go to `LaunchPad
86 85
 <https://bugs.launchpad.net/devstack/>`__. Contributions follow the
87 86
 usual process as described in the `developer guide
... ...
@@ -19,7 +19,7 @@ Install devstack
19 19
 
20 20
 ::
21 21
 
22
-    git clone https://git.openstack.org/openstack-dev/devstack
22
+    git clone https://opendev.org/openstack/devstack
23 23
     cd devstack/tools
24 24
     sudo ./create-stack-user.sh
25 25
     cd ../..
... ...
@@ -35,9 +35,9 @@ Edit your ``/opt/stack/devstack/local.conf`` to look like
35 35
 ::
36 36
 
37 37
     [[local|localrc]]
38
-    enable_plugin octavia https://git.openstack.org/openstack/octavia
38
+    enable_plugin octavia https://opendev.org/openstack/octavia
39 39
     # If you are enabling horizon, include the octavia dashboard
40
-    # enable_plugin octavia-dashboard https://git.openstack.org/openstack/octavia-dashboard.git
40
+    # enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard.git
41 41
     # If you are enabling barbican for TLS offload in Octavia, include it here.
42 42
     # enable_plugin barbican https://github.com/openstack/barbican.git
43 43
 
... ...
@@ -105,7 +105,7 @@ The commands in this section should all be run inside your container.
105 105
 
106 106
    ::
107 107
 
108
-       git clone https://git.openstack.org/openstack-dev/devstack
108
+       git clone https://opendev.org/openstack/devstack
109 109
 
110 110
 #. Configure
111 111
 
... ...
@@ -103,7 +103,7 @@ Grab the latest version of DevStack:
103 103
 
104 104
 ::
105 105
 
106
-    git clone https://git.openstack.org/openstack-dev/devstack
106
+    git clone https://opendev.org/openstack/devstack
107 107
     cd devstack
108 108
 
109 109
 Up to this point all of the steps apply to each node in the cluster.
... ...
@@ -567,7 +567,7 @@ you do not require them.
567 567
     Q_ML2_PLUGIN_MECHANISM_DRIVERS=macvtap
568 568
     Q_USE_PROVIDER_NETWORKING=True
569 569
 
570
-    enable_plugin neutron https://git.openstack.org/openstack/neutron
570
+    enable_plugin neutron https://opendev.org/openstack/neutron
571 571
 
572 572
     ## MacVTap agent options
573 573
     Q_AGENT=macvtap
... ...
@@ -622,7 +622,7 @@ For the MacVTap compute node, use this local.conf:
622 622
 
623 623
     # Services that a compute node runs
624 624
     disable_all_services
625
-    enable_plugin neutron https://git.openstack.org/openstack/neutron
625
+    enable_plugin neutron https://opendev.org/openstack/neutron
626 626
     ENABLED_SERVICES+=n-cpu,q-agt
627 627
 
628 628
     ## MacVTap agent options
... ...
@@ -83,7 +83,7 @@ some fake resource inventory values and keeps track of the state of the
83 83
 compute API but is good enough for most API testing, and is also used within
84 84
 the nova functional tests themselves so is fairly robust.
85 85
 
86
-.. _fake virt driver: http://git.openstack.org/cgit/openstack/nova/tree/nova/virt/fake.py
86
+.. _fake virt driver: https://opendev.org/openstack/nova/src/branch/master/nova/virt/fake.py
87 87
 
88 88
 Configuration
89 89
 -------------
... ...
@@ -74,7 +74,7 @@ We'll grab the latest version of DevStack via https:
74 74
 .. code-block:: console
75 75
 
76 76
     $ sudo apt-get install git -y || sudo yum install -y git
77
-    $ git clone https://git.openstack.org/openstack-dev/devstack
77
+    $ git clone https://opendev.org/openstack/devstack
78 78
     $ cd devstack
79 79
 
80 80
 Run DevStack
... ...
@@ -60,7 +60,7 @@ passed as the user-data file when booting the VM.
60 60
             DEBIAN_FRONTEND=noninteractive sudo apt-get install -qqy git || sudo yum install -qy git
61 61
             sudo chown stack:stack /home/stack
62 62
             cd /home/stack
63
-            git clone https://git.openstack.org/openstack-dev/devstack
63
+            git clone https://opendev.org/openstack/devstack
64 64
             cd devstack
65 65
             echo '[[local|localrc]]' > local.conf
66 66
             echo ADMIN_PASSWORD=password >> local.conf
... ...
@@ -23,8 +23,7 @@ everything from git master.  It is used interactively as a development
23 23
 environment and as the basis for much of the OpenStack project's
24 24
 functional testing.
25 25
 
26
-The source is available at
27
-`<https://git.openstack.org/cgit/openstack-dev/devstack>`__.
26
+The source is available at `<https://opendev.org/openstack/devstack>`__.
28 27
 
29 28
 .. warning::
30 29
 
... ...
@@ -73,7 +72,7 @@ Download DevStack
73 73
 
74 74
 .. code-block:: console
75 75
 
76
-   $ git clone https://git.openstack.org/openstack-dev/devstack
76
+   $ git clone https://opendev.org/openstack/devstack
77 77
    $ cd devstack
78 78
 
79 79
 The ``devstack`` repo contains a script that installs OpenStack and
... ...
@@ -99,7 +99,7 @@ They are added in the following format::
99 99
 
100 100
 An example would be as follows::
101 101
 
102
-  enable_plugin ec2-api https://git.openstack.org/openstack/ec2-api
102
+  enable_plugin ec2-api https://opendev.org/openstack/ec2-api
103 103
 
104 104
 plugin.sh contract
105 105
 ==================
... ...
@@ -264,10 +264,12 @@ integration of alternate RPC systems (e.g. zmq, qpid). In these cases
264 264
 the best practice is to build a dedicated
265 265
 ``openstack/devstack-plugin-FOO`` project.
266 266
 
267
+Legacy project-config jobs
268
+--------------------------
269
+
267 270
 To enable a plugin to be used in a gate job, the following lines will
268 271
 be needed in your ``jenkins/jobs/<project>.yaml`` definition in
269
-`project-config
270
-<http://git.openstack.org/cgit/openstack-infra/project-config/>`_::
272
+`project-config <https://opendev.org/openstack/project-config/>`_::
271 273
 
272 274
   # Because we are testing a non standard project, add the
273 275
   # our project repository. This makes zuul do the right
... ...
@@ -277,7 +279,12 @@ be needed in your ``jenkins/jobs/<project>.yaml`` definition in
277 277
   # note the actual url here is somewhat irrelevant because it
278 278
   # caches in nodepool, however make it a valid url for
279 279
   # documentation purposes.
280
-  export DEVSTACK_LOCAL_CONFIG="enable_plugin ec2-api https://git.openstack.org/openstack/ec2-api"
280
+  export DEVSTACK_LOCAL_CONFIG="enable_plugin ec2-api https://opendev.org/openstack/ec2-api"
281
+
282
+Zuul v3 jobs
283
+------------
284
+
285
+See the ``devstack_plugins`` example in :doc:`zuul_ci_jobs_migration`.
281 286
 
282 287
 See Also
283 288
 ========
... ...
@@ -28,7 +28,7 @@ sahara Tempest plugin repo:
28 28
 
29 29
 .. code:: yaml
30 30
 
31
-  # In http://git.openstack.org/cgit/openstack/sahara-tests/tree/.zuul.yaml:
31
+  # In https://opendev.org/openstack/sahara-tests/src/branch/master/.zuul.yaml:
32 32
   - job:
33 33
       name: sahara-tests-tempest
34 34
       description: |
... ...
@@ -86,7 +86,7 @@ job.parent.
86 86
 
87 87
 .. code:: yaml
88 88
 
89
-  # https://git.openstack.org/cgit/openstack/kuryr-kubernetes/tree/.zuul.yaml:
89
+  # https://opendev.org/openstack/kuryr-kubernetes/src/branch/master/.zuul.d/base.yaml:
90 90
   - job:
91 91
       name: kuryr-kubernetes-tempest-base
92 92
       parent: devstack-tempest
... ...
@@ -110,9 +110,9 @@ job.parent.
110 110
           kuryr-kubernetes: true
111 111
           (...)
112 112
         devstack_plugins:
113
-          kuryr-kubernetes: https://git.openstack.org/openstack/kuryr
114
-          devstack-plugin-container: https://git.openstack.org/openstack/devstack-plugin-container
115
-          neutron-lbaas: https://git.openstack.org/openstack/neutron-lbaas
113
+          kuryr-kubernetes: https://opendev.org/openstack/kuryr
114
+          devstack-plugin-container: https://opendev.org/openstack/devstack-plugin-container
115
+          neutron-lbaas: https://opendev.org/openstack/neutron-lbaas
116 116
         tempest_plugins:
117 117
           - kuryr-tempest-plugin
118 118
         (...)
... ...
@@ -346,7 +346,7 @@ function lib_installed_from_git {
346 346
     # The best option seems to be to use "pip list" which will tell
347 347
     # you the path an editable install was installed from; for example
348 348
     # in response to something like
349
-    #  pip install -e 'git+http://git.openstack.org/openstack-dev/bashate#egg=bashate'
349
+    #  pip install -e 'git+https://opendev.org/openstack/bashate#egg=bashate'
350 350
     # pip list --format columns shows
351 351
     #  bashate 0.5.2.dev19 /tmp/env/src/bashate
352 352
     # Thus we check the third column to see if we're installed from
... ...
@@ -255,7 +255,7 @@ function fixup_suse {
255 255
 # looking for the mirror config script before doing this, and just
256 256
 # skip it if so.
257 257
 
258
-# [1] https://git.openstack.org/cgit/openstack/diskimage-builder/tree/ \
258
+# [1] https://opendev.org/openstack/diskimage-builder/src/branch/master/ \
259 259
 #        diskimage_builder/elements/pip-and-virtualenv/ \
260 260
 #            install.d/pip-and-virtualenv-source-install/04-install-pip
261 261
 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=1477823
... ...
@@ -19,9 +19,9 @@
19 19
 #
20 20
 # In order to function correctly, the environment in which the
21 21
 # script runs must have
22
-#   * network access to the review.openstack.org Gerrit API
22
+#   * network access to the review.opendev.org Gerrit API
23 23
 #     working directory
24
-#   * network access to https://git.openstack.org/cgit
24
+#   * network access to https://opendev.org/
25 25
 
26 26
 import functools
27 27
 import logging
... ...
@@ -35,7 +35,7 @@ FILES=$TOP_DIR/files
35 35
 # done by openstack-infra diskimage-builder elements as part of image
36 36
 # preparation [1].  This prevents any network access, which can be
37 37
 # unreliable in CI situations.
38
-# [1] http://git.openstack.org/cgit/openstack-infra/project-config/tree/nodepool/elements/cache-devstack/source-repository-pip
38
+# [1] https://opendev.org/openstack/project-config/src/branch/master/nodepool/elements/cache-devstack/source-repository-pip
39 39
 
40 40
 PIP_GET_PIP_URL=${PIP_GET_PIP_URL:-"https://bootstrap.pypa.io/get-pip.py"}
41 41
 LOCAL_PIP="$FILES/$(basename $PIP_GET_PIP_URL)"