Merge "Add dogpile.cache master to the -src tests"
This commit is contained in:
commit
bf5a206c08
@ -74,10 +74,11 @@
|
|||||||
parent: nodepool-functional-base
|
parent: nodepool-functional-base
|
||||||
run: playbooks/nodepool-functional-py35-src/run.yaml
|
run: playbooks/nodepool-functional-py35-src/run.yaml
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack-infra/glean
|
- name: github.com/sqlalchemy/dogpile.cache
|
||||||
- openstack-infra/nodepool
|
- name: openstack-infra/glean
|
||||||
- openstack/diskimage-builder
|
- name: openstack-infra/nodepool
|
||||||
- openstack/openstacksdk
|
- name: openstack/diskimage-builder
|
||||||
|
- name: openstack/openstacksdk
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nodepool-functional-py35-src
|
name: nodepool-functional-py35-src
|
||||||
|
@ -42,7 +42,6 @@ function install_glean {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function install_openstacksdk {
|
function install_openstacksdk {
|
||||||
if use_library_from_git "openstacksdk"; then
|
if use_library_from_git "openstacksdk"; then
|
||||||
git_clone_by_name "openstacksdk"
|
git_clone_by_name "openstacksdk"
|
||||||
@ -50,6 +49,19 @@ function install_openstacksdk {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_dogpile_cache {
|
||||||
|
if use_library_from_git "dogpile.cache"; then
|
||||||
|
GITREPO["dogpile.cache"]=$DOGPILE_CACHE_REPO_URL
|
||||||
|
GITDIR["dogpile.cache"]=$DEST/dogpile.cache
|
||||||
|
GITBRANCH["dogpile.cache"]=$DOGPILE_CACHE_REPO_REF
|
||||||
|
|
||||||
|
|
||||||
|
git_clone_by_name "dogpile.cache"
|
||||||
|
$NODEPOOL_INSTALL/bin/pip install $DEST/dogpile.cache
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Install nodepool code
|
# Install nodepool code
|
||||||
function install_nodepool {
|
function install_nodepool {
|
||||||
VENV="virtualenv -p python3"
|
VENV="virtualenv -p python3"
|
||||||
@ -64,6 +76,7 @@ function install_nodepool {
|
|||||||
# in the -src job we don't re-install from the requirement.
|
# in the -src job we don't re-install from the requirement.
|
||||||
# We should make this more resilient, probably using install-siblings.
|
# We should make this more resilient, probably using install-siblings.
|
||||||
install_openstacksdk
|
install_openstacksdk
|
||||||
|
install_dogpile_cache
|
||||||
$NODEPOOL_INSTALL/bin/pbr freeze
|
$NODEPOOL_INSTALL/bin/pbr freeze
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,9 @@ DISKIMAGE_BUILDER_REPO_REF=${DISKIMAGE_BUILDER_REPO_REF:-master}
|
|||||||
GLEAN_REPO_URL=${GLEAN_REPO_URL:-https://git.openstack.org/openstack/glean}
|
GLEAN_REPO_URL=${GLEAN_REPO_URL:-https://git.openstack.org/openstack/glean}
|
||||||
GLEAN_REPO_REF=${GLEAN_REPO_REF:-master}
|
GLEAN_REPO_REF=${GLEAN_REPO_REF:-master}
|
||||||
|
|
||||||
|
DOGPILE_CACHE_REPO_URL=${DOGPILE_CACHE_REPO_URL:-https://github.com/sqlalchemy/dogpile.git}
|
||||||
|
DOGPILE_CACHE_REPO_REF=${DOGPILE_CACHE_REPO_REF:-master}
|
||||||
|
|
||||||
enable_service geard
|
enable_service geard
|
||||||
enable_service statsd
|
enable_service statsd
|
||||||
enable_service nodepool-launcher
|
enable_service nodepool-launcher
|
||||||
|
Loading…
x
Reference in New Issue
Block a user