Commit Graph

84 Commits

Author SHA1 Message Date
Mathias Meyer 971cdd22d7 Run two builds in parallel with go get.
By default, go get determines parallelism based on the number of
cores available. Those show up as 32 in the Travis CI environment
but a virtual machine is limited both by the amount of cores it
has allocated and the amount of memory available to it. 32 parallel
build processes are likely to exhaust the memory resources, leading
to killed processes.

This change reduces the number of builds running concurrently to 2,
which should reduce the likelihood of memory exhaustion greatly.

The number could probably be dialed up a little bit, but this should
give a good default reflecting the environment's resources.
2014-09-11 07:55:07 +02:00
Mitchell Hashimoto 2788ccc653 Update scripts to latest HashiCorp style 2014-09-02 15:13:55 -07:00
Sudharshan S 02e7161b29 Install gox during build time
Just so that we can just run `make` without installing gox separatelyy
2014-07-19 22:02:49 +05:30
Ross Smith II 55016b881a another attempt at fixing echo -e 2014-04-21 10:50:28 -07:00
Ross Smith II afd2e2d033 removed extraneous -e from make output [GH-991] 2014-04-21 09:30:51 -07:00
Christian Berendt e7e30acaec fixing colored output of Makefile
The colored output is broken when using Zsh.

\033[32;01m==> Installing dependencies\033[0m
\033[32;01m==> Building\033[0m

After adding the parameter -e to echo I get the expected green lines.
2014-03-31 14:21:01 +02:00
Mitchell Hashimoto 2b884d194e update makefile to latest 2013-11-18 15:37:14 -08:00
Matthew Hooker d3c2b3492c use interactive shell to run build script. 2013-09-24 01:40:42 -07:00
Mitchell Hashimoto 3eb744249f make updatedeps updates the core deps too 2013-09-22 09:55:01 -07:00
Mitchell Hashimoto 3f4c9a500e Add clean to .PHONY list in Makefile 2013-09-22 09:54:21 -07:00
Mitchell Hashimoto a2e6e8b398 Add updatedeps to .PHONY list in Makefile 2013-09-22 09:53:53 -07:00
Matthew Hooker dcb1bb7624 updatedeps target. 2013-09-17 04:35:07 -07:00
Mitchell Hashimoto 9fb38cc9d6 add `make deps` 2013-08-13 21:42:08 -04:00
Radu Voicilas f415fc18ef Add a clean target to the Makefile 2013-07-18 10:40:23 -04:00
Eric Lathrop ff0647bc6c Remove newline from test import paths.
When running "make test" on my machine, I got many unrecognized import
path errors, and the path showed a trailing "\n". Changing the go list
format to remove the newline fixed these.
2013-07-01 19:25:23 -04:00
Julian Phillips c077232744 Fix building on Ubuntu
1) /bin/sh is not /bin/bash, so build.sh needs to explictly use /bin/bash
2) dash's echo does not support \x, but it does support \0 (since dash is
   /bin/sh, it gets used by Makefiles).
2013-06-30 13:15:19 +01:00
Mitchell Hashimoto df6de5beab move scripts into the scripts/ folder 2013-06-19 22:44:02 -07:00
Mitchell Hashimoto 7eb8daaa9c Much better Makefile coupled with shell script 2013-05-23 21:57:30 -07:00
Mitchell Hashimoto d6efe3c757 builder/amazonebs, plugin/builder-amazon-ebs 2013-05-08 22:34:20 -07:00
Mitchell Hashimoto 04563764a0 `packer build` now communicates through RPC! 2013-05-07 11:50:42 -07:00
Mitchell Hashimoto 91ade277a6 Create the build command/plugin 2013-05-07 11:39:32 -07:00
Mitchell Hashimoto 9849a98b6b Show the stderr for when test builds fail 2013-04-20 18:17:44 -06:00
Mitchell Hashimoto c2ee139973 Don't install test dependencies 2013-04-15 14:41:57 -07:00
Mitchell Hashimoto d9b07bcf4a Ignore Makefile change 2013-04-15 14:36:53 -07:00
Mitchell Hashimoto 85f177b98a update makefile to clear pkg to force rebuilding of our packages 2013-04-15 14:36:27 -07:00
Mitchell Hashimoto 791e048268 Makefile to grab test dependencies 2013-03-25 14:17:21 -07:00
Mitchell Hashimoto 91c524c7ec More environment testing 2013-03-24 14:47:59 -07:00
Mitchell Hashimoto 215dba3d38 Go get all package dependencies 2013-03-24 14:40:20 -07:00
Mitchell Hashimoto ca93f645be packer.Ui tests 2013-03-24 14:31:18 -07:00
Mitchell Hashimoto db1c11fff5 Lots of stuff, too early for meaningful commit messages
UI, command dispatch
2013-03-24 14:03:53 -07:00
Mitchell Hashimoto 817822abab Amazon builder 2013-03-23 18:40:26 -07:00
Mitchell Hashimoto 41f77eb38f go get in Makefile 2013-03-23 17:38:52 -07:00
Mitchell Hashimoto 642a4586b2 Do things the "Go" way 2013-03-23 14:41:09 -07:00
Mitchell Hashimoto 1578f9612d Instructions for working on Packer 2013-03-23 00:48:20 -07:00