Fix zuul-clone command for keystone OSA upgrade job
Change-Id: I0f4e20c253401043c5c5325c40d610c893f0cb72
This commit is contained in:
parent
283fb90134
commit
bc9e036baf
@ -195,24 +195,13 @@
|
||||
- net-info
|
||||
- openstack-ansible-os_keystone-checkout
|
||||
- shell: |
|
||||
# We dont need to use zuul-cloner to checkout keystone itself, as OpenStack-Ansible
|
||||
# will default to using zuul-cloner to checkout Keystone.
|
||||
# Allow Jenkins user to ssh into localhost
|
||||
ssh-keygen -f ~/.ssh/id_rsa -N ""
|
||||
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
|
||||
ssh-keyscan localhost >> ~/.ssh/known_hosts
|
||||
ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts
|
||||
- shell: |
|
||||
# Get the keystone change in review and place it in ~/git/openstack/keystone,
|
||||
# which is where the openstack-ansible-os_keystone role expects the
|
||||
# upgrade source to be.
|
||||
#!/bin/bash -xe
|
||||
cat > $CLONEMAP << EOF
|
||||
clonemap:
|
||||
- name: openstack/keystone
|
||||
dest: .
|
||||
EOF
|
||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP \
|
||||
--cache-dir /opt/git git://git.openstack.org \
|
||||
openstack/keystone
|
||||
- shell: |
|
||||
/usr/local/jenkins/slave_scripts/run-tox.sh upgrade
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user