1 Before a release, the following tests should be done.
4 * Until a way to disable ec2 metadata search exists, we have to fake a
7 - Prereqs for local boot EC2 Metadata test:
8 - download 'mdserv' at https://gist.github.com/1278651
9 - bring up interface for 169.254.169.254
10 sudo ifconfig eth0:0 up 169.254.169.254 netmask 255.255.255.255
11 - ./mdserv 169.254.169.254:80
14 - test boot to from partition
15 qemu-system-$ARCH -kernel kernel -initrd initramfs -hda part.img -curses
16 - test boot to blank partition
17 qemu-system-$ARCH -kernel kernel -initrd initramfs -hda blank.img -curses
18 - test boot to initramfs partition
19 qemu-system-$ARCH -kernel kernel -initrd initramfs -hda part.img -append "root=noroot" -curses
20 - test boot from full disk image (not arm yet)
21 qemu-system-$ARCH -drive if=virtio,file=disk.img -curses
24 - download lxc-libvirt-run from http://smoser.brickies.net/git/?p=tildabin.git;a=blob;f=lxc-libvirt-root
25 - sudo mkdir -p lxc/cirros-$ARCH
26 - zcat initramfs | ( cd lxc/cirros-$ARCH && sudo cpio -uid )
27 - if [ "$ARCH" == "arm" ]; then
28 sudo apt-get install -y
29 sudo cp /usr/bin/qemu-arm-static $ARCH/usr/bin
31 - ./lxc-libvirt-root lxc/cirros-$ARCH
34 - cloud-publish-tarball cirros-VERSION-ARCH-partimg.tar.gz
35 - cloud-publish-image --type image disk.img
38 - cloud-publish-tarball cirros-VERSION-ARCH-partimg.tar.gz
39 # us-east-1 aki-805ea7e9 amazon pv-grub-hd0_1.02-i386.gz
40 # us-east-1 aki-825ea7eb amazon pv-grub-hd0_1.02-x86_64.gz
42 [ "$ARCH" = "x86_64" ] && aki=aki-825ea7eb
43 cloud-publish-tarball cirros-$VERSION-$ARCH-partimg.tar.gz \
44 --kernel $aki --ramdisk none $USER-bucket $ARCH
46 - TBD: EBS boot and register