Commit Graph

255 Commits (13ea97a1dfebf0980d45bbdc1a2148ae341b9840)

Author SHA1 Message Date
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 fcda07ee6a clarify docs by removing unclear string (#8439)
6 years ago
Paul Meyer 3be7d81ce2 Move common steps together
6 years ago
Paul Meyer e6dfe301ac Move CommandWrapper & ShellCommand to common
6 years ago
Adrien Delorme cf1555bf17 Merge remote-tracking branch 'origin/master' into artifact-tree
6 years ago
Paul Meyer 977ca5be1c Add StepCopyFiles and StepChrootProvision
6 years ago
Paul Meyer 9a3e6661b1 Add StepMountExtra
6 years ago
Paul Meyer addbdedea9 Add StepPostMountCommands
6 years ago
Paul Meyer 4d750ddefa Reuse amazon/chroot/step_pre_mount_commands.go
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Adrien Delorme 8b8c2fc138 builder.amazon.chroot: remove specific BlockDevice definition
6 years ago
Megan Marsh 2e20facc8b fix tests
6 years ago
Megan Marsh e283023d9b make sure step_register_ami in chroot builder respects encryption and ami skip build retion values once the copy happens
6 years ago
Adrien Delorme 792f61a4ad fmt
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 9d0bc476d9 add ommited struct interpolation
7 years ago
Adrien Delorme 5517d41468 make sure all documentation fields are there
7 years ago
Megan Marsh 1a6adadb89 convert EnableAMIENASupport to trilean in code
7 years ago
Adrien Delorme 02421bad33 simplify BlockDevice prepares
7 years ago
Adrien Delorme a476ab79d7 document chroot builder using partials
7 years ago
Adrien Delorme dcc22df609 aws: move the OmitFromArtifact field in ebssurrogat where it's being used
7 years ago
Adrien Delorme a86aae1c7e mode KmsKeyId to chroot block device, as it's only used there
7 years ago
Adrien Delorme c696878d2e aws block devices mapping: BlockDevices.Build -> BuildEC2BlockDeviceMappings()
7 years ago
Adrien Delorme ff2e0298ba simplify block devices utilisation by removing intermediary types
7 years ago
Adrien Delorme e09f3fbd02 amazon: update docs & links
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
Megan Marsh 2cfba56265 fix typos
7 years ago
Megan Marsh 02c9f24531 allow user to set architecture
7 years ago
Megan Marsh 2c352cc681 add tests for step_ami_region_copy
7 years ago
Megan Marsh 201c8c1332 make sure that you encrypt using the provided kms key id and not the default
7 years ago
Adrien Delorme aee73d745d update code after go mod update
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
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
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 0196d7f835
Merge pull request #7370 from sargun/allow-users-to-specify-custom-block-device-mapping
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Sargun Dhillon 601e754438 amazon/chroot: Allow creating new block device mappings !not fromScratch
7 years ago
Megan Marsh 0abd16527e
Merge pull request #7337 from sargun/fix-chroot-builder
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
7 years ago
Sargun Dhillon 142a84ef43 amazon/chroot: Refactor step_register_ami for testing EBS-related behaviour
7 years ago
Sargun Dhillon d3c65ee77d builder/amazon/chroot: Fix building PV images with mount_partition
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
7 years ago