Last active
August 27, 2015 01:07
-
-
Save rm-you/1d649847657b1f33a8e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export REPO_URL=https://review.openstack.org/p | |
export ZUUL_URL=/home/jenkins/workspace-cache | |
export WORKSPACE=/home/jenkins/workspace/testing | |
export ZUUL_PROJECT=openstack/barbican | |
export ZUUL_BRANCH=master | |
export ZUUL_REF=refs/changes/85/167885/27 | |
git clone $REPO_URL/$ZUUL_PROJECT $ZUUL_URL/$ZUUL_PROJECT \ | |
&& cd $ZUUL_URL/$ZUUL_PROJECT \ | |
&& git checkout remotes/origin/$ZUUL_BRANCH | |
mkdir -p $WORKSPACE | |
cd $WORKSPACE | |
git clone --depth 1 https://github.com/openstack-infra/devstack-gate | |
# Testing code: | |
set -x | |
export PYTHONUNBUFFERED=true | |
export DEVSTACK_GATE_TIMEOUT=60 | |
export ENABLED_SERVICES=tempest,keystone | |
export PROJECTS="openstack/barbican $PROJECTS" | |
export PROJECTS="openstack/python-barbicanclient $PROJECTS" | |
function gate_hook { | |
$BASE/new/barbican/devstack/gate_hook.sh | |
} | |
export -f gate_hook | |
function post_test_hook { | |
cd /opt/stack/new/barbican/functionaltests | |
./post_test_hook.sh | |
} | |
export -f post_test_hook | |
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh | |
./safe-devstack-vm-gate-wrap.sh |
++ run_command setup_workspace '$OVERRIDE_ZUUL_BRANCH' '$BASE/new'
++ local 'fn=setup_workspace $OVERRIDE_ZUUL_BRANCH $BASE/new'
++ local cmd=
++ read -r -d '' cmd
++ echo 'source '''/home/jenkins/workspace/testing/test_env.sh'''
source '''/home/jenkins/workspace/testing/devstack-gate/functions.sh'''
set -o errexit
tsfilter setup_workspace $OVERRIDE_ZUUL_BRANCH $BASE/new
executable=/bin/bash'
- /tmp/ansible/bin/ansible all -f 5 -i /home/jenkins/workspace/testing/inventory -m shell -a 'source '''/home/jenkins/workspace/testing/test_env.sh'''
source '''/home/jenkins/workspace/testing/devstack-gate/functions.sh'''
set -o errexit
tsfilter setup_workspace $OVERRIDE_ZUUL_BRANCH $BASE/new
executable=/bin/bash'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cd $WORKSPACE
&& git clone --depth 1 $REPO_URL/openstack-infra/devstack-gate
Cloning into 'devstack-gate'...
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header