Commit Graph

14875 Commits

Author SHA1 Message Date
Jeff Escalante f48529e6ff
a variety of markdown fixes 2020-04-07 17:50:49 -04:00
Jeff Escalante db48bf7d58
adjust builder nesting paths 2020-04-07 17:50:49 -04:00
Jeff Escalante 68e1ea2296
clean up html links 2020-04-07 17:50:49 -04:00
Jeff Escalante 5bebcb097c
update deps 2020-04-07 17:50:49 -04:00
Jeff Escalante ace31df874
docs pages navigation 2020-04-07 17:50:49 -04:00
Jeff Escalante 02e297b034
guides section nav 2020-04-07 17:50:48 -04:00
Jeff Escalante 2330936035
further intro cleanup 2020-04-07 17:50:47 -04:00
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
Megan Marsh 8840b4a830
Merge pull request #8625 from hashicorp/remove_ansible_proxy
Remove ansible proxy
2020-04-03 09:23:10 -07:00
Sylvia Moss 665330de92
Write generic Builder-Provisioner acceptance test logic (#8963) 2020-04-03 18:17:09 +02:00
Megan Marsh a5b0f53fa4
Update website/source/docs/provisioners/ansible.html.md.erb
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2020-04-03 08:54:51 -07:00
Moss a8aecb7c7a Update CHANGELOG 2020-04-03 17:03:07 +02:00
vijayrajah aba9797730
Fix :: allow Managed data disks to be used with azure shared image gallery image Sources (#8912) 2020-04-03 10:18:02 +02:00
Vaijanath Angadihiremath 20379c9eff Rebasing with origin/master and fixing issues 2020-04-02 18:15:08 -07:00
Vaijanath Angadihiremath 8194b664af Fixing issues due to merge. 2020-04-02 17:25:41 -07:00
Megan Marsh 9af1ee29e4 ran go mod vendor 2020-04-02 17:25:09 -07:00
Vaijanath Angadihiremath b7d85b8a23 Added acceptance tests for DTL. Fixed couple of issues with DTL root resource group not set to new directory 2020-04-02 17:23:21 -07:00
Vaijanath Angadihiremath 69015b1870 Fixing the linting errors 2020-04-02 17:22:39 -07:00
Vaijanath Angadihiremath fd21b669db Fixing the linting errors now required for merging 2020-04-02 17:22:16 -07:00
Vaijanath Angadihiremath c815a5df67 Fixing the Make Ci errors 2020-04-02 17:18:41 -07:00
Vaijanath Angadihiremath d43fb441b9 Updating the credentials to be picked up from environment variables. 2020-04-02 17:18:00 -07:00