Add check jobs for python-saharaclient
* Add sahara tests on commit to sahara-client Change-Id: Ib44e76b96e855803db8fb1203ec2b62fec46509b
This commit is contained in:
parent
84366fd861
commit
00b34ff6e2
@ -41,6 +41,15 @@ projects:
|
||||
- gate-sahara-integration-hdp2
|
||||
- gate-sahara-integration-transient
|
||||
|
||||
- name: openstack/python-saharaclient
|
||||
check:
|
||||
- gate-saharaclient-integration-vanilla1
|
||||
- gate-saharaclient-integration-vanilla2
|
||||
- gate-saharaclient-integration-heat-vanilla1
|
||||
- gate-saharaclient-integration-hdp1
|
||||
- gate-saharaclient-integration-hdp2
|
||||
- gate-saharaclient-integration-transient
|
||||
|
||||
- name: openstack/sahara-dashboard
|
||||
check:
|
||||
- gate-ui-tests
|
||||
|
@ -1,3 +1,28 @@
|
||||
- job-template:
|
||||
name: 'gate-saharaclient-integration-{plugin}'
|
||||
defaults:
|
||||
concurrent: true
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- shell: "rm -rf sahara-ci-config\
|
||||
\ngit clone https://github.com/stackforge/sahara-ci-config /tmp/sahara-ci-config\
|
||||
\nbash -x /tmp/sahara-ci-config/slave-scripts/gate-saharaclient-integration-new.sh"
|
||||
properties:
|
||||
- zeromq-event
|
||||
wrappers:
|
||||
- timeout:
|
||||
timeout: 120
|
||||
fail: true
|
||||
- timestamps
|
||||
publishers:
|
||||
- console-log
|
||||
- trigger-parameterized-builds:
|
||||
- project: "integration-cleanup"
|
||||
predefined-parameters:
|
||||
"PREV_BUILD=$BUILD_NUMBER-$ZUUL_CHANGE-$ZUUL_PATCHSET\
|
||||
\nPREV_JOB=$JOB_NAME"
|
||||
node: 'precise'
|
||||
|
||||
- job-template:
|
||||
name: 'gate-sahara-integration-{plugin}'
|
||||
defaults:
|
||||
@ -37,6 +62,7 @@
|
||||
- transient
|
||||
jobs:
|
||||
- 'gate-sahara-integration-{plugin}'
|
||||
- 'gate-saharaclient-integration-{plugin}'
|
||||
|
||||
- job:
|
||||
name: integration-cleanup
|
||||
|
11
slave-scripts/gate-saharaclient-integration-new.sh
Normal file
11
slave-scripts/gate-saharaclient-integration-new.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone https://github.com/openstack/sahara /tmp/sahara
|
||||
cd /tmp/sahara
|
||||
# prepare test dependencies
|
||||
tox -e integration --notest
|
||||
|
||||
# change sahara-client
|
||||
.tox/integration/bin/pip install $WORKSPACE
|
||||
|
||||
bash -x /tmp/sahara-ci-config/slave-scripts/gate-savanna-integration-new.sh /tmp/sahara
|
@ -5,6 +5,8 @@
|
||||
|
||||
sudo pip install .
|
||||
|
||||
WORKSPACE=${1:-$WORKSPACE}
|
||||
|
||||
export PIP_USE_MIRRORS=True
|
||||
|
||||
JOB_TYPE=$(echo $JOB_NAME | awk -F '-' '{ print $4 }')
|
||||
|
Loading…
x
Reference in New Issue
Block a user