Seth Vargo
5d37c58457
Store the RawContents of the template on the template object
...
This allows children to get the raw templates without re-reading the
file.
2015-02-04 13:30:40 -05:00
Mitchell Hashimoto
73c5192b35
command/push: add base_dir setting
2014-12-09 16:14:04 -08:00
Mitchell Hashimoto
c1fbc473a2
command/push: propagate token properly
2014-12-09 16:14:04 -08:00
Mitchell Hashimoto
6bd8c6ca79
command/push: support custom endpoints
2014-12-09 16:14:03 -08:00
Mitchell Hashimoto
fbc1551048
command/push: partially implemented, tests
2014-12-09 16:14:03 -08:00
Mitchell Hashimoto
835cadeee2
packer: push configuration
2014-12-09 16:14:03 -08:00
Seth Vargo
347f02a7f2
Merge pull request #1402 from jasonberanek/858-issue
...
fix build name ConfigTemplate processing [GH-858]
2014-11-26 16:30:36 -05:00
Mitchell Hashimoto
8dbe0f065c
Remove version from "packer" package
2014-10-27 20:51:34 -07:00
Jason A. Beranek
56ec6bf7af
common/command/template,packer/template: fix build name ConfigTemplate processing [GH-858]
2014-08-09 21:52:33 -05:00
Mitchell Hashimoto
5c5d62733f
fmt
2014-05-01 14:24:19 -07:00
Mitchell Hashimoto
edcb8fea30
packer: min_packer_version [GH-487]
2014-04-26 20:51:46 -07:00
Mitchell Hashimoto
e38c0424b9
packer: allow environmental variables within user vars [GH-633]
2013-12-28 09:34:17 -07:00
Mitchell Hashimoto
b5f1fd1423
packer: delete pause_before to avoid template invalids [GH-759]
2013-12-27 09:52:40 -07:00
Mitchell Hashimoto
02bb5b0a97
packer: template process build names [GH-744]
2013-12-27 09:43:59 -07:00
Mitchell Hashimoto
6a3dd16a3a
packer: template now handles user var logic
2013-12-27 09:17:51 -07:00
Mitchell Hashimoto
196a0642c4
packer: configure the build with the paused provisioner
2013-12-20 21:44:15 -08:00
Mitchell Hashimoto
ca70cd8f0e
packer: Tempaltes understand "pause_before" in provisioners
2013-12-20 12:34:20 -08:00
Mitchell Hashimoto
8e617d006b
packer: Add description to top-level template [GH-658]
2013-12-11 13:43:51 -08:00
Mitchell Hashimoto
6face65ecc
packer: skip the user var if there was an error
2013-09-24 23:01:16 +02:00
Mitchell Hashimoto
f0d0621855
packer: default user var values needn't be strings [GH-456]
2013-09-24 23:00:19 +02:00
Mitchell Hashimoto
5c02bd3d26
packer: better error message for bad provisioner only/except
2013-09-20 11:26:56 -07:00
Mitchell Hashimoto
5371f66599
packer: verify only one of 'only' or 'except' specified [GH-438]
2013-09-20 11:20:05 -07:00
Mitchell Hashimoto
12ad2cf92e
packer: verify `except` has valid builders [GH-438]
2013-09-20 11:18:00 -07:00
Mitchell Hashimoto
a31a4207df
packer: `except` meta-parameter for both prov and PP [GH-438]
2013-09-20 11:16:33 -07:00
Mitchell Hashimoto
45cd21a076
packer: `only` metaparameter for post-processors [GH-438]
2013-09-20 11:13:43 -07:00
Mitchell Hashimoto
118f4fdcce
packer: `only` metaparameter for provisioners [GH-438]
2013-09-20 10:49:35 -07:00
Mitchell Hashimoto
fd4b01cf85
packer: required user variables [GH-374]
2013-08-31 17:33:17 -07:00
Mitchell Hashimoto
747f260678
packer: template error if override specified for bad builder [GH-336]
2013-08-27 21:34:55 -07:00
Mitchell Hashimoto
a329d7dd2f
packer: remove keep_input_artifact prior to sending to build [GH-310]
2013-08-19 16:00:25 -07:00
Mitchell Hashimoto
be5ed793f9
packer: postProvisioner should be postProcessor
2013-08-19 15:55:30 -07:00
Mitchell Hashimoto
b11004b9f6
packer: ParseTemplateFile understands "-" to mean stdin
2013-08-13 09:52:32 -07:00
Mitchell Hashimoto
a17c939042
packer: export template RawConfig
2013-08-13 09:11:49 -07:00
Mitchell Hashimoto
f78d7708d1
packer: Export the raw template config structs
2013-08-13 09:10:49 -07:00
Mitchell Hashimoto
5166f511d2
common/json: add Unmarshal with method with syntax errors
2013-08-09 16:50:24 -07:00
Mitchell Hashimoto
643d9033ad
packer: add ParseTemplateFile since that is useful
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
95b598f748
packer: Template understands variables, puts it into a Build
2013-08-09 15:57:07 -07:00
Julian Phillips
40897fdfc2
packer/template: Remove name from builder rawConfig
...
This prevents the builder from rejecting the name (which it doesn't
know about) when validating the config.
2013-07-19 15:36:13 +01:00
Julian Phillips
13362ef209
Don't expose overrides directly to provisioners
...
The overrides are processed, so that the provisioner only sees the
appropriate sub-settings, so the provisioner does not need the raw
overrides.
If we leave the top-level overrides object in the provisioner
configuration, then it will be rejected as an unknown configuration
key.
2013-07-14 22:10:20 +01:00
Mitchell Hashimoto
0e9c0edade
Error if unknown root level key in template [GH-180]
2013-07-14 10:29:14 +09:00
Mitchell Hashimoto
39095e48ea
post-processor/vagrant: make output contain build name by default
...
[GH-92]
2013-07-01 15:07:09 -07:00
Mitchell Hashimoto
944d59afcd
packer: extra comments on JSON syntax error calc
2013-07-01 14:47:49 -07:00
Mitchell Hashimoto
cceb9c04b0
packer: Clean up some of the JSON syntax stuff
2013-07-01 14:46:32 -07:00
Mark Peek
2b8d6f3585
Provide line number for invalid json syntax [GH-56]
2013-07-01 13:30:08 -07:00
Mitchell Hashimoto
d180df0032
packer: Template requires builders
2013-06-29 14:02:20 -07:00
Mitchell Hashimoto
6799315081
packer: Improved logging around build runs
2013-06-18 23:05:02 -07:00
Mitchell Hashimoto
154c17163b
packer: keep_input_artifact will keep prior artifact in a PP
...
[GH-19]
2013-06-18 22:45:53 -07:00
Mitchell Hashimoto
d95f0a620a
packer: builds now have post processors as part of them
2013-06-18 09:58:39 -07:00
Mitchell Hashimoto
e851ac5d26
packer: Avoid an extra allocation by using clever addressing
2013-06-18 09:30:23 -07:00
Mitchell Hashimoto
7a07802eb4
packer: Parse post-processors in templates
...
This includes parsing for the simple, detailed, and sequential
processors.
2013-06-18 09:27:08 -07:00
Mitchell Hashimoto
46108ce13f
fmt
2013-06-17 15:19:33 -07:00