Commit Graph

391 Commits

Author SHA1 Message Date
Dom Del Nano
434a5868e1 WIP to fix a suspected issue with packer-sdc validate 2023-04-23 05:40:46 -07:00
Dom Del Nano
bea09bb3ed Add depndabot and ci job for running go tests. Ensure go versions are consistent 2023-04-15 16:15:03 -07:00
Dom Del Nano
83b1052bb4
Merge pull request #67 from ddelnano/ddelnano/add-tags-to-vms
Allow support for adding tags to VMs
2023-04-15 16:01:17 -07:00
Dom Del Nano
de1a62d88c Update config.hcl2spec.go with go generate 2023-04-15 16:00:27 -07:00
Heinrich Kruger
ea70f903c7 Update docs
(cherry picked from commit 2961af413e)
2023-04-15 16:00:27 -07:00
Heinrich Kruger
5c090071a9 Allow tagging VMs
(cherry picked from commit 4200795cf0)
2023-04-15 16:00:27 -07:00
Dom Del Nano
f6a317cb41
Merge pull request #66 from ddelnano/ddelnano/sohonetlabs/xva-create-template
Fix XVA builder
2023-04-15 15:59:52 -07:00
Dom Del Nano
2fe14d14ac Update XVA builder to use shared StepCreateInstance step 2023-04-15 15:33:08 -07:00
Dom Del Nano
7c4b652c17 Update StepCreateInstance to accommodate both ISO and XVA builders 2023-04-15 15:32:58 -07:00
Dom Del Nano
461367ad1c Move create instance step to common directory 2023-04-15 14:49:11 -07:00
Heinrich Kruger
0bb70e8957 Update XVA builder to match ISO builder 2023-04-14 21:16:31 -07:00
Heinrich Kruger
17c58e8d24 Enable xva builder to create VM from existing template 2023-04-14 21:16:31 -07:00
Dom Del Nano
de46bb8b2f
Merge pull request #65 from ddelnano/ddelnano/sohonetlabs/iso-sr
Allow ISO Storage repository to fallback to default SR if unspecified
2023-04-14 06:47:05 -07:00
Dom Del Nano
bb64b86619
Merge pull request #64 from ddelnano/revert-63-ddelnano/sohonetlabs/iso-sr
Revert "Allow ISO Storage repository to fallback to default SR if unspecified"
2023-04-14 06:44:58 -07:00
Dom Del Nano
3f0a2186bf
Revert "Allow ISO Storage repository to fallback to default SR if unspecified" 2023-04-14 06:43:21 -07:00
Dom Del Nano
cda48bd66e
Merge pull request #63 from ddelnano/ddelnano/sohonetlabs/iso-sr
Allow ISO Storage repository to fallback to default SR if unspecified
2023-04-14 00:35:25 -07:00
Dom Del Nano
3c5fc29b36 Ensure that SrISOName is no longer a required field 2023-04-14 00:34:32 -07:00
Heinrich Kruger
70fd83e803 Work around XenAPI compatibility issue to get default SR 2023-04-14 00:03:51 -07:00
Heinrich Kruger
d8294d3ccd Use default SR if sr_iso_name is not specified 2023-04-14 00:03:51 -07:00
Heinrich Kruger
ffc0ffb5cd Work around XenAPI compatibility issue to get default SR 2023-04-13 23:27:34 -07:00
Heinrich Kruger
416c734853 Use default SR if sr_iso_name is not specified 2023-04-13 23:27:34 -07:00
Dom Del Nano
b55b096836
Merge pull request #60 from ddelnano/ddelnano/remove_iso_checksum_type_and_fix_tests
Remove iso checksum type and fix tests
2023-04-06 23:28:46 -07:00
Dom Del Nano
6c808da038 Remove remaining usages of iso_checksum_type, fix config.hcl2spec.go generation and re-run it 2023-04-06 23:23:51 -07:00
somerandomqaguy
6b0b4baf2f Remove iso_checksum_type checks
This aligns the Xenserver plugin to being a bit more inline with what
Packer > 1.6.0 is expecting, since packer now simply ignores the
iso_checksum_type (it's supposed to error out but that code path isn't
working right now because we don't set PluginType in the configs. The
unit tests have been altered to reflect this reality.

Note that this isn't a comprehensive change; the config still has the
inert ISOChecksumType, and there's probably a laundry list of other
things that needs to be looked at, For now though, we have working
unit tests again.

Documentation from SDK has been aligned for iso_checksum
2023-04-06 23:12:25 -07:00
somerandomqaguy
c49d4ebf12 Capture actual errors from Prepare
Solves TestBuilderPrepare_InvalidKey failing, since we weren't capturing
it's errors before.
2023-04-06 23:12:25 -07:00
somerandomqaguy
880d12c66f Get the tests compiling again.
Looks like the consts got moved into common
2023-04-06 23:12:25 -07:00
Dom Del Nano
9cc7249127
Merge pull request #59 from AtaxyaNetwork/FixIsoSR
s/SrName/SrISOName
2023-04-06 22:48:06 -07:00
AtaxyaNetwork
b4d83eb533 s/SrName/SrISOName
Signed-off-by: AtaxyaNetwork <contact@ataxya.net>
2023-04-06 18:27:24 +02:00
Dom Del Nano
a267698fad
Merge pull request #58 from arnaudcharles/fixing-documentation
Fixing documentation
2023-03-30 23:34:41 -07:00
Arnaud Charles
5d0cff3fc6 Fixing main md links and doc links 2023-03-03 12:57:19 +01:00
Arnaud Charles
479e16a2c1 Fixing main md links and doc links 2023-03-03 12:56:34 +01:00
Arnaud Charles
d15616c1d2 Fixing main md links and doc links 2023-03-03 12:53:23 +01:00
Arnaud Charles
dcb839e131 Fixing main md links and doc links 2023-03-03 12:48:55 +01:00
Dom Del Nano
8c58db3504
Merge pull request #57 from ddelnano/ddelnano/add-dynamic-ubuntu-example
Update ubuntu example to be resilient to upstream minor releases
2023-02-27 21:42:01 -08:00
Dom Del Nano
6eeea7dc64 Use 30 GiB root volume 2023-02-27 21:37:21 -08:00
Dom Del Nano
52cd604a9b Refactor template name to use a map lookup on Ubuntu version 2023-02-27 21:37:07 -08:00
Dom Del Nano
73e173370a Update ubuntu example to be resilient to upstream minor releases 2023-02-27 21:20:11 -08:00
Dom Del Nano
4f90bf5f17
Merge pull request #56 from ddelnano/ddelnano/prevent-iso-from-being-uploaded-each-time
Prevent ISO used in iso builder from being uploaded if it already exists
2023-02-27 07:24:34 -08:00
Dom Del Nano
0ccc53b8b5 Prevent ISO used in iso builder from being uploaded if it already exists 2023-02-26 23:23:28 -08:00
Dom Del Nano
55e3b071e3
Merge pull request #55 from ddelnano/revert-54-ddelnano/update-ubuntu-example-to-be-resilent-to-new-releases
Revert "Update the ubuntu example to be resilient to ISO releases"
2023-02-26 23:05:12 -08:00
Dom Del Nano
752bd52f61
Revert "Update the ubuntu example to be resilient to ISO releases" 2023-02-26 21:09:29 -08:00
Dom Del Nano
f72f00341c
Merge pull request #54 from ddelnano/ddelnano/update-ubuntu-example-to-be-resilent-to-new-releases
Update the ubuntu example to be resilient to ISO releases
2023-02-26 20:06:18 -08:00
Dom Del Nano
69bae007b6 Update the correct README doc with the packer 1.8 requirement 2023-02-26 20:04:39 -08:00
Dom Del Nano
88e52b581f Update the ubuntu example to be resilient to ISO releases 2023-02-26 19:57:21 -08:00
Dom Del Nano
f7a8fa4959 Ensure gpg github action has parameters passed properly
(cherry picked from commit 2b2ba8540d1acfa0884e8db1367b32495bc39259)
2023-01-22 22:43:57 -08:00
Dom Del Nano
e9f55883e3
Merge pull request #52 from ddelnano/fix-release-github-actions-job
Remove hashicorps gpg github action to one that doesn't collide with Github's
2023-01-21 00:24:25 -08:00
Dom Del Nano
4df2465c06 Remove hashicorps gpg github action to one that doesn't collide with GitHub's gpg agent 2023-01-21 00:22:04 -08:00
Dom Del Nano
8a823a13eb Update the ubuntu example to use an available 20.04 iso and proper clone_template default 2023-01-21 00:09:12 -08:00
Dom Del Nano
79c6b508a4
Merge pull request #51 from BryceTech122/master
Fix cloudinit ready template generation
2023-01-21 00:06:16 -08:00
BryceTech122
4b531de0ff add step to remove disks param from other-config 2023-01-12 11:46:10 -07:00