Browse Source

Added tox.ini, gitreview and update README

Change-Id: If334c400bccb63782dac9cad2eff9d334ff3a01d
Davanum Srinivas 3 years ago
parent
commit
0a179bf682
5 changed files with 46 additions and 4 deletions
  1. 4
    0
      .gitreview
  2. 0
    2
      README.md
  3. 15
    0
      README.rst
  4. 2
    2
      devstack/plugin.sh
  5. 25
    0
      tox.ini

+ 4
- 0
.gitreview View File

@@ -0,0 +1,4 @@
1
+[gerrit]
2
+host=review.openstack.org
3
+port=29418
4
+project=openstack/devstack-plugin-amqp1.git

+ 0
- 2
README.md View File

@@ -1,2 +0,0 @@
1
-# amqp1-devstack
2
-Devstack plugin for AMQP 1.0 olso.messaging driver

+ 15
- 0
README.rst View File

@@ -0,0 +1,15 @@
1
+======================
2
+ Enabling in Devstack
3
+======================
4
+
5
+Devstack plugin for AMQP 1.0 olso.messaging driver
6
+
7
+1. Download DevStack
8
+
9
+2. Add this repo as an external repository::
10
+
11
+     cat > local.conf
12
+     [[local|localrc]]
13
+     enable_plugin amqp1 https://git.openstack.org/openstack/devstack-plugin-amqp1
14
+
15
+3. run ``stack.sh``

+ 2
- 2
devstack/plugin.sh View File

@@ -204,8 +204,8 @@ function _iniset_qpid_backend {
204 204
     # @TODO(kgiusti) why is "qpid_" part of the setting's name?  Why isn't this generic??
205 205
     iniset $file $section qpid_hostname ${AMQP1_HOST}
206 206
     if [ -n "$AMQP1_USERNAME" ]; then
207
-	iniset $file $section qpid_username $AMQP1_USERNAME
208
-	iniset $file $section qpid_password $AMQP1_PASSWORD
207
+        iniset $file $section qpid_username $AMQP1_USERNAME
208
+        iniset $file $section qpid_password $AMQP1_PASSWORD
209 209
     fi
210 210
 }
211 211
 

+ 25
- 0
tox.ini View File

@@ -0,0 +1,25 @@
1
+[tox]
2
+minversion = 1.6
3
+skipsdist = True
4
+envlist = bashate
5
+
6
+[testenv]
7
+usedevelop = False
8
+install_command = pip install {opts} {packages}
9
+
10
+[testenv:bashate]
11
+deps = bashate
12
+whitelist_externals = bash
13
+commands = bash -c "find {toxinidir}          \
14
+         -not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
15
+         -not \( -type d -name doc -prune \)  \ # skip documentation
16
+         -type f                              \ # only files
17
+         -not -name \*~                       \ # skip editors, readme, etc
18
+         -not -name \*.md                     \
19
+         \(                                   \
20
+          -name \*.sh -or                     \
21
+          -name \*rc -or                      \
22
+          -name functions\* -or               \
23
+          -wholename \*/lib/\*                \ # /lib files are shell, but
24
+         \)                                   \ #   have no extension
25
+         -print0 | xargs -0 bashate -v"

Loading…
Cancel
Save