diff --git a/templates/packer/worker.pkr.hcl b/templates/packer/worker.pkr.hcl index 53b32085080..b38820f9003 100644 --- a/templates/packer/worker.pkr.hcl +++ b/templates/packer/worker.pkr.hcl @@ -93,23 +93,23 @@ build { } source "amazon-ebs.image_builder" { - name = "fedora-38-x86_64" + name = "fedora-39-x86_64" - # Use a static Fedora 38 Cloud Base Image. - source_ami = "ami-01752495da7056fa9" + # Fedora-Cloud-Base-39 + source_ami = "ami-048e58e08c5dafb10" ssh_username = "fedora" instance_type = "c6a.large" # Set a name for the resulting AMI. - ami_name = "${var.image_name}-fedora-38-x86_64" + ami_name = "${var.image_name}-fedora-39-x86_64" # Apply tags to the resulting AMI/EBS snapshot. tags = { AppCode = "IMGB-001" - Name = "${var.image_name}-fedora-38-x86_64" + Name = "${var.image_name}-fedora-39-x86_64" composer_commit = "${var.composer_commit}" os = "fedora" - os_version = "38" + os_version = "39" arch = "x86_64" } @@ -130,24 +130,23 @@ EOF } source "amazon-ebs.image_builder" { - name = "fedora-38-aarch64" + name = "fedora-39-aarch64" - # Use a static Fedora 38 Cloud Base Image. - # Fedora-Cloud-Base-38-1.5 - source_ami = "ami-046ab62d59c5a451c" + # Fedora-Cloud-Base-39-1.5 + source_ami = "ami-0e5fb025cb36c614b" ssh_username = "fedora" instance_type = "c6g.large" # Set a name for the resulting AMI. - ami_name = "${var.image_name}-fedora-38-aarch64" + ami_name = "${var.image_name}-fedora-39-aarch64" # Apply tags to the resulting AMI/EBS snapshot. tags = { AppCode = "IMGB-001" - Name = "${var.image_name}-fedora-38-aarch64" + Name = "${var.image_name}-fedora-39-aarch64" composer_commit = "${var.composer_commit}" os = "fedora" - os_version = "38" + os_version = "39" arch = "aarch64" } diff --git a/tools/appsre-build-fedora-worker-packer.sh b/tools/appsre-build-fedora-worker-packer.sh index 85d91af2a3d..16d1b4ea3fb 100755 --- a/tools/appsre-build-fedora-worker-packer.sh +++ b/tools/appsre-build-fedora-worker-packer.sh @@ -8,7 +8,7 @@ export BUILD_RPMS=false # Fedora community workers use osbuild form rpmrepo + composer from # copr, as the osbuild rpms from copr disappear too quickly. export ANSIBLE_TAGS="fedora" -FEDORA=fedora-38 +FEDORA=fedora-39 export PACKER_ONLY_EXCEPT=--only=amazon-ebs."$FEDORA"-x86_64,amazon-ebs."$FEDORA"-aarch64 COMMIT_SHA="${COMMIT_SHA:-$(git rev-parse HEAD)}"