Commit Graph

455 Commits

Author SHA1 Message Date
Dom Del Nano
3cd902b9b6 Upgrade go to 1.17 and update deps 2023-07-07 23:10:14 -07:00
Dom Del Nano
2379ca3afc
Merge pull request #85 from ddelnano/ddelnano/add-github-release-note-autogeneration
Add configuration for github release generation
2023-07-07 08:18:20 -07:00
Dom Del Nano
58fc1930bc Allow goreleaser to publish the github release and have it run go tests 2023-07-07 08:17:23 -07:00
Dom Del Nano
02280e60e4 Add configuration for github release generation 2023-07-07 08:13:27 -07:00
Dom Del Nano
524ef18847
Merge pull request #84 from ddelnano/ddelnano/allow-not-specifying-xs-tools
Allow users to specify if xs tools should be managed by packer or not
2023-07-07 08:08:21 -07:00
Dom Del Nano
dac47c649b Fix tests
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
2023-07-07 07:59:05 -07:00
Cécile MORANGE
8ef30c26e4
remove ToolsIsoName 2023-07-07 09:08:24 +02:00
Cécile MORANGE
609ef7317e
remove packer.json 2023-07-07 09:00:17 +02:00
Cécile MORANGE
7841481ee0
add tools_iso_name in the doc 2023-06-21 17:21:22 +02:00
Cécile MORANGE
0b9d7be27e
don't use tools by default 2023-06-21 17:16:18 +02:00
Dom Del Nano
767809c80f
Merge pull request #78 from AtaxyaNetwork/patch-1
Add xva_compressed to the documentation
2023-05-15 07:15:40 -07:00
Cécile Morange
785b62ad24
Update xenserver-iso.html.markdown
Add xva_compressed to documentation
2023-05-15 09:06:08 +02:00
Dom Del Nano
5759ecea09
Merge pull request #70 from ddelnano/include-firmware-in-documentation
Add the firmware argument to the builder documentation since it was missing
2023-04-24 05:50:18 -07:00
Dom Del Nano
4646bde57c Add the firmware argument to the builder documentation since it was missing 2023-04-23 05:46:20 -07:00
Dom Del Nano
a7ec448ce6
Merge pull request #68 from ddelnano/ddelnano/add-dependabot-and-pr-testing
Add dependabot and ci job for running go tests. Ensure go versions are consistent
2023-04-15 16:17:52 -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