packer: remove Fedora 35
Our workers already run on Fedora 36 so there's no need to build F35 anymore. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
a132113452
commit
f25dca793d
3 changed files with 0 additions and 84 deletions
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# this is just a template!
|
||||
# the actual content is generated by build/appsre-build-worker-packer.sh
|
||||
rpmrepo_distribution: distro
|
||||
osbuild_commit: abcdef
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# this is just a template!
|
||||
# the actual content is generated by build/appsre-build-worker-packer.sh
|
||||
rpmrepo_distribution: distro
|
||||
osbuild_commit: abcdef
|
||||
|
|
@ -93,80 +93,6 @@ build {
|
|||
}
|
||||
}
|
||||
|
||||
source "amazon-ebs.image_builder" {
|
||||
name = "fedora-35-x86_64"
|
||||
|
||||
# Use a static Fedora 35 Cloud Base Image.
|
||||
source_ami = "ami-08b4ee602f76bff79"
|
||||
ssh_username = "fedora"
|
||||
instance_type = "c6a.large"
|
||||
|
||||
# Set a name for the resulting AMI.
|
||||
ami_name = "${var.image_name}-fedora-35-x86_64"
|
||||
|
||||
# Apply tags to the resulting AMI/EBS snapshot.
|
||||
tags = {
|
||||
AppCode = "IMGB-001"
|
||||
Name = "${var.image_name}-fedora-35-x86_64"
|
||||
composer_commit = "${var.composer_commit}"
|
||||
os = "fedora"
|
||||
os_version = "35"
|
||||
arch = "x86_64"
|
||||
}
|
||||
|
||||
# Ensure that the EBS snapshot used for the AMI meets our requirements.
|
||||
launch_block_device_mappings {
|
||||
delete_on_termination = "true"
|
||||
device_name = "/dev/sda1"
|
||||
volume_size = 5
|
||||
volume_type = "gp2"
|
||||
}
|
||||
|
||||
# go doesn't like modern Fedora crypto policies
|
||||
# see https://github.com/hashicorp/packer/issues/10074
|
||||
user_data = <<EOF
|
||||
#!/bin/bash
|
||||
update-crypto-policies --set LEGACY
|
||||
EOF
|
||||
}
|
||||
|
||||
source "amazon-ebs.image_builder" {
|
||||
name = "fedora-35-aarch64"
|
||||
|
||||
# Use a static Fedora 35 Cloud Base Image.
|
||||
source_ami = "ami-068c123e1c1ca0d49"
|
||||
ssh_username = "fedora"
|
||||
instance_type = "c6g.large"
|
||||
|
||||
# Set a name for the resulting AMI.
|
||||
ami_name = "${var.image_name}-fedora-35-aarch64"
|
||||
|
||||
# Apply tags to the resulting AMI/EBS snapshot.
|
||||
tags = {
|
||||
AppCode = "IMGB-001"
|
||||
Name = "${var.image_name}-fedora-35-aarch64"
|
||||
composer_commit = "${var.composer_commit}"
|
||||
os = "fedora"
|
||||
os_version = "35"
|
||||
arch = "aarch64"
|
||||
}
|
||||
|
||||
# Ensure that the EBS snapshot used for the AMI meets our requirements.
|
||||
launch_block_device_mappings {
|
||||
delete_on_termination = "true"
|
||||
device_name = "/dev/sda1"
|
||||
volume_size = 5
|
||||
volume_type = "gp2"
|
||||
}
|
||||
|
||||
# go doesn't like modern Fedora crypto policies
|
||||
# see https://github.com/hashicorp/packer/issues/10074
|
||||
user_data = <<EOF
|
||||
#!/bin/bash
|
||||
update-crypto-policies --set LEGACY
|
||||
EOF
|
||||
}
|
||||
|
||||
source "amazon-ebs.image_builder" {
|
||||
name = "fedora-36-x86_64"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue