Commit Graph

256 Commits (master)
 

Author SHA1 Message Date
Devrandom 300a2d6faa Merge branch 'virtio-kvm' 10 years ago
Lunar c4c8348dff Use virtio for disk in KVM instead of emulating real hardware
This should improve I/O performance.
10 years ago
Lunar 56bd00ea39 Copy target image as a sparse file in LXC mode
This will save us from writing a lot of zeros on disk.
10 years ago
Dev Random ace5bf3e58 Merge pull request #70 from theuni/cache
Enable cache option
10 years ago
Cory Fields 25fbf7d7a8 update docs for enable_cache option 10 years ago
Cory Fields 00d5b9849c cache: require the enable_cache key to be set to true in order to use cache functionality 10 years ago
Devrandom 07108c4eeb Default back to lxc-start, with option for lxc-execute 10 years ago
Devrandom 95362be81e Add warning in release notes about lxc-execute 10 years ago
Dev Random 27bd5b3869 Merge pull request #69 from gurnec/lxc-execute
Fix issue #63: use lxc-execute instead of lxc-start
10 years ago
Christopher Gurnee 63fe5d1de2 Fix issue #63: use lxc-execute instead of lxc-start 10 years ago
Dev Random 3a0e9024b8 Merge pull request #68 from theuni/cache
fix: use don't use methods that require new ruby version
10 years ago
Cory Fields 923ea1055d fix: use don't use methods that require new ruby version
This is a regression from ea24af10. Dir.exists isn't available in ruby 1.8
10 years ago
Dev Random 8e907adcc4 Merge pull request #58 from laanwj/master
Extend gverify comparison
10 years ago
Dev Random 611292cdcb Merge pull request #64 from theuni/cache
cache fixes
10 years ago
Cory Fields 00114ee98f fix: Separate cache from output files in yml report
Otherwise the output may look non-deterministic if there are stale files in
the cache.
10 years ago
Cory Fields 6a64b48d69 fix: create cache dirs to avoid file copy errors
This fixes builds that don't use caching.
10 years ago
Dev Random 9092f98825 Merge pull request #62 from theuni/cache
Add common cache and per-build cache
10 years ago
Cory Fields b57286ab91 doc: add quick cache readme 10 years ago
Cory Fields ea24af1043 Add common cache and per-build cache
Allow each builder to cache some files for re-use in the next build. This
allows for poor-man's dependency chaining.

Additionally, add a common cache pool for all builds. This can be used for
saving (for example) downloaded files to be shared between builds.
10 years ago
Dev Random 93b39496c4 Merge pull request #61 from brossi/master
Allow @ in URLs
10 years ago
Ben Rossi feef35616b Allow @ in URLs so Gitian-Builder works against source stored on BitBucket. 10 years ago
Dev Random ffd04a46a2 Merge pull request #60 from stefanha/readme-typo-fix
Fix typo in README.md setup instructions
10 years ago
Stefan Hajnoczi f51c4cbfdd Fix typo in README.md setup instructions
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
10 years ago
Dev Random ae83ac0c74 Merge pull request #59 from gdm85/master
Use a clean environment when building VMs
10 years ago
Giuseppe Mazzotta 25db707b34 Use a clean environment when building VMs 10 years ago
Wladimir J. van der Laan 449bc5b243 Extend gverify comparison
- Allow comparing to a sepcific 'golden' manifest with `--compare-to`
- By default pick the first manifest to compare to, instead of always
  comparing against the previous one, which is confusing
- Show line-by-line difference if `-v` given
10 years ago
Dev Random 7a01e8ac9c Merge pull request #57 from gdm85/master
Fix issue #56: clean up environment before gbuild'ing
10 years ago
gdm85 1504c76f11 Fix issue #56: clean up environment before gbuild'ing
Originally proposed by cfields
10 years ago
Dev Random e81f4145c2 Merge pull request #52 from laanwj/master
Un-hardcode host/guest IP
10 years ago
Wladimir J. van der Laan 4e90888bcf Make it possible to override bridge if for LXC
For example Ubuntu installs a bridge called `virbr0` by default for LXC.
Using this system-provided bridge avoids having to configure one
specifically before gitian building.

This commits makes it possible to override the bridge used by gitian
using the environment variable LXC_BRIDGE. The default is still to use
`br0` as before.
10 years ago
Wladimir J. van der Laan 5785dfc3ae Un-hardcode host/guest IP
I was running into trouble using gitian LXC INSIDE a VirtualBox VM, because
the 10.0.2.x IP range overlaps with the range that VirtualBox uses for
its internal NAT network.

This commit makes it possible to override the host and guest IP that
is used during LXC image creation and the build, using environment variables:

- `GITIAN_HOST_IP` (default=10.0.2.2, host IP from the viewpoint of the
   VM, can be used for both LXC and KVM)
- `LXC_GUEST_IP` (default=10.0.2.5, guest IP from the viewpoint of the
   host, effective for LXC only)

When these are not defined the behavior remains the same as before.
10 years ago
Dev Random c9e62adc21 Merge pull request #50 from simondlr/increase_time
Increase time for checking if a target has started.
10 years ago
Dev Random f0ec85e788 Merge pull request #51 from laanwj/master
Make it possible to override source URL
10 years ago
Wladimir J. van der Laan 534248d236 Make it possible to override source URL
To make test builds it can be useful to point gitian at an
alternative repository.

This commit makes this possible by adding a `--url PAIRS` command line
option, that allows to optionally specify where to fetch the code, for
example:

    gbuild --url bitcoin=https://github.com/laanwj/bitcoin.git --commit bitcoin=2014_03_...
10 years ago
Simon de la Rouviere d8d01f7bad Increase time for checking if a target has started. 10 years ago
Dev Random 69de033bf4 Merge pull request #46 from tlrobinson/master
Add VirtualBox support to make-base-vm via Vagrant
10 years ago
devrandom af10dad1fd Fix sanity checking in README 10 years ago
Tom Robinson a6fdc28839 Add VirtualBox support to make-base-vm via Vagrant 10 years ago
devrandom ac4f77bcd1 Initialize umask to a known value (002) 11 years ago
Dev Random bdcbce6a0d Merge pull request #37 from TheBlueMatt/master
Fix bug + increase disk size
11 years ago
Matt Corallo 4e8ea08ee3 Fix gitian_updater checksum matching. 11 years ago
Matt Corallo 95e09ae608 Increase disk size for things like Firefox that need it. 11 years ago
devrandom 54f74f9c23 qemu-utils are required 11 years ago
devrandom 79c1217cb1 make passing env vars work across guest OS suites 11 years ago
devrandom 6919e04de1 use sudo even for root lxc so that path is set 11 years ago
devrandom f7148de91b try again 11 years ago
devrandom c47e51af72 second try 11 years ago
devrandom af52ebf6cb use shell for lxc-start exec 11 years ago
devrandom 054a72167c update README some more 11 years ago
devrandom 84796af6ac make README.md Sanity Test section work as written 11 years ago