Skip to content

Commit

Permalink
feat: move the common plugins into a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Aug 31, 2024
1 parent 5abab3d commit 22c5828
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 47 deletions.
29 changes: 0 additions & 29 deletions orka/templates/macos-11-intel-test.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
variable "orka_endpoint" {
type = string
default = ""
}

variable "orka_auth_token" {
type = string
default = ""
}

variable "ssh_username" {
type = string
default = ""
}

variable "ssh_password" {
type = string
default = ""
}

packer {
required_plugins {
macstadium-orka = {
version = "~> 3.0"
source = "github.com/macstadium/macstadium-orka"
}
}
}

source "macstadium-orka" "macos11-intel-test-image" {
source_image = "90gbigsurssh.img"
image_name = "macos11-intel-test-latest.img"
Expand Down
9 changes: 0 additions & 9 deletions orka/templates/macos-13-arm-test.pkr.hcl
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 0 additions & 9 deletions orka/templates/macos-13-intel-test.pkr.hcl
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 8 additions & 0 deletions orka/templates/plugins.pkr.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packer {
required_plugins {
macstadium-orka = {
version = "~> 3.0"
source = "github.com/macstadium/macstadium-orka"
}
}
}

0 comments on commit 22c5828

Please sign in to comment.