Replace github by opendev
... because now opendev is the source repository and github is its mirror. Change-Id: I55ab8bb845e73bba0375ac30fd126c92a4278bd3
This commit is contained in:
parent
302b73ca17
commit
127af1ce43
@ -12,7 +12,7 @@ Building changes off the upstream repository:
|
||||
---------------------------------------------
|
||||
This covers the scenario where you'd like to add / change code on the latest version of the storlet repo, do read the initial gerrit setup section if you haven't already done so.
|
||||
|
||||
* ``git clone https://github.com/openstack/storlets.git``
|
||||
* ``git clone https://opendev.org/openstack/storlets.git``
|
||||
|
||||
This will clone the upstream repo.
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
<!--TODO: why do we need input.txt from storlets html?-->
|
||||
<target name="text">
|
||||
<exec dir="bin" executable="wget">
|
||||
<arg line="https://github.com/openstack/storlets -O input.txt" />
|
||||
<arg line="https://opendev.org/openstack/storlets -O input.txt" />
|
||||
</exec>
|
||||
</target>
|
||||
<target name="jar" depends="java">
|
||||
|
@ -24,7 +24,7 @@ Below are the steps of this flow:
|
||||
|
||||
#. A prerequisite for the account manager to deploy a Docker image to Swift is having an
|
||||
account that is enabled for Storlets. This is an operation that is done by the Swift Storlet
|
||||
manager and is explained in <https://github.com/openstack/storlets/blob/master/doc/source/archive/storlets_management.rst>.
|
||||
manager and is explained in <https://opendev.org/openstack/storlets/blob/master/doc/source/archive/storlets_management.rst>.
|
||||
#. Once the account is enabled for Storlets, a container named docker_images is
|
||||
created, with access to both the account manager as well as the storlet manager.
|
||||
That container will include a basic Docker image consisting of some Storlet
|
||||
@ -33,7 +33,7 @@ Below are the steps of this flow:
|
||||
the installed software stack, and upload it back to the docker_images container.
|
||||
#. Once uploaded, the account manager must notify the Swift Storlet engine manager
|
||||
of the update. The storlets manager would take care of testing and deploying
|
||||
it to all Swift nodes. Again, <https://github.com/openstack/storlets/blob/master/doc/source/archive/storlets_management.rst>
|
||||
it to all Swift nodes. Again, <https://opendev.org/openstack/storlets/blob/master/doc/source/archive/storlets_management.rst>
|
||||
describes the provided tool the Storlet manager can use for the actual deployment.
|
||||
|
||||
The sections below describe in detail the steps taken by the account manager.
|
||||
|
@ -11,7 +11,7 @@ Storlets can be invoked in 2 ways:
|
||||
2. Invocation upon PUT. In this case the data kept in the store is a transformation of the object uploaded by the user (as opposed to the actual uploaded data or metadata). A typical use case is metadata enrichment, where a Storlet extracts format specific metadata from the uploaded data and adds it as Swift metadata.
|
||||
|
||||
Invocation involves adding an extra header to the Swift original
|
||||
PUT/GET requests. Following our Identity Storlet example given in <https://github.com/openstack/storlets/blob/master/doc/source/writing_and_deploying_storlets.rst>, here are invocation examples. This time the examples make use of the python swift client.
|
||||
PUT/GET requests. Following our Identity Storlet example given in <https://opendev.org/openstack/storlets/blob/master/doc/source/writing_and_deploying_storlets.rst>, here are invocation examples. This time the examples make use of the python swift client.
|
||||
|
||||
Invocation on GET
|
||||
=================
|
||||
|
@ -54,7 +54,7 @@ The X-Object-Meta-Storlet-Interface-Version header should be provided and set to
|
||||
Although not currently used, the X-Object-Meta-Storlet-Object-Metadata header must be provided and set to 'no'.
|
||||
See the Storlets Developer's manual for details of the signature of the invoke method.
|
||||
The content-type of the request should be set to 'application/octet-stream'.
|
||||
Additional details and examples can be found at <https://github.com/openstack/storlets/blob/master/doc/source/writing_and_deploying_storlets.rst>.
|
||||
Additional details and examples can be found at <https://opendev.org/openstack/storlets/blob/master/doc/source/writing_and_deploying_storlets.rst>.
|
||||
|
||||
::
|
||||
|
||||
@ -120,7 +120,7 @@ Storlets can be invoked in 3 ways:
|
||||
thumbnail extraction from an existing jpg.
|
||||
|
||||
Invocation involves adding an extra header ('X-Run-Storlet') to the Swift original PUT/GET/COPY requests.
|
||||
Additional details and examples can be found in <https://github.com/openstack/storlets/blob/master/doc/source/archive/invoking_storlets.rst>.
|
||||
Additional details and examples can be found in <https://opendev.org/openstack/storlets/blob/master/doc/source/archive/invoking_storlets.rst>.
|
||||
|
||||
Invoke a storlet upon object download
|
||||
-------------------------------------
|
||||
|
@ -7,7 +7,7 @@ Introduction
|
||||
The Storlet manager operations currently include:
|
||||
|
||||
#. Creating a Storlet enabled tenant.
|
||||
#. Deploying an image that was created by the tenant admin as described in <https://github.com/openstack/storlets/blob/master/doc/source/archive/building_and_deploying_docker_images.rst>
|
||||
#. Deploying an image that was created by the tenant admin as described in <https://opendev.org/openstack/storlets/blob/master/doc/source/archive/building_and_deploying_docker_images.rst>
|
||||
|
||||
The scripts providing these operations are located under /opt/ibm in the storlet management machine.
|
||||
|
||||
@ -31,7 +31,7 @@ The script takes 3 parameters:
|
||||
#. The password for the account manager
|
||||
|
||||
Note that the script is aware of the Keystone admin credentials as they
|
||||
were provided to the initial installation script as described in <https://github.com/openstack/storlets/blob/master/doc/source/installation.rst>
|
||||
were provided to the initial installation script as described in <https://opendev.org/openstack/storlets/blob/master/doc/source/installation.rst>
|
||||
|
||||
Below is a sample invocation:
|
||||
|
||||
@ -95,7 +95,7 @@ Below is a sample invocation:
|
||||
|
||||
Deploying a Tenant Image
|
||||
========================
|
||||
Recall that in the Docker image build (described in <https://github.com/openstack/storlets/blob/master/doc/source/archive/building_and_deploying_docker_images.rst>) the image was given a name
|
||||
Recall that in the Docker image build (described in <https://opendev.org/openstack/storlets/blob/master/doc/source/archive/building_and_deploying_docker_images.rst>) the image was given a name
|
||||
(specified after -t in the docker build command) and was uploaded as a .tar file to the tenant's docker_images Swift container.
|
||||
When deploying an image, the Storlet's admin needs to provide the tenant name, the .tar object name and the image name.
|
||||
|
||||
|
@ -13,7 +13,7 @@ Clone devstack:
|
||||
|
||||
::
|
||||
|
||||
git clone https://github.com/openstack/devstack.git
|
||||
git clone https://opendev.org/openstack/devstack.git
|
||||
|
||||
Create a localrc file under the devstack repository root directory:
|
||||
|
||||
@ -144,7 +144,7 @@ Get and install the storlets code
|
||||
::
|
||||
|
||||
cd $HOME
|
||||
git clone https://github.com/openstack/storlets.git
|
||||
git clone https://opendev.org/openstack/storlets.git
|
||||
cd storlets
|
||||
sudo ./install_libs.sh
|
||||
sudo python setup.py install
|
||||
|
@ -5,6 +5,6 @@ With that user just do:
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install python-tox python-nose git
|
||||
git clone https://github.com/openstack/storlets.git
|
||||
git clone https://opendev.org/openstack/storlets.git
|
||||
cd storlets
|
||||
./s2aio.sh install
|
||||
|
2
s2aio.sh
2
s2aio.sh
@ -33,7 +33,7 @@ function usage {
|
||||
function _prepare_devstack_env {
|
||||
# Checkout devstack
|
||||
if [ ! -e $DEVSTACK_DIR ]; then
|
||||
git clone https://github.com/openstack-dev/devstack.git $DEVSTACK_DIR
|
||||
git clone https://opendev.org/openstack/devstack.git $DEVSTACK_DIR
|
||||
cp devstack/localrc.sample $DEVSTACK_DIR/localrc
|
||||
fi
|
||||
|
||||
|
6
tox.ini
6
tox.ini
@ -17,7 +17,7 @@ deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+https://github.com/openstack/swift.git
|
||||
git+https://opendev.org/openstack/swift.git
|
||||
commands =
|
||||
find . -type f -name "*.py[c|o]" -delete
|
||||
find . -type d -name "__pycache__" -delete
|
||||
@ -35,7 +35,7 @@ commands =
|
||||
[testenv:func]
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+https://github.com/openstack/swift.git
|
||||
git+https://opendev.org/openstack/swift.git
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
STORLET_SAMPLE_PATH={toxinidir}/StorletSamples
|
||||
@ -60,7 +60,7 @@ deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
git+https://github.com/openstack/swift.git
|
||||
git+https://opendev.org/openstack/swift.git
|
||||
commands =
|
||||
sphinx-build -a -W -E -b html doc/source doc/build/html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user