From 652b07448408b1f8b475f414dd763a6307dc810f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulises=20Gasc=C3=B3n?= Date: Sat, 31 Aug 2024 02:05:06 +0200 Subject: [PATCH] feat: move the common plugins into a separate file --- orka/templates/macos-13-arm-test.pkr.hcl | 9 --------- orka/templates/macos-13-intel-test.pkr.hcl | 9 --------- orka/templates/plugins.pkr.hcl | 8 ++++++++ 3 files changed, 8 insertions(+), 18 deletions(-) create mode 100644 orka/templates/plugins.pkr.hcl diff --git a/orka/templates/macos-13-arm-test.pkr.hcl b/orka/templates/macos-13-arm-test.pkr.hcl index 277eff181..430e8af11 100644 --- a/orka/templates/macos-13-arm-test.pkr.hcl +++ b/orka/templates/macos-13-arm-test.pkr.hcl @@ -1,12 +1,3 @@ -packer { - required_plugins { - macstadium-orka = { - version = "~> 3.0" - source = "github.com/macstadium/macstadium-orka" - } - } -} - source "macstadium-orka" "macos13-arm-test-image" { source_image = "macos13-arm-base.orkasi" image_name = "macos13-arm-test-latest.orkasi" diff --git a/orka/templates/macos-13-intel-test.pkr.hcl b/orka/templates/macos-13-intel-test.pkr.hcl index af6bf4e5e..c3ad21572 100644 --- a/orka/templates/macos-13-intel-test.pkr.hcl +++ b/orka/templates/macos-13-intel-test.pkr.hcl @@ -1,12 +1,3 @@ -packer { - required_plugins { - macstadium-orka = { - version = "~> 3.0" - source = "github.com/macstadium/macstadium-orka" - } - } -} - source "macstadium-orka" "macos13-intel-test-image" { source_image = "macos13-intel-base.img" image_name = "macos13-intel-test-latest.img" diff --git a/orka/templates/plugins.pkr.hcl b/orka/templates/plugins.pkr.hcl new file mode 100644 index 000000000..b6f5a3d92 --- /dev/null +++ b/orka/templates/plugins.pkr.hcl @@ -0,0 +1,8 @@ +packer { + required_plugins { + macstadium-orka = { + version = "~> 3.0" + source = "github.com/macstadium/macstadium-orka" + } + } +} \ No newline at end of file