Commit Graph

1679 Commits

Author SHA1 Message Date
Tim Miller
d25f89ad12 Install quantum-api from github.
Change-Id: If7ae61bce1ee263077ecd3e49beab4e5c8f97cf2
2012-12-18 12:33:48 -08:00
Clint Byrum
05ccb5eab5 Clean up the MySQL element to make it suitable for generic use.
Change-Id: Ib3e384d6fb48e6df53a0897bcc48bbb46995a824
2012-12-18 09:41:26 -08:00
Jenkins
804e94b5eb Merge "Add glance-api element." 2012-12-18 16:14:57 +00:00
Jenkins
783e57ef4f Merge "Fix disk-image-create's getopt error handling:" 2012-12-18 15:32:52 +00:00
Chris Jones
219aa52958 Fix disk-image-create's getopt error handling:
We originally checked the return code of getopt, but subsequently
a debugging echo has been inserted and now we are checking the
return code of "echo", which is very rarely going to be useful.

Change-Id: I054fecaf6576d5e9d42b07159bba7d50335bf6cc
2012-12-17 17:00:13 +00:00
Chris Jones
2cefdd7e60 Tidy up base element:
Fix a typo in the base element itself.
Refer to it early in the README since it is likely to be useful to
almost everyone.

Change-Id: I4a753b61542f8a354ade7fcc4436076aec61e6c0
2012-12-17 16:53:46 +00:00
Devananda van der Veen
d212ffd1db Add guidelines for composing elements.
Change-Id: Id9bb81aefaad2024d9a73d02c58a73565250b813
2012-12-16 18:49:38 -08:00
Devananda van der Veen
dba9418f03 Copy both http and https proxy to local-config.
Previously, only http_proxy was copied into the local-config image.
We now preserve both http_proxy and https_proxy settings.

Change-Id: I4de2712f2772fb7d07b228cecdc0c8ec6f3df567
Co-authored-by: Chris Krelle <nobodycam@gmail.com>
2012-12-13 23:49:42 -08:00
Robert Collins
1f39f4c629 Add a test framework for testing elements.
Change-Id: I845ac3ec6bbcd212ee43151981a2bc5264f4a5b3
2012-12-14 20:17:39 +13:00
Robert Collins
573ee28fd2 Ignore .pyc files.
Change-Id: I74c1197fb5c8c35903f0ede8442741d2fc1d3f1d
2012-12-14 20:17:39 +13:00
Robert Collins
daf9fc1d6b Add a .testr.conf configuration and ignore .testrepository.
Change-Id: I182d8b5567732ecf3da69f580c3e4b6d6438ab6b
2012-12-14 20:17:39 +13:00
Robert Collins
d03825b504 Add the ability to break into a shell during builds.
Change-Id: I87af952d892f8622e4c916085fc896c735a35438
2012-12-14 20:17:29 +13:00
Tim Miller
2fcb64ee77 Add glance-api element.
Change-Id: I277b353fbbed59823335c8b27e875c4417e2643d
2012-12-13 18:02:11 -08:00
Robert Collins
012116cad6 Move everything 'common' into base, making it avoidable for tests.
Change-Id: I87edd00f6e0edcd609856192c2c98604ef3274f0
2012-12-14 13:41:57 +13:00
Robert Collins
e8a8e99a08 Make it possible to not recompress the qcow2 image at the end.
Change-Id: Icca922853ee583dcccb6d3970d080fbec11edac7
2012-12-14 13:25:18 +13:00
Jenkins
115cd0edbb Merge "updating devstack element to reference incubator" 2012-12-13 17:55:27 +00:00
Ghe Rivero
258185b7a2 Added true to avoid exit on error
disk-image-create just died without any warning

Change-Id: Ia5da4188d64bb22540b57d01184b91faa59149e7
2012-12-13 18:32:34 +01:00
Devananda van der Veen
9371411ddb updating devstack element to reference incubator
devstack element points to github:tripleo/incubator, instead of demo.

Also, the element now pulls devstack into the image, rather than relying
on incubator/scripts/demo to pull it down after the image starts.

Change-Id: I878edcc8f5b1a509b14cadfb5fb4c33571a7f312
2012-12-13 02:31:26 -08:00
Tim Miller
e47bb57131 Add keystone element.
Change-Id: I478227c7a6b806e2aaa52f28ba6c6408d55e9ebc
2012-12-12 00:13:37 -08:00
Jenkins
a675503716 Merge "Add copyright to lib/ramdisk-*" 2012-12-11 09:36:57 +00:00
Arata Notsu
1d3ca33ce7 Add copyright to lib/ramdisk-*
Change-Id: I6b48205858f3bc6e55b3dd6efc3e038dd6c42127
2012-12-11 18:14:19 +09:00
Robert Collins
7afabfb06e Generate apt.conf files with correct content, fixes bug 1088805.
Change-Id: I26b855260fdfc472179774779558ed7f0947da6c
2012-12-11 21:23:07 +13:00
Chris Jones
ae1e74acd8 Further fleshing out of hwdiscovery element
This adds support for other elements to feed into the hwdiscovery
results.

