Commit Graph

56 Commits

Author SHA1 Message Date
Seth Vargo b9b26b83c8 Remove old scripts 2016-01-13 21:52:33 -05:00
Rickard von Essen 38612d45a9 Make all scripts portable regardless of where bash is installed. 2015-11-04 15:29:26 +01:00
Chris Bednarski a143f1e085 Updated build.sh so it doesn't build all the plugins separately anymore 2015-10-21 16:57:38 -07:00
Chris Bednarski eb8a0bf731 Add some documentation to generate-plugins 2015-10-21 16:57:38 -07:00
Chris Bednarski 9c68f039b3 Don't suppress errors from provisioners or post-processors 2015-10-21 16:57:38 -07:00
Chris Bednarski 6783bc3fb0 Added generator for command/plugin.go so we don't have to edit it by hand to add new plugins 2015-10-21 16:57:38 -07:00
Seth Vargo 8f727219d9 Use a faster deploy script 2015-10-08 13:50:50 -04:00
Chris Bednarski 938f2178d7 Overhaul the Makefile
- Fix updatedeps reverting to master, which causes Travis CI to produce invalid results for pull-request builds. The makefile attempts to detect this change and checkout the correct branch if it happens.
- Clean up the code style and failure messaging.
- Add / update proxy targets for common workflows: default, deps, ci, release
2015-08-21 18:25:58 -07:00
Gonzalo Peci 0006cce41b When using MinGW gopath uses ; as separators, if we use : it strips everything after the driver letter. EG: C:\GO_Working\ gets stripped to C and makes ```make dev``` and ```make``` fail 2015-08-21 13:58:33 +12:00
Mitchell Hashimoto ddeefdcedd scripts: ignore errors on gox for now 2014-09-11 11:51:44 -07:00
Mitchell Hashimoto fd54017233 scripts: reintroduce dist 2014-09-11 11:51:20 -07:00
Mitchell Hashimoto f4b73c7ebf scripts: build should do everything now 2014-09-11 11:16:59 -07:00
Mitchell Hashimoto c5dc0f9e7d scripts: add openbsd/freebsd to builds 2014-09-10 16:10:33 -07:00
Ross Smith II f36b20ca28 make sure executable is named packer.exe in Windows build [GH-1483] 2014-09-10 09:47:49 -07:00
Mitchell Hashimoto 7078c2f922 Fix some scripts 2014-09-08 17:03:38 -07:00
Mitchell Hashimoto a23eb7512f scripts: copy packer- prefixed bins properly [GH-1467] 2014-09-07 15:58:36 -07:00
Mitchell Hashimoto 49ac4acdd2 scripts: able to set XC_ARCH/OS manually 2014-09-04 15:13:29 -07:00
Mitchell Hashimoto 2788ccc653 Update scripts to latest HashiCorp style 2014-09-02 15:13:55 -07:00
Nick Presta e0b6943c1c Updating check for version when on devel. 2014-08-19 21:26:01 -04:00
Ross Smith II 8cdd784e46 scripts: fix executable name when packer dir is a symlink 2014-04-28 19:06:08 -07:00
Mitchell Hashimoto 130c0b1ce5 scripts: copy compilation into bin 2014-04-26 12:49:41 -07:00
Mitchell Hashimoto 802f9cb473 scripts: styles 2014-04-26 12:46:09 -07:00
Ash Caire 09f2595715 Fix syntax error
Fix issue where using double quotes instead of round brackets would cause the following error:
./scripts/devcompile.sh: line 30: 10#1.2 > 10#1.2.1: syntax error: invalid arithmetic operator (error token is ".2 > 10#1.2.1")
2014-03-13 22:14:06 +11:00
Mitchell Hashimoto 602ed10e89 scripts: devcompile works properly in Cygwin 2014-01-16 15:52:42 -08:00
Mitchell Hashimoto e4d6a157f0 scripts: Fix slight bash error 2014-01-16 12:16:12 -08:00
Rickard von Essen 5d75944ef3 Fixes #806 Build fails if GOPATH has multiple paths 2014-01-10 16:35:07 +01:00
Sudharshan S d22b2a011d Verify go version when building packer.
Check if the installed version is greater than the required version. Error out if that's not the case
2013-12-16 18:52:37 +05:30
Mitchell Hashimoto 2c43991936 scripts: upload works with new build style 2013-11-19 13:30:09 -08:00
Mitchell Hashimoto 8516e03eed scripts: update to use gox 2013-11-18 15:37:14 -08:00
Mitchell Hashimoto 5d3b40dcbf Build script now installs binaries to $GOPATH/bin 2013-10-20 16:16:05 -07:00
Kirill Kazakov 678eb38e18 scripts: build.sh exits without being killed by SIGTERM 2013-09-27 14:27:47 +04:00
Mitchell Hashimoto 1e309b6609 scripts: PACKER_NO_BUILD_PARALLEL to build in sequence 2013-09-22 10:03:04 -07:00
Mitchell Hashimoto 6511b1892c scripts: build.sh compiles all Packer components in parallel 2013-09-22 09:58:34 -07:00
Mitchell Hashimoto 5b7865f085 scripts: build.sh appends .exe on Windows [GH-397] 2013-09-06 11:34:01 -07:00
Mitchell Hashimoto fd64600414 scripts: build go get ./... early to speed up builds 2013-08-21 11:20:55 -07:00
Mitchell Hashimoto 185f176937 scripts: set PACKER_RACE to build with race detector 2013-08-21 11:15:09 -07:00
Mitchell Hashimoto eb9ef51d96 scripts: update dist.sh to latest go-xc 2013-08-18 10:38:00 -06:00
Mitchell Hashimoto 923521e5df scripts: full SHA1 in build, not short 2013-08-12 09:17:03 -07:00
Mitchell Hashimoto d7140cd99b scripts: make dist executable 2013-07-31 12:36:05 -07:00
Ross Smith II 071a6099c8 fixes #221 Add support for VMWare Workstation in Windows 2013-07-27 13:00:21 -07:00
Mitchell Hashimoto badd5df3cd scripts: Use XC_ARCH/XC_OS to limit what arch/os combo is built 2013-07-16 14:36:54 -07:00
Mitchell Hashimoto 56aff48143 scripts: add -e to build.sh again 2013-07-09 12:42:54 -07:00
Mitchell Hashimoto d7ecf57b06 script: build completes 2013-07-09 12:41:36 -07:00
Steven Merrill 6a79d797d2 Don't allow a dirty Git tree to fail the make command. 2013-07-09 01:24:19 -04:00
Mitchell Hashimoto 45dfcf59c9 scripts: Add git commit to builds 2013-07-08 15:37:01 -07: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 2bdd838d90 scripts: dish.sh should prefix exe's with 'packer-' [GH-39] 2013-06-28 22:05:03 -04:00
Mitchell Hashimoto 5afa38e13b scripts: SHASUMs should include full version 2013-06-28 10:37:57 -04:00
Mitchell Hashimoto f030623b62 scripts: fix prerelease detection 2013-06-28 10:35:24 -04:00
Mitchell Hashimoto 3868a69dec scripts: Get rid of the password on zips 2013-06-28 10:34:15 -04:00