From 08d1dfe36c9dba6ce36661c38a825a56bef3afd4 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Wed, 26 Apr 2023 14:06:57 -0400 Subject: [PATCH] Remove external plugin for Digital Ocean (#12376) The Digital Ocean plugin is now maintained and released by the Digital Ocean team. To ensure users are downloading the latest available version the plugin will nolonger be bundled with Packer. --- command/vendored_plugins.go | 4 ---- go.mod | 2 -- go.sum | 4 ---- 3 files changed, 10 deletions(-) diff --git a/command/vendored_plugins.go b/command/vendored_plugins.go index 95065a75e..dfbf684e2 100644 --- a/command/vendored_plugins.go +++ b/command/vendored_plugins.go @@ -10,8 +10,6 @@ import ( // still vendored with Packer for now. Importing as library instead of // forcing use of packer init, until packer v1.8.0 - digitaloceanbuilder "github.com/digitalocean/packer-plugin-digitalocean/builder/digitalocean" - digitaloceanimportpostprocessor "github.com/digitalocean/packer-plugin-digitalocean/post-processor/digitalocean-import" alicloudecsbuilder "github.com/hashicorp/packer-plugin-alicloud/builder/ecs" alicloudimportpostprocessor "github.com/hashicorp/packer-plugin-alicloud/post-processor/alicloud-import" amazonchrootbuilder "github.com/hashicorp/packer-plugin-amazon/builder/chroot" @@ -99,7 +97,6 @@ var VendoredBuilders = map[string]packersdk.Builder{ "azure-chroot": new(azurechrootbuilder.Builder), "azure-dtl": new(azuredtlbuilder.Builder), "cloudstack": new(cloudstackbuilder.Builder), - "digitalocean": new(digitaloceanbuilder.Builder), "docker": new(dockerbuilder.Builder), "googlecompute": new(googlecomputebuilder.Builder), "hcloud": new(hcloudbuilder.Builder), @@ -152,7 +149,6 @@ var VendoredProvisioners = map[string]packersdk.Provisioner{ var VendoredPostProcessors = map[string]packersdk.PostProcessor{ "alicloud-import": new(alicloudimportpostprocessor.PostProcessor), "amazon-import": new(anazibimportpostprocessor.PostProcessor), - "digitalocean-import": new(digitaloceanimportpostprocessor.PostProcessor), "docker-import": new(dockerimportpostprocessor.PostProcessor), "docker-push": new(dockerpushpostprocessor.PostProcessor), "docker-save": new(dockersavepostprocessor.PostProcessor), diff --git a/go.mod b/go.mod index 5e281de6f..299b5a3ff 100644 --- a/go.mod +++ b/go.mod @@ -60,7 +60,6 @@ require ( ) require ( - github.com/digitalocean/packer-plugin-digitalocean v1.1.1 github.com/hashicorp/packer-plugin-alicloud v1.0.7 github.com/hashicorp/packer-plugin-ansible v1.0.3 github.com/hashicorp/packer-plugin-azure v1.4.0 @@ -142,7 +141,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/digitalocean/go-libvirt v0.0.0-20201209184759-e2a69bcd5bd1 // indirect github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001 // indirect - github.com/digitalocean/godo v1.82.0 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/dylanmei/iso8601 v0.1.0 // indirect github.com/emirpasic/gods v1.12.0 // indirect diff --git a/go.sum b/go.sum index f2fcdcd2f..65f053dd7 100644 --- a/go.sum +++ b/go.sum @@ -202,10 +202,6 @@ github.com/digitalocean/go-libvirt v0.0.0-20201209184759-e2a69bcd5bd1 h1:j6vGfla github.com/digitalocean/go-libvirt v0.0.0-20201209184759-e2a69bcd5bd1/go.mod h1:QS1XzqZLcDniNYrN7EZefq3wIyb/M2WmJbql4ZKoc1Q= github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001 h1:WAg57gnaAWWjMAELcwHjc2xy0PoXQ5G+vn3+XS6s1jI= github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001/go.mod h1:IetBE52JfFxK46p2n2Rqm+p5Gx1gpu2hRHsrbnPOWZQ= -github.com/digitalocean/godo v1.82.0 h1:lqAit46H1CqJGjh7LDbsamng/UMBME5rvmfH3Vb5Yy8= -github.com/digitalocean/godo v1.82.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= -github.com/digitalocean/packer-plugin-digitalocean v1.1.1 h1:/Ki8nKK/b38L5uu7VqZVf9sNkqm5Qot+AE36zpoXfj0= -github.com/digitalocean/packer-plugin-digitalocean v1.1.1/go.mod h1:87IUPejfcIvtQYqIA7u19+Rk1mpwIM8ny+OyJm8L+X4= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=