Fix zuul-clone command for keystone OSA upgrade job
- 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