It also fixes a few bugs in the construction of the ramdisk.

It also adds support for specifying a server to POST the discovered
hardware data to, via the kernel command line

Change-Id: I163db2b1388f908880e8f458e16906fa6f9db7bc
2012-12-06 21:55:30 +00:00
Chris Jones
9243a8e3f9 Move grub installation to the vm element
It makes more sense for grub to be installed by the vm element, since
that is intended to produce directly bootable disk images.

Change-Id: Ic340ba9d3ec4dbeea3aed3576fc899c1424783a2
2012-12-06 12:44:18 +00:00
Monty Taylor
1eff4a436e Rename flavour to element.
Flavour is overloaded in openstack due to it being used by nova. Element
seems to have the same feeling of combinability without using a term already
in active use in the openstack community.

Change-Id: Ia4c028d4062a8f69c66665821c94dd4bcdf06031
2012-12-05 14:04:58 -08:00
Darragh Bailey
e1bc989c2c Configure git proxy settings and prefer http(s) protocol
Set a proxy for http protocol usage by git, and switch to using
the https:// protocol in preference to git:// to make it easier
to clone from behind firewalls.

Change-Id: I41e809c54f3065d59ca84d83be80b9472361dd9d
2012-12-05 17:28:52 +00:00
Jenkins
7ccf5282ed Merge "Use system resolv.conf file when available" 2012-12-03 21:38:54 +00:00
Darragh Bailey
e5cda1f731 Use system resolv.conf file when available
Where possible use the system configured resolv.conf file
to to support resolution of internal servers such as proxies.
Use previous hardcoded google dns nameserver as fallback

Change-Id: Ibc1e8a3b96e733a2f7fbcdd4b2c5d3e8926424c4
2012-12-03 15:18:09 +00:00
Arata Notsu
0b81a3e0e8 Remove udev stuff from the source tree
Pick udev stuff from the running evironment instead.

Change-Id: I90a004d0a2b83d3451e73ae351cf474a7bfd62ee
2012-11-29 12:32:06 +09:00
Monty Taylor
5682d59ca6 Add .gitreview file.
Change-Id: I95b011b1851d4299efa19e0527e7594d31600418
2012-11-28 08:57:46 -08:00
Ghe Rivero
38dc7680c9 Jenkins image fixed
- Removed http_proxy option
- Added sudoers entry to cp first-bot.d
- Fixed typo on 11-jenkins-plugins
- Restored trap exit on run-parts
2012-11-27 18:37:57 +01:00
Robert Collins
f48fa9e369 Reinstate /mnt redirection of jenkins - HPCS cloud images have a very
restricted /.
2012-11-27 15:13:37 +13:00
Ghe Rivero
a3f9f12a4a Untrap EXIT before run-parts 2012-11-26 19:05:12 +01:00
Chris Jones
3d596d7e9c Update hwdiscovery flavour to have lots more structure that we can build on 2012-11-26 10:55:46 +00:00
Ghe Rivero
c3acf1ed9c fix crappy header 2012-11-23 16:25:14 +01:00
Ghe Rivero
fcf68d1c18 Updated jenkins flavour
- Install list of plugins
- Use an http service as proxy on port 80
  - Only nginx for now
2012-11-23 10:26:39 +01:00
Robert Collins
5efe4f983f Make a primitive jenkins image. 2012-11-22 18:05:45 +13:00
Devananda van der Veen
d935fc0e07 be smarter about mounting qcow images
some images have partition tables, some don't
2012-11-21 19:00:53 -08:00
Robert Collins
90f0077cba Use base in all examples. 2012-11-22 15:07:15 +13:00
Chris Krelle
51cbc17c4a added br* filter for interfaces 2012-11-20 15:21:29 -08:00
NoBodyCam
e1203eccf2 adding BASIC hardware discovery. 2012-11-20 14:05:20 -08:00
NoBodyCam
2b879aea6a adding dhclient support 2012-11-20 14:04:40 -08:00
NoBodyCam
06bbe7d334 adding dhclient 2012-11-20 14:03:40 -08:00
Tim Miller
589d961cb2 Merge remote-tracking branch 'upstream/tripleo' into tripleo 2012-11-20 11:21:21 -08:00
Tim Miller
e636d61365 move misplaced salt-master install script. 2012-11-20 10:59:44 -08:00
Devananda van der Veen
d0d372ad78 mount_qcow_image should mount p1 2012-11-20 05:21:53 -08:00
NoBodyCam
e3551c752f removes AMQP install and adds hwinfo 2012-11-19 17:04:51 -08:00
NoBodyCam
f7fdec55a8 added lsmod to default busybox links 2012-11-19 16:01:40 -08:00
Tim Miller
4e6ca85e8f add salt-master flavor. 2012-11-19 14:18:33 -08:00
Devananda van der Veen
fb426153f4 remove force-xtrace in disk-image-get-kernel 2012-11-18 08:17:54 -08:00