Commit Graph

320 Commits (2dbfef57504d06ac27909297f2e97656956213b0)

Author SHA1 Message Date
Adrien Delorme 13ea97a1df mapstructure-to-hcl2: make basic named types pointers ( optional )
6 years ago
Adrien Delorme 731904d3d2 mapstructure-to-hcl2: use accessor for named types and not named type + go genrate + tests
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh 3389d843f0 update all provisioners that used the winrmpassword tooling to use the new generateddata option
6 years ago
Lars Lehtonen b68c75ea3e
builder/openstack: remove dead testConfig() function
7 years ago
Andrey Kaipov 5da5b00e1c [builder/openstack] adds option to discover provisioning network
7 years ago
Kevin Puetz 00d0297d26 Merge branch 'master' into issue8178
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Kevin Puetz 6e069c94e8 fix: set openstack metadata for use_blockstorage_volume
7 years ago
Marek Winkler 0bd256326f builder/openstack: Fix interface conversion panic when attempting to find a volume when not using volumes
7 years ago
Marek Winkler 7e6f58f699 builder/openstack: fix issue 5575 - support shutdown by Sysprep
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Lars Lehtonen 6c1ce2bd9a builder/openstack: Fix dropped error
7 years ago
Adrien Delorme d135106171 fix more docs
7 years ago
Adrien Delorme 2db109d55b Merge branch 'master' into scrape_doc_to_builder_struct_config
7 years ago
Pratyush Singhal dbb50337bc
fix: out of scope blockStorageClient nil value issue
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
psinghal20 bbd71136dc
fix: move adding metadata step after waiting for uploading step
7 years ago
Justin Georgeson c0ee859559 OpenStack builder store WinRM password for provisioners to use
7 years ago
Megan Marsh 3d22535742
Merge pull request #7884 from jprorama/fix-7171
7 years ago
Megan Marsh 54a7b4f377 update comments and docs
7 years ago
y-kuno 6305c555df Add openstack image min_disk option
7 years ago
Megan Marsh 975ee377b2
Merge pull request #7792 from psinghal20/issue-7721
7 years ago
John-Paul Robinson 038e9f316c Clean patch formatting with make fmt
7 years ago
John-Paul Robinson 5fe9f3980d Fix #7171: select instance network on which to assign floating ip
7 years ago
Megan Marsh ba66d5d857
Merge pull request #7831 from hashicorp/fix_ssh_interface
7 years ago
Megan Marsh 0cfe8e7070 allow ssh_host override for OpenStack
7 years ago
Megan Marsh 6ad975f296 Revert "move SSHInterface/SSHIPVersion fields to communitator.Config struct"
7 years ago
Pratyush singhal 6c8421e802 fix: fix volumes.Delete method call
7 years ago
Pratyush singhal cf8bfa56f0 fix: set openstack image metadata with use_blockstorage_volume
7 years ago
Adrien Delorme 67d96d5103 openstack: document using partials from struct conf
7 years ago
Adrien Delorme 4bf6a56d71 split communitacor.SSH & communitacor.WinRM to facilitate documentation
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Olaf Seibert 377867969b Remove some debugging messages.
7 years ago
Olaf Seibert 43bb372f84 Fix edge case with results spread over several pages
7 years ago
Olaf Seibert 58f8f088e2 Add image filtering on properties.
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
bh9 cbbbc451b5
Allow both ports and networks in openstack builder
7 years ago
Megan Marsh e97f864016
Merge pull request #7395 from josepand/openstack_force_delete
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
josepand f2b42f2b4b Expose force_delete for openstack builder
7 years ago
Megan Marsh 5aeab4ec06
Merge pull request #7300 from kmbulebu/openstack_app_creds
7 years ago
Adrien Delorme b9411712eb builder/openstack/step_create_image.go: pass context for cancellation
7 years ago
Megan Marsh c7278e871c
Merge pull request #7038 from kmbulebu/openstack_deprecated_api
7 years ago
Kevin Bulebush cd1f1165ed Support reading app creds from packer config
7 years ago
Kevin Bulebush 2edf3d8b8e Openstack: Added application credential config
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Rickard von Essen c8fab8c7a3
Merge pull request #7037 from kmbulebu/openstack_tags
7 years ago
Rickard von Essen e3f82d3725
Merge pull request #6933 from cb-oath/openstack-v2-network-optional
7 years ago
Johannes J. Schmidt a545caa24a use openstack volume_size option on creation
7 years ago
Johannes J. Schmidt 336c11c54a add openstack volume_size option
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Kevin Bulebush 76d1bf567e Replaced compute/v2/images with imageservice/v2/images.
7 years ago
Kevin Bulebush 802e7d467d openstack: Add support for tagging new images.
8 years ago
Mikhail Ushanov 536252683e builders: reuse private key file reading function
8 years ago
chbell43 653fa2298f use guard clauses
8 years ago
chbell43 ea78cb62fd Make the config.networkV2Client conditional
8 years ago
Megan Marsh 9fe27c225b
Merge pull request #6703 from shield-9/wait_volume
8 years ago
Adrien Delorme 37c6f08abe Revert "Fix bugs"
8 years ago
Adrien Delorme 016b0985a6 builder/openstack: use config as a pointer so values could be set
8 years ago
Matthew Hooker 9181570bc3
remove stray struct dumps in logs
8 years ago
Rickard von Essen 838d5021f5 openstack: use source_image_name to find UUID
8 years ago
Daisuke Takahashi 3b8aba2d24 OpenStack: wait for volume availability when cleaning up
8 years ago
Daisuke Takahashi c848f59a55 Check condition for image_disk_format option
8 years ago
Daisuke Takahashi b7bd3d4b34 OpenStack: Change option name to `image_disk_format`
8 years ago
Daisuke Takahashi 904dd1df63 Add disk_format option for OpenStack builder
8 years ago
Adrien Delorme fc75449e06
Merge pull request #6713 from hashicorp/cleanup_keys
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Daisuke Takahashi 02139dcb69 Fix bugs
8 years ago
Adrien Delorme d159c0900b openstack: use config only where needed
8 years ago
Adrien Delorme b0c09087a2 move SSHInterface/SSHIPVersion fields to communitator.Config struct
8 years ago
Adrien Delorme 92570a2725 builder.openstack: use c.Comm for ssh
8 years ago
Adrien Delorme 9a9b82715b config.Comm.SSHKeyPair => SSHKeyPairName
8 years ago
Adrien Delorme 324c46279b up test
8 years ago
Adrien Delorme b83c72fd54 more private keys in config
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Megan Marsh 1f79b430ee
Merge pull request #6610 from hashicorp/filter_logs
8 years ago
Tom Carrio e2fe5cd775 Updated test cases to cover bad filters and empty()
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Rickard von Essen 3b49caaf40 OpenStack: refactored how source_image_filter is handled to remove reflection
8 years ago
Rickard von Essen bd1961b927 Correctly fail if no Image matches filter
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Tom Carrio c5fe1e9e34 Updated to @rickard-von-essen's code review suggestions, including:
8 years ago
Tom Carrio 5ca5c037eb Updated filter parser to log all invalid values/fields provided by user
8 years ago
Tom Carrio fc19cd8d28 Updated limit logic, removed limiter, updated test cases and sort field used
8 years ago
Tom Carrio 4147062802 Internally handling most_recent logic.
8 years ago
Tom Carrio 2d5d1890d4 Switching sort method
8 years ago
Tom Carrio 8d98237a15 I should have a git-status alias to make fmt
8 years ago
Tom Carrio 036918b81b Updated to comments in PR#6490 - Thanks @haxorof
8 years ago
Tom Carrio db3d2682b5 Updated allowed filters to tags, visibility, owner, and name. Test cases updated and passed
8 years ago
tcarrio e9e58e6b2b Tags field parsed from "tags" and updated test case
8 years ago
Tom Carrio c8fd53d60b make fmt
8 years ago
Tom Carrio de9999ecb9 Updated tag to slice, docs, comments, only active images, source_image_name supercedes filter name
8 years ago