Commit Graph
18348 Commits
Author SHA1 Message Date
Jeff Escalante a159d6f9b3 intro nav 2020-04-07 17:50:47 -04:00
Jeff Escalante 37300c7203 fix backtick errors 2020-04-07 17:50:47 -04:00
Jeff Escalante bcc848a83d were rendering yay 2020-04-07 17:50:47 -04:00
Jeff Escalante 92d4553890 initial port 2020-04-07 17:50:46 -04:00
Megan Marsh 07be1a0a30 Merge pull request #8986 from vijayrajah/feature/datadisk-change_name
datadisk name change
2020-04-07 11:06:35 -07:00
Wilken Rivera 559a53184d update changelog
* Fix PR number for the execution policy bug fix
2020-04-07 06:23:16 -04:00
Wilken Rivera a58a852589 update changelog 2020-04-07 06:19:32 -04:00
Moss eac5526a28 Update prov test code 2020-04-07 11:41:03 +02:00
Wilken Rivera 1eee0bca5f Merge pull request #9011 from hashicorp/powershell-acceptance-test
provisioner/powershell: Add basic Powershell provisioner acceptance tests
2020-04-07 05:40:26 -04:00
Megan Marsh bdcc95f989 fix execution policy parser to not interfere with legit integers, and add tests (#8997) 2020-04-07 10:32:58 +02:00
Moss 388997cd1c Fix some typos 2020-04-07 10:29:17 +02:00
Wilken Rivera 1515875217 Merge pull request #9005 from hashicorp/azr/document-hcl2-json-block-type-specific-exceptions
Document Block-type-specific Exceptions in HCL2 json
2020-04-06 21:14:40 -04:00
Wilken Rivera 9d3aaa61fa Merge pull request #9012 from alrs/provisioner-shell-err
provisioner/shell: fix dropped test error
2020-04-06 18:50:31 -04:00
Lars Lehtonen 78bb742aa5 provisioner/shell: fix dropped test error 2020-04-06 14:30:19 -07:00
Wilken Rivera 360f81b030 tests/provisioners: Add TestProvsionerPreCheck function
This function can be used to check if a Provisioner has been marked for testing within the ACC_TEST_PROVISIONERS environment variable.

While testing I found that the shell acceptance test were also running when trying to run powershell tests.

Before change
```
⇶  ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test -v ./provisioner/shell/... -timeout=1h

=== RUN
TestShellProvisioner/testing_amazon-ebs_builder_against_shell_provisioner
2020/04/06 15:18:12 ui: amazon-ebs: output will be in this color.
2020/04/06 15:18:12 ui:
2020/04/06 15:18:12 Build debug mode: false
2020/04/06 15:18:12 Force build: false
2020/04/06 15:18:12 On error:
2020/04/06 15:18:12 Preparing build: amazon-ebs
2020/04/06 15:18:12 Waiting on builds to complete...
2020/04/06 15:18:12 Starting build run: amazon-ebs
2020/04/06 15:18:12 Running builder: amazon-ebs
```

After changes
```
⇶  ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test -v ./provisioner/shell/... -timeout=1h
--- SKIP: TestShellProvisioner (0.00s)
    provisioners.go:88: Provisioner "shell" not defined in ACC_TEST_PROVISIONERS
```
2020-04-06 16:52:24 -04:00
Moss 185deeeb38 Fix provisioner acc-test builder and provisioner store 2020-04-06 16:52:24 -04:00
Wilken Rivera b183c5498f provisioner/powershell: Add basic Powershell provisioner acceptance tests
* Modifies the amazon-ebs builder with a windows build configuration

```
⇶  ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test -v ./provisioner/powershell/... -run=TestPowershellProvisioner_Inline
--- PASS: TestPowershellProvisioner_Inline (256.50s)
--- PASS: TestPowershellProvisioner_Inline/testing_amazon-ebs_builder_against_powershell_provisioner (256.50s)
PASS
ok      github.com/hashicorp/packer/provisioner/powershell 256.525s
```
2020-04-06 16:52:05 -04:00
Vijay Rajah cd41ad1a40 change resource names 2020-04-07 02:17:50 +05:30
Vijay Rajah 90a0c5ec49 fix more typos ( ')]' ) 2020-04-06 22:02:43 +05:30
vijayrajah 620c791473 Merge branch 'master' into feature/datadisk-change_name 2020-04-06 21:52:43 +05:30
Moss 25b91aa3cb Update CONTRIBUTING with ajustments 2020-04-06 18:22:34 +02:00
Vijay Rajah 1009e8c983 fix more typos 2020-04-06 21:50:05 +05:30
Moss 939b5ee22d Update CONTRIBUTING with provisioner acc tests 2020-04-06 18:06:46 +02:00
Adrien Delorme 3345c85b23 Document Block-type-specific Exceptions in HCL2 json 2020-04-06 16:14:27 +02:00
Vijay Rajah 1314d69b51 fix typo (add missing ')]' ) 2020-04-06 11:40:05 +05:30
Vijay Rajah 0589f57d4d Update tests for datadisk name change 2020-04-05 01:16:24 +05:30
Megan Marsh e26df90a66 update changelog 2020-04-03 16:47:34 -07:00
Megan Marsh d29d4152ca Merge pull request #8994 from hashicorp/update_hashibot
update hashibot config not to comment when locking super old and stal…
2020-04-03 12:37:02 -07:00
Megan Marsh b26768e74a update hashibot config not to comment when locking super old and stale issues 2020-04-03 11:37:34 -07:00
Megan Marsh b804e5a8f5 Merge pull request #8987 from VaijanathB/azure-devtestlabs-take2
Building Azure devtestlabs Images using Packer - update
2020-04-03 11:14:31 -07:00