Commit Graph
18844 Commits
Author SHA1 Message Date
karthik P c5cf57c7bb Merge branch 'main' into karthik/powershell_fix 2025-06-04 12:03:58 +05:30
anshulSharma 3c867aa571 docs: add upgrade/release notes for 1.13.0 (#13394)
* docs: add upgrade/release notes for 1.13.0

* docs: add upgrade/release notes for 1.13.0
2025-06-04 08:15:16 +05:30
karthik P 85817176d4 adding comment for extractScript 2025-06-03 23:23:12 +05:30
karthik P 49c3512da8 fixing identation and test case 2025-06-03 23:03:02 +05:30
karthik P cbee767cbc adding new line character to each written command. 2025-06-03 22:09:49 +05:30
anshulSharma 9086931f21 bump dev version (#13389)
* bump dev version

* missing changelog addition
2025-06-03 20:59:25 +05:30
karthik P 4e62b58c88 powershell enviornment variables for script config fix 2025-06-03 17:39:32 +05:30
karthik P d0a4108ba4 init commit 2025-06-03 12:46:25 +05:30
Devashish b5ed1784c2 Update PR template for PCI (#13387) v1.13.0 2025-05-30 09:28:26 -04:00
anshulSharma 9b6353a04d release version readiness (#13384)
* release version readiness

* changelog updated
2025-05-28 11:53:23 +05:30
anshulSharma 25343c4839 changes for fixing the SHA mismatch test case (#13385) 2025-05-27 14:08:41 +05:30
anshulSharma a80c83c40e keeping the version file up to date (#13382) 2025-05-26 13:34:42 +05:30
Ryan Johnson bb4570b9dd docs: update link to vsphere examples
Updated the link for the Packer Examples for VMware vSphere after a repository transfer.

Signed-off-by: Ryan Johnson <[email protected]>
2025-05-06 13:05:07 -07:00
Devashish caed569efb Fix the failing acceptance test 2025-05-06 13:01:49 -07:00
Anurag Sharma 19fa630090 Merge pull request #13374 from hashicorp/winrm_firewall_port
Fix firewall command for WinRM HTTPS setup
2025-05-06 11:44:10 +05:30
Anurag Sharma 373727556b fix(docs): correct firewall command for WinRM HTTPS setup 2025-05-06 09:58:49 +05:30
anshulSharma e8d5ddb38a formatting multiple hcl files (#13362)
* formatting multiple hcl files

* recursive formating

* test case fixing

* test case fix

* removed not required code

* existing test code fix

* go formatting

* more test cases for new cases

* doc changes

* added additional check on error message in negative test case
2025-05-02 10:16:00 +05:30
Jenna Goldstrich f16ca7fa03 Bump /x/net and /x/crypto in plugin tester and main go.mod 2025-05-01 15:01:00 -07:00
Jenna Goldstrich 78561b84e4 Bump Next.JS 2025-05-01 15:01:00 -07:00
tanmay-hc 164aa15580 Merge pull request #13364 from hashicorp/deprecate-msg
Deprecating `Message` method in UI interface
2025-04-29 10:57:12 +05:30
Karthik P 8c228ab969 feat: Adding filebase64 function
Adding support for filebase64 function.
2025-04-28 13:05:25 +05:30
Tanmay Jain 9e90f48f2b Updated Tests 2025-04-28 12:48:45 +05:30
karthik P 6ef741d5f5 adding fn to nav data json 2025-04-28 10:51:47 +05:30
Karthik P 089df02532 Powershell Provisioner Error Handling (#13334)
* WIP Testing Approach

* WIP Testing Approach

* WIP Testing Approach Work

* WIP Testing Approach

* adding acceptance test for windows Amazon EBS.

* modify wrapper string to use Set-Variable

* fixing unit tests

* cleanup

* updated approach to use -file instead of inline powershell execution.

* adding more scenarios for acceptance test.

* using writeString for file directly.

* changing variable name

* updating test case. cleanup.

* updating test case

* updating test case

* updating test case - nested try catch

* adding unit test for None Execution Policy

* adding unit test for None Execution Policy

* fix test case
2025-04-25 11:23:32 +05:30
karthik P 5bfd778aa7 adding docs for filebase64 function 2025-04-24 23:05:04 +05:30
karthik P c109e73f12 Merging main 2025-04-24 22:54:07 +05:30
Tanmay Jain f41c2719a7 Deprecating Message method in UI interface 2025-04-24 14:16:02 +05:30
Lucas Bajolet fe6eba27f2 go.mod: bump golang.net/x/net to v0.36.0
Previous version was v0.33.0, which was detected vulnerable to
GO-2025-3503.
This is unlikely to be a bug that causes significant security concerns,
but we fix that with this commit regardless.
2025-04-22 15:07:45 -04:00
Anurag Sharma a5ac97f5d2 docs: issues when temp is noexec 2025-04-17 10:38:16 +05:30
Anurag Sharma d155ec0815 fix note not showing up 2025-04-15 15:31:15 +05:30
Anurag Sharma 1a8dd4b63f revert changes to debugging mdx 2025-04-15 15:10:17 +05:30
Anurag Sharma 80379bae09 docs: improve clarity on TMPDIR usage during plugin installation 2025-04-15 15:03:21 +05:30
Karthik P 8e36b92ce3 Preserve User-Defined Variable File Order (#13350)
* modifying the for loop to preserver user inputted variable files preference

* adding test cases

* pr comments + refactoring the for loop for better readability.

* pr comments + refactoring the for loop for better readability.

* pr comments | handling default case

* adding additional test case

* fixing test cases

* fixing test cases. creating a subdirectory to add a test case for both hcl and json auto var files

* adding test case for json auto var file
2025-04-15 10:35:16 +05:30
Karthik P 51eeadba3d feat: add sum, startswith and endswith functions
This commit adds 3 new HCL2 functions:

* `sum`: computes the sum of a collection of numerical values
* `startswith`: checks if a string has another as prefix
* `endswith`: checks if a string has another as suffix
2025-04-14 11:49:36 -04:00
Anurag Sharma 8ea6e51add reformat the file 2025-04-10 13:23:28 +05:30
Anurag Sharma cab5be8ecf docs: issues when temp is noexec 2025-04-10 13:12:43 +05:30
tanmay-hc 1d02f14871 Merge pull request #13351 from hashicorp/ssh-doc-update
Added Documentation Comments for SSH Tunnel flags
2025-04-09 12:51:40 +05:30
Tanmay Jain fe92097451 Added Documentaion Comments for SSH Tunnel flags 2025-04-07 17:42:49 +05:30
trujillo-adam 35eed086c1 Replace .io links with devdot links (#13335)
* replace .io links with devdot links

* update links in website docs readme
2025-03-28 07:10:47 -07:00
Anurag Sharma d4ebc48b89 packer_test: build acc test for shell provisioner in linux only
atm darwin and windows have issues with the shell provisioner tests.
2025-03-20 16:22:32 -04:00
Anurag Sharma 7a5fc2525a packer_test: added shell provisioner test with empty inline list 2025-03-20 16:22:32 -04:00
Anurag Sharma d3988669ea provisioner: refactored the inline script creation 2025-03-20 16:22:32 -04:00
Anurag Sharma 689024a57f provisioner: added invalid shebang test in packer_test 2025-03-20 16:22:32 -04:00
Anurag Sharma 36f6b3644f add more context for config variable usage 2025-03-20 16:22:32 -04:00
Anurag Sharma 8e75537601 check for shebang after whole script is interpolated 2025-03-20 16:22:32 -04:00
Anurag Sharma cb110b263b packer_test: added inline shebang test cases for shell provisioner 2025-03-20 16:22:32 -04:00
Anurag Sharma dfa0a4e8bb provisioner: deleted outdated inline unit tests 2025-03-20 16:22:32 -04:00
Anurag Sharma ee74751181 moved the logic to provision method 2025-03-20 16:22:32 -04:00
Anurag Sharma f21b2c8e9b test(provisioner): add test for shebang within inline script 2025-03-20 16:22:32 -04:00
Anurag Sharma e8c2f7b3b0 fix: take only first line from the script 2025-03-20 16:22:32 -04:00