Skip to content

Commit

Permalink
Merge pull request #1524 from aslafy-z/patch-1
Browse files Browse the repository at this point in the history
Load packer oci, outscale and qemu plugins via config files
  • Loading branch information
k8s-ci-robot authored Jul 26, 2024
2 parents 6b04614 + 85a4636 commit 7e5e3f1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/capi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ deps-osc: ## Installs/checks dependencies for Outscale builds
deps-osc: deps-common
hack/ensure-goss.sh
$(PACKER) init packer/config.pkr.hcl
$(PACKER) plugins install github.com/outscale/outscale
$(PACKER) init packer/outscale/config.pkr.hcl

.PHONY: deps-gce
deps-gce: ## Installs/checks dependencies for GCE builds
Expand Down Expand Up @@ -117,7 +117,7 @@ deps-qemu: ## Installs/checks dependencies for QEMU builds
deps-qemu: deps-common
hack/ensure-goss.sh
$(PACKER) init packer/config.pkr.hcl
$(PACKER) plugins install github.com/hashicorp/qemu
$(PACKER) init packer/qemu/config.pkr.hcl

.PHONY: deps-raw
deps-raw: ## Installs/checks dependencies for RAW builds
Expand All @@ -130,7 +130,7 @@ deps-oci: ## Installs/checks dependencies for OCI builds
deps-oci: deps-common
hack/ensure-ansible-windows.sh
$(PACKER) init packer/config.pkr.hcl
$(PACKER) plugins install github.com/hashicorp/oracle
$(PACKER) init packer/oci/config.pkr.hcl

.PHONY: deps-powervs
deps-powervs: ## Installs/checks dependencies for PowerVS builds
Expand Down
8 changes: 8 additions & 0 deletions images/capi/packer/oci/config.pkr.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packer {
required_plugins {
vultr = {
source = "github.com/hashicorp/oracle"
version = "~> 1.1.0"
}
}
}
8 changes: 8 additions & 0 deletions images/capi/packer/outscale/config.pkr.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packer {
required_plugins {
vultr = {
source = "github.com/outscale/outscale"
version = "~> 1.2.0"
}
}
}
8 changes: 8 additions & 0 deletions images/capi/packer/qemu/config.pkr.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packer {
required_plugins {
vultr = {
source = "github.com/hashicorp/qemu"
version = "~> 1.1.0"
}
}
}

0 comments on commit 7e5e3f1

Please sign in to comment.