summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2018-12-17 12:48:44 +1100
committerIan Wienand <iwienand@redhat.com>2019-01-15 10:32:44 +1100
commit515255f7a80c691f33940262343d913568ea9964 (patch)
tree0902af13a1991ee1f995e0742d52a7be09750e78
parent713de6c7118001897c21ffaf340771ea425a61b2 (diff)
Add dogpile.cache master to the -src tests
This installs dogpile.cache from upstream master for the -src job. We recently saw breakage with openstacksdk and new versions of dogpile.cache, this would help catch this in the future as both will be installed from master. Depends-On: https://review.openstack.org/625467 Depends-On: https://review.openstack.org/626075 Change-Id: I7ac90804504ff37b72d089cf0cd2c7c48858da19
Notes
Notes (review): Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Code-Review+1: Yongjun Bai <baiyj666@gmail.com> Code-Review+2: David Shrewsbury <shrewsbury.dave@gmail.com> Workflow+1: David Shrewsbury <shrewsbury.dave@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 22 Jan 2019 21:15:25 +0000 Reviewed-on: https://review.openstack.org/625457 Project: openstack-infra/nodepool Branch: refs/heads/master
-rw-r--r--.zuul.yaml9
-rw-r--r--devstack/plugin.sh15
-rw-r--r--devstack/settings3
3 files changed, 22 insertions, 5 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 0bd772a..1808d0f 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -69,10 +69,11 @@
69 parent: nodepool-functional-base 69 parent: nodepool-functional-base
70 run: playbooks/nodepool-functional-py35-src/run.yaml 70 run: playbooks/nodepool-functional-py35-src/run.yaml
71 required-projects: 71 required-projects:
72 - openstack-infra/glean 72 - name: github.com/sqlalchemy/dogpile.cache
73 - openstack-infra/nodepool 73 - name: openstack-infra/glean
74 - openstack/diskimage-builder 74 - name: openstack-infra/nodepool
75 - openstack/openstacksdk 75 - name: openstack/diskimage-builder
76 - name: openstack/openstacksdk
76 77
77- job: 78- job:
78 name: nodepool-functional-py35-src 79 name: nodepool-functional-py35-src
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index b5d15f9..1b3daba 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -42,7 +42,6 @@ function install_glean {
42 fi 42 fi
43} 43}
44 44
45
46function install_openstacksdk { 45function install_openstacksdk {
47 if use_library_from_git "openstacksdk"; then 46 if use_library_from_git "openstacksdk"; then
48 git_clone_by_name "openstacksdk" 47 git_clone_by_name "openstacksdk"
@@ -50,6 +49,19 @@ function install_openstacksdk {
50 fi 49 fi
51} 50}
52 51
52function install_dogpile_cache {
53 if use_library_from_git "dogpile.cache"; then
54 GITREPO["dogpile.cache"]=$DOGPILE_CACHE_REPO_URL
55 GITDIR["dogpile.cache"]=$DEST/dogpile.cache
56 GITBRANCH["dogpile.cache"]=$DOGPILE_CACHE_REPO_REF
57
58
59 git_clone_by_name "dogpile.cache"
60 $NODEPOOL_INSTALL/bin/pip install $DEST/dogpile.cache
61 fi
62}
63
64
53# Install nodepool code 65# Install nodepool code
54function install_nodepool { 66function install_nodepool {
55 VENV="virtualenv -p python3" 67 VENV="virtualenv -p python3"
@@ -64,6 +76,7 @@ function install_nodepool {
64 # in the -src job we don't re-install from the requirement. 76 # in the -src job we don't re-install from the requirement.
65 # We should make this more resilient, probably using install-siblings. 77 # We should make this more resilient, probably using install-siblings.
66 install_openstacksdk 78 install_openstacksdk
79 install_dogpile_cache
67 $NODEPOOL_INSTALL/bin/pbr freeze 80 $NODEPOOL_INSTALL/bin/pbr freeze
68} 81}
69 82
diff --git a/devstack/settings b/devstack/settings
index 9957226..3bf8552 100644
--- a/devstack/settings
+++ b/devstack/settings
@@ -23,6 +23,9 @@ DISKIMAGE_BUILDER_REPO_REF=${DISKIMAGE_BUILDER_REPO_REF:-master}
23GLEAN_REPO_URL=${GLEAN_REPO_URL:-https://git.openstack.org/openstack/glean} 23GLEAN_REPO_URL=${GLEAN_REPO_URL:-https://git.openstack.org/openstack/glean}
24GLEAN_REPO_REF=${GLEAN_REPO_REF:-master} 24GLEAN_REPO_REF=${GLEAN_REPO_REF:-master}
25 25
26DOGPILE_CACHE_REPO_URL=${DOGPILE_CACHE_REPO_URL:-https://github.com/sqlalchemy/dogpile.git}
27DOGPILE_CACHE_REPO_REF=${DOGPILE_CACHE_REPO_REF:-master}
28
26enable_service geard 29enable_service geard
27enable_service statsd 30enable_service statsd
28enable_service nodepool-launcher 31enable_service nodepool-launcher