Add debian build test case
Weve had some regressions recently with the changes in the debian element. Lets tests that we can build debian images. Change-Id: I048e7a32ecb4088ec1b1e3b1efdf146187b093db
This commit is contained in:
parent
917962d26c
commit
9a6cf7ee6f
1
elements/debian/test-elements/build-succeeds/README.rst
Normal file
1
elements/debian/test-elements/build-succeeds/README.rst
Normal file
@ -0,0 +1 @@
|
||||
Test that we can successfully build a debian image.
|
@ -0,0 +1 @@
|
||||
base
|
@ -4,5 +4,5 @@ set -eux
|
||||
set -o pipefail
|
||||
|
||||
sudo apt-get update || true
|
||||
sudo apt-get install -y qemu-utils kpartx || \
|
||||
sudo yum -y install qemu-img kpartx
|
||||
sudo apt-get install -y qemu-utils kpartx debootstrap || \
|
||||
sudo yum -y install qemu-img kpartx debootstrap
|
||||
|
Loading…
Reference in New Issue
Block a user