Added tox.ini, gitreview and update README
Change-Id: If334c400bccb63782dac9cad2eff9d334ff3a01d
This commit is contained in:
parent
22e7d43d8f
commit
0a179bf682
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/devstack-plugin-amqp1.git
|
@ -1,2 +0,0 @@
|
|||||||
# amqp1-devstack
|
|
||||||
Devstack plugin for AMQP 1.0 olso.messaging driver
|
|
15
README.rst
Normal file
15
README.rst
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
======================
|
||||||
|
Enabling in Devstack
|
||||||
|
======================
|
||||||
|
|
||||||
|
Devstack plugin for AMQP 1.0 olso.messaging driver
|
||||||
|
|
||||||
|
1. Download DevStack
|
||||||
|
|
||||||
|
2. Add this repo as an external repository::
|
||||||
|
|
||||||
|
cat > local.conf
|
||||||
|
[[local|localrc]]
|
||||||
|
enable_plugin amqp1 https://git.openstack.org/openstack/devstack-plugin-amqp1
|
||||||
|
|
||||||
|
3. run ``stack.sh``
|
@ -204,8 +204,8 @@ function _iniset_qpid_backend {
|
|||||||
# @TODO(kgiusti) why is "qpid_" part of the setting's name? Why isn't this generic??
|
# @TODO(kgiusti) why is "qpid_" part of the setting's name? Why isn't this generic??
|
||||||
iniset $file $section qpid_hostname ${AMQP1_HOST}
|
iniset $file $section qpid_hostname ${AMQP1_HOST}
|
||||||
if [ -n "$AMQP1_USERNAME" ]; then
|
if [ -n "$AMQP1_USERNAME" ]; then
|
||||||
iniset $file $section qpid_username $AMQP1_USERNAME
|
iniset $file $section qpid_username $AMQP1_USERNAME
|
||||||
iniset $file $section qpid_password $AMQP1_PASSWORD
|
iniset $file $section qpid_password $AMQP1_PASSWORD
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
25
tox.ini
Normal file
25
tox.ini
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
[tox]
|
||||||
|
minversion = 1.6
|
||||||
|
skipsdist = True
|
||||||
|
envlist = bashate
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
usedevelop = False
|
||||||
|
install_command = pip install {opts} {packages}
|
||||||
|
|
||||||
|
[testenv:bashate]
|
||||||
|
deps = bashate
|
||||||
|
whitelist_externals = bash
|
||||||
|
commands = bash -c "find {toxinidir} \
|
||||||
|
-not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
|
||||||
|
-not \( -type d -name doc -prune \) \ # skip documentation
|
||||||
|
-type f \ # only files
|
||||||
|
-not -name \*~ \ # skip editors, readme, etc
|
||||||
|
-not -name \*.md \
|
||||||
|
\( \
|
||||||
|
-name \*.sh -or \
|
||||||
|
-name \*rc -or \
|
||||||
|
-name functions\* -or \
|
||||||
|
-wholename \*/lib/\* \ # /lib files are shell, but
|
||||||
|
\) \ # have no extension
|
||||||
|
-print0 | xargs -0 bashate -v"
|
Loading…
x
Reference in New Issue
Block a user