js-g
254716a02a
docs (oracle-oci): add description and example for create_vnic_details
2020-09-08 13:53:19 -04:00
js-g
f5dc260cf5
refactor (builder/oracle-oci): pass CreateVnicDetails as struct instead of map
2020-09-08 12:03:18 -04:00
Wilken Rivera
2da89db272
Merge pull request #9905 from The-Loeki/patch-2
...
qemu vnc: hardcoded lowerbound leaves negative ports
2020-09-08 10:17:53 -04:00
Ronald van Zantvoort
e362b7f43f
build only only twice ( #9904 )
...
remove duplicate entry for build > --only
2020-09-07 11:56:28 +02:00
Ronald van Zantvoort
7335695c84
qemu vnc: hardcoded lowerbound leaves negative ports
...
```hcl2
vnc_port_min = 5000
vnc_port_max = 5500
```
Build returns faulty:
```
qemu.one: view the screen of the VM, connect via VNC to vnc://127.0.0.1:5138
(...)
2020/09/06 19:09:52 packer-builder-qemu plugin: Qemu stderr: qemu-system-x86_64: -vnc 127.0.0.1:-762,password: can't convert to a number: -762
```
2020-09-06 21:18:12 +02:00
Artis3n
4ecade3908
collectionsPath appends to the correct slice
...
Fixes what would have been a failure if roles+collections were tested at
once
2020-09-05 18:43:10 -04:00
Artis3n
39183d1b76
Updated documentation with `make generate`
2020-09-05 18:29:52 -04:00
Artis3n
9a2908d1d9
Use the galaxy playbook in the galaxy packer file
2020-09-05 18:15:42 -04:00
Artis3n
611899f7b2
Actually use the collectionArgs, that would be helpful
2020-09-05 16:51:38 -04:00
Artis3n
41a8a96821
Added acceptance test for Galaxy Collection install
2020-09-05 16:48:20 -04:00
Artis3n
3d2259a6d4
Typo fix in comment
2020-09-05 16:19:05 -04:00
Artis3n
19f0114035
Added support for Ansible Collections to the Galaxy install
...
Fixes #8821
2020-09-05 16:10:02 -04:00
Megan Marsh
94a9beaac6
fix up documentation for virtualbox key pair ssh options
2020-09-04 16:55:58 -07:00
Megan Marsh
61af278b79
document previously undocumented ssh options for tencent cloud
2020-09-04 16:50:45 -07:00
Megan Marsh
bd2aa40d2c
document previously undocumented ssh options for scaleway
2020-09-04 16:50:31 -07:00
Megan Marsh
c7356fb776
document previously undocumented ssh options for outscale
2020-09-04 16:49:48 -07:00
Megan Marsh
850fda6aa1
document previously undocumented ssh options for oracle classic
2020-09-04 16:49:31 -07:00
Megan Marsh
f3633da200
document previously undocumented ssh options for jdcloud
2020-09-04 16:49:12 -07:00
Megan Marsh
00c6efd5cf
document previously undocumented ssh options for cloudstack
2020-09-04 16:48:47 -07:00
Megan Marsh
bca4439149
add undocumented ssh options to alicloud builder docs
2020-09-04 16:48:05 -07:00
Calle Pettersson
905869308d
Split proxmox builder into a common part and iso/clone builders
...
Clone builder is still just a stub. Proof-of-concept for #9626
Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-09-04 23:53:09 +02:00
Megan Marsh
d2dd158fe2
Implement cd_files option. The Addfile code is modified from the floppy_files
...
tooling. Tested on OSX, `Windows, and Linux. Documented command line dependencies.
Added acceptance tests (behind testacc flag, since there are dependencies).
This option is only implemented for the vmware and hyperv iso builders. It will be
implemented for others in later PRs in order to make review easier.
2020-09-04 12:20:19 -07:00
Megan Marsh
dfe8aa51b0
Merge pull request #9845 from hashicorp/run_and_stream_helper_func
...
move runAndStream into a generalized helper function to enable easy l…
2020-09-04 12:19:37 -07:00
Megan Marsh
5120ad9d9a
add test file
2020-09-04 11:56:32 -07:00
Megan Marsh
20d62654ae
move runAndStream into a generalized helper function to enable easy local exectution in other places than just the docker builder
2020-09-04 11:56:32 -07:00
Kevin Pruett
bce6fdf03a
Merge pull request #9870 from hashicorp/pruett.integrate-search
...
Integrate @hashicorp/react-search into layout
2020-09-04 10:52:20 -04:00
Lars Lehtonen
03a0beb683
builder/vmware/common: simplify type assertion switch ( #9893 )
2020-09-04 16:25:19 +02:00
Wilken Rivera
6334fc2da4
Merge pull request #9891 from hashicorp/d-ssh-communicator-supported-opts
...
communicator/ssh: Add note for builder specific SSH supported options
2020-09-03 13:51:18 -04:00
Wilken Rivera
7813ad5ef4
communicator/ssh: Add note for builder specific SSH supported options
2020-09-03 13:31:47 -04:00
Sylvia Moss
ba74602d63
Allows publishing to a Shared Image Gallery with a different subscription id ( #9875 )
2020-09-03 17:13:32 +02:00
Kevin Pruett
6c4e9e9e68
Integrate @hashicorp/react-search into layout
2020-09-03 11:08:09 -04:00
Wilken Rivera
d66f85e375
Merge pull request #9887 from catsby/no-more-catsby
...
Remove comments about sharing with catsby
2020-09-03 10:20:37 -04:00
catsby
7a7d3ff350
Remove comments about sharing with catsby
2020-09-03 09:14:40 -05:00
Sylvia Moss
62e1663846
update build command with bigger max_old_space_size ( #9882 )
2020-09-03 11:48:54 +02:00
Troy Lindsay
d1a61cac33
Add NVMe controller support to vsphere-iso builder ( #9880 )
2020-09-03 11:14:58 +02:00
Troy Lindsay
602729ac23
Fix vsphere-iso acceptance tests ( #9878 ) ( #9881 )
2020-09-03 10:17:49 +02:00
Wilken Rivera
c492199ba5
Merge pull request #9877 from hashicorp/rae/move-aws-id-to-env-var
...
update sharing test to req aws account id
2020-09-02 15:57:50 -04:00
Rae Krantz
ab23e839c8
update sharing test to req aws account id
2020-09-02 11:44:38 -04:00
Adrien Delorme
efd69aea2a
console: allow to use console when there are untyped vars ( #9864 )
...
* the var will simply be "unknown"
* add a test
2020-09-02 17:19:56 +02:00
Adrien Delorme
a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. ( #9863 )
...
* tests
* docs
2020-09-02 16:26:50 +02:00
Sylvia Moss
903deb9e6a
vSphere StepHardware tests ( #9866 )
2020-09-02 10:19:57 +02:00
Megan Marsh
bddf3b03f7
Merge pull request #9832 from hashicorp/azr-inspect-allow-unsed-variables
...
Inspect allow unset variables in HCL2 and JSON
2020-09-01 11:16:54 -07:00
Megan Marsh
e96cc07a1a
Merge pull request #9853 from remyleone/boottype_local
...
change default scaleway boottype to local
2020-09-01 10:44:42 -07:00
Wilken Rivera
79bc643c17
post-processor/digitalocean-import: Update documentation ( #9865 )
...
* Add a note to use the DigitialOcean Builder when working directly on Digital Ocean
* Add HCL2 example to the documentation
2020-09-01 11:08:06 -04:00
Wilken Rivera
10e74961d2
Add check for empty artifact.Files slice ( #9857 )
...
* Add check for empty artifact.Files slice
Tests before change
```
⇶ go test ./post-processor/digitalocean-import/... -run=TestPostProcsor_extractImageArtifact
2020/08/31 13:51:25 Looking for image in artifact
--- FAIL: TestPostProcsor_extractImageArtifact (0.00s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 7 [running]:
testing.tRunner.func1.1(0xfb0300, 0xc000456460)
/usr/local/go/src/testing/testing.go:940 +0x2f5
testing.tRunner.func1(0xc0003ab560)
/usr/local/go/src/testing/testing.go:943 +0x3f9
panic(0xfb0300, 0xc000456460)
/usr/local/go/src/runtime/panic.go:969 +0x166
github.com/hashicorp/packer/post-processor/digitalocean-import.extractImageArtifact(0x0, 0x0, 0x0, 0x24, 0xc000060ea0, 0x453937, 0x1431250)
/home/wilken/Development/packer/post-processor/digitalocean-import/post-processor.go:262 +0x36d
github.com/hashicorp/packer/post-processor/digitalocean-import.TestPostProcsor_extractImageArtifact(0xc0003ab560)
/home/wilken/Development/packer/post-processor/digitalocean-import/post-processor_test.go:28 +0x2b0
testing.tRunner(0xc0003ab560, 0x1077208)
/usr/local/go/src/testing/testing.go:991 +0xdc
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1042 +0x357
FAIL github.com/hashicorp/packer/post-processor/digitalocean-import 0.009s
FAIL
```
Tests after change
```
[go-1.14.2] [1] wilken@automaton in ~/Development/packer/ on fix_9848 (ahead 1)
⇶ go test ./post-processor/digitalocean-import/... -run=TestPostProcsor_extractImageArtifact
ok github.com/hashicorp/packer/post-processor/digitalocean-import 0.006s
```
* Update to reflect review feedback
2020-09-01 10:59:01 -04:00
Adrien Delorme
bdf198594e
hcl2 inspect: sort variables to have a consistent output
2020-09-01 15:28:16 +02:00
Adrien Delorme
a25f057984
add tests for unknown values
2020-09-01 15:28:16 +02:00
Adrien Delorme
161879b98a
test unknown variables and locals
2020-09-01 11:59:07 +02:00
Adrien Delorme
652878059c
inspect command: ignore init errors as some value can be unset
2020-09-01 11:59:07 +02:00
Adrien Delorme
eb4069a1b7
hcl variables: return an unknown value in when no default is set
2020-09-01 11:59:07 +02:00