Megan Marsh
0683bc409b
add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether
2019-09-25 13:39:09 -07:00
Adrien Delorme
583d93790f
add tests for cancellation while building
2019-05-06 15:07:57 +02:00
Adrien Delorme
a2cc2532ea
add TestBuildParallel_Timeout to test errors on parallel builds
2019-05-03 09:02:56 +02:00
Adrien Delorme
852af993e6
BuildParallel: test with 3 parallel builds
2019-05-02 16:24:28 +02:00
Adrien Delorme
14486003a1
fix test to be race free
2019-05-02 15:04:02 +02:00
Brett Wandel
aaf56ffd26
added: testing
2019-05-02 08:38:56 +10:00
Adrien Delorme
d7b1b597a7
test provisionning timeout
2019-04-08 20:09:21 +02:00
Megan Marsh
217a93fc30
fix build_test.go on windows. This code needs to not be run in parallel, or else there can be race conditions with the post-processors all trying to access the same file at once. Additionally, I changed the test template itself so that it is valid code on either bash or cmd. Finally, I found and fixed a small bug in naming the file extensions in shell local inline scripts.
2019-04-04 14:57:56 -07:00
Adrien Delorme
7e2d86731e
tests: add a post-processor that creates an unnamed.txt file
2019-02-20 11:03:17 +01:00
Adrien Delorme
074a74ec38
make sure 'only' completely ignores post-processor
...
before this commit, if one would put a 'only' inside the post-processor definition, the post process could be skipped
2019-02-01 15:21:41 +01:00
Adrien Delorme
58245f2557
break a chain of post-processors when one is skipped & make `-only`
...
"blind" to post-processors
* to avoid trouble
* other arrays of post processors might still be there !
* add docs
* update tests
2019-01-11 14:08:30 +01:00
Adrien Delorme
4bf3cd44fc
allow to skip a post processor
2019-01-10 15:44:34 +01:00
Adrien Delorme
905db043c4
command.TestBuildOnlyFileCommaFlags: create some files using post processors
2019-01-10 15:44:02 +01:00
Matthew Hooker
ddf23a2c46
Complete Atlas deprecation.
...
Removes the push command and the Atlas post-processor. Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
2018-08-02 20:23:28 -07:00
Megan Marsh
fdca364f4b
allow user to mark variables as sensitive for packer push
2017-06-08 13:01:23 -07:00
Justin Campbell
16adc3f7cc
command/push: Add test for var-file push to Atlas
2016-11-07 12:52:30 -08:00
Chris Bednarski
b3eacc5c2b
Updated test to verify expected behavior
2015-07-13 19:32:28 -07:00
Chris Bednarski
28a13111b8
Add stub for validate test
2015-07-13 14:57:35 -07:00
Chris Bednarski
94e1f83070
Added a black-box acceptance test for -only and -except build flags
2015-06-27 00:47:50 -07:00
Mitchell Hashimoto
1bcb52a093
command/fix: validate resulting template [GH-2075]
2015-06-13 13:56:09 -04:00
Mitchell Hashimoto
579264bb5b
command/push: interpolate
2015-05-29 15:35:55 -07:00
Mitchell Hashimoto
c9504d50ba
command/push: send artifact true/false if we're post-processing
2014-12-09 16:14:04 -08:00
Mitchell Hashimoto
fbc1551048
command/push: partially implemented, tests
2014-12-09 16:14:03 -08:00