Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora 41 placeholders #164

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions aws/fedora-41-aarch64/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"user": "fedora",
"runnerArch": "aarch64"
}
60 changes: 60 additions & 0 deletions aws/fedora-41-aarch64/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
module "aws" {
source = "../_base"

name = "fedora-41-aarch64"
ami = "placeholder"
instance_types = ["m6g.large", "m6gd.large", "m7g.large", "m7gd.large"]
internal_network = var.internal_network
job_name = var.job_name
project = var.project
branch = var.branch
pipeline_id = var.pipeline_id
pipeline_source = var.pipeline_source
iam_instance_profile = var.iam_instance_profile
}

variable "internal_network" {
type = bool
description = "Whether this instance should be in the internal network (default: false)."
default = false
}

output "ip_address" {
value = module.aws.ip_address
}

variable "job_name" {
description = "the job_name the instance is performing"
type = string
default = "unset"
}

variable "project" {
description = "the associated project"
type = string
default = "unset"
}

variable "branch" {
description = "the associated branch"
type = string
default = "unset"
}

variable "pipeline_id" {
description = "the associated pipeline_id"
type = string
default = "unset"
}

variable "pipeline_source" {
description = "the source that trigger the job"
type = string
default = "unset"
}

variable "iam_instance_profile" {
description = "instance profile to attach to the runner, the profile must exist"
type = string
default = null
}
4 changes: 4 additions & 0 deletions aws/fedora-41-x86_64/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"user": "fedora",
"runnerArch": "amd64"
}
60 changes: 60 additions & 0 deletions aws/fedora-41-x86_64/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
module "aws" {
source = "../_base"

name = "fedora-41-x86_64"
ami = "placeholder"
instance_types = ["m5.large", "m5d.large", "m5a.large", "m5ad.large", "m6a.large", "m6i.large", "m6id.large", "m7i.large", "m7a.large"]
internal_network = var.internal_network
job_name = var.job_name
project = var.project
branch = var.branch
pipeline_id = var.pipeline_id
pipeline_source = var.pipeline_source
iam_instance_profile = var.iam_instance_profile
}

variable "internal_network" {
type = bool
description = "Whether this instance should be in the internal network (default: false)."
default = false
}

output "ip_address" {
value = module.aws.ip_address
}

variable "job_name" {
description = "the job_name the instance is performing"
type = string
default = "unset"
}

variable "project" {
description = "the associated project"
type = string
default = "unset"
}

variable "branch" {
description = "the associated branch"
type = string
default = "unset"
}

variable "pipeline_id" {
description = "the associated pipeline_id"
type = string
default = "unset"
}

variable "pipeline_source" {
description = "the source that trigger the job"
type = string
default = "unset"
}

variable "iam_instance_profile" {
description = "instance profile to attach to the runner, the profile must exist"
type = string
default = null
}
4 changes: 4 additions & 0 deletions rhos-01/fedora-41-x86_64-large/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"user": "fedora",
"runnerArch": "amd64"
}
11 changes: 11 additions & 0 deletions rhos-01/fedora-41-x86_64-large/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module "openstack" {
source = "../_base"

name = "fedora-41"
image_id = "placeholder"
flavor_id = "2c6908ed-bb2b-43c7-8f9d-de790df5a4c0"
}

output "ip_address" {
value = module.openstack.ip_address
}
4 changes: 4 additions & 0 deletions rhos-01/fedora-41-x86_64/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"user": "fedora",
"runnerArch": "amd64"
}
11 changes: 11 additions & 0 deletions rhos-01/fedora-41-x86_64/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module "openstack" {
source = "../_base"

name = "fedora-41"
image_id = "placeholder"
flavor_id = "bca7d8ab-b1a4-4883-b4c6-a9536d51ebdd"
}

output "ip_address" {
value = module.openstack.ip_address
}
Loading