Merge "Fix experimental trove-image-build gate job"
This commit is contained in:
commit
a68e6cf9e8
@ -8,9 +8,10 @@
|
|||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
sudo mkdir -p /opt/stack
|
sudo mkdir -p /opt/trove-image-build
|
||||||
sudo chown $(whoami) /opt/stack
|
sudo chown $(whoami) /opt/trove-image-build
|
||||||
export DEST=/opt/stack
|
export DEST=/opt/trove-image-build
|
||||||
|
export KEY_DIR=`pwd`/files/keys
|
||||||
cd scripts
|
cd scripts
|
||||||
./redstack build-image mysql
|
./redstack build-image mysql
|
||||||
mv $HOME/images/ubuntu_mysql/ubuntu_mysql.qcow2 $WORKSPACE/ubuntu_mysql.qcow2
|
mv $HOME/images/ubuntu_mysql/ubuntu_mysql.qcow2 $WORKSPACE/ubuntu_mysql.qcow2
|
||||||
@ -20,7 +21,7 @@
|
|||||||
site: 'tarballs.openstack.org'
|
site: 'tarballs.openstack.org'
|
||||||
files:
|
files:
|
||||||
- source: 'ubuntu_mysql.qcow2'
|
- source: 'ubuntu_mysql.qcow2'
|
||||||
target: 'trove/images/ubuntu_mysql.qcow2'
|
target: 'tarballs/trove/images/ubuntu_mysql.qcow2'
|
||||||
keep-hierarchy: false
|
keep-hierarchy: false
|
||||||
copy-after-failure: false
|
copy-after-failure: false
|
||||||
- console-log
|
- console-log
|
Loading…
Reference in New Issue
Block a user