James Nugent
c132bd867e
vagrant: Correct name of vim package
...
The non-X11-linked version of vim recently changed name from vim-lite to
vim-console, which was preventing bootstrap.
2018-02-02 13:14:13 -06:00
James Nugent
4fc0a1ea0a
build: Allow multi-platform dev with Vagrantfile
...
This commit rewrites the Vagrantfile for Packer in a similar manner to
the work done for Nomad (hashicorp/nomad#3175 ) in order to make
cross-platform development easier. It also adds support for a FreeBSD
base box.
Provisioning scripts are separated out in order that they can be
correctly linted. Each script is prefixed `vagrant`, then the operating
system, then whether or not it expects to be run in a privileged shell.
Finally, dependencies have been bumped - Go 1.6 is switched out for the
latest (1.9.2).
2017-11-02 11:00:19 -07:00
Matthew Hooker
1e162ffd26
skip doc PRs in changelog helper
2017-10-10 17:11:28 -07:00
Matthew Hooker
339d768420
add ppc64le as a build target
2017-09-25 15:38:32 -07:00
Matthew Hooker
b7ddf80155
build solaris binary
2017-08-21 12:32:16 -07:00
Matthew Hooker
62294ade46
comments
2017-06-05 12:56:46 -07:00
Matthew Hooker
7f9e88480a
sort changelog. add script to assist.
2017-06-05 12:31:03 -07:00
Matthew Hooker
4ce0d91ae2
add support for building arm64 binaries
2017-05-15 13:31:38 -07:00
Matthew Hooker
d805f5c8a5
put back the goose
2017-05-04 20:45:17 -07:00
Matthew Hooker
97892349dd
vastly speed up dev builds.
...
Copies work from hashicorp/consul#2924
2017-05-04 20:30:09 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
fa6c6c0e13
update changelog and add prepare script
2017-01-20 12:10:13 -08:00
Matthew Hooker
d44fa76683
update windows build script for go compatibility
2016-11-09 15:11:05 -08:00
Matthew Hooker
9cf65d8e1b
say when we finish checking gofmt
2016-11-01 14:07:05 -07:00
Matthew Hooker
b8893e1aa4
fix fmt and add check
2016-11-01 13:48:10 -07:00
Matthew Hooker
c733981e92
fix makefile
2016-10-21 15:19:54 -07:00
Sean Chittenden
d430b7b763
Go's -X linker flag now requires only one argument ( #3540 )
...
This fixes building `packer` with Go >1.6. From https://golang.org/cmd/link/ :
```
-X importpath.name=value
Set the value of the string variable in importpath named name to value.
Note that before Go 1.5 this option took two separate arguments.
Now it takes one argument split on the first = sign.
```
2016-05-17 13:24:04 -07:00
Christopher Boumenot
b813a529bf
Build script for Windows. ( #3481 )
...
A re-implementation of build.sh for Windows ala PowerShell. This is as
close to one-to-one that I could make it.
2016-05-05 13:12:17 -07:00
Christopher Boumenot
728c496370
Move version to its own package. ( #3460 )
2016-04-21 13:19:43 -07:00
Chris Bednarski
2085263694
Fix problems in release script
2016-03-14 21:24:51 -07:00
Seth Vargo
4b60f17e4f
Update dist script to sign signature file
2016-02-22 14:56:45 -05:00
Chris Bednarski
d7f5f02831
Update dist scripts to use hc-releases instead of bintray
2016-02-17 20:11:25 -08:00
Chris Bednarski
5a6c782a20
Added ToSlash around windows paths so they will become unixy
2016-02-11 11:34:09 -08:00
Chris Bednarski
c10e0eb398
Removed go get from build scripts since we have these in vendor already
2016-02-05 13:42:27 -08:00
Chris Bednarski
3c8bb4ea68
Just run from root always
2016-02-05 11:16:39 -08:00
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