Skip to content

Commit

Permalink
fix: use Rocky 9 without a minor version for Azure (#1217)
Browse files Browse the repository at this point in the history
* fix: use Rocky 9 without a minor version for Azure

* fix: remove az suffix in Rocky 9 for Azure
  • Loading branch information
dkoshkin authored Oct 30, 2024
1 parent 9fb3fa0 commit 8c852d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
max-parallel: 10
matrix:
os:
- "rocky 9.3"
- "rocky 9"
- "ubuntu 20.04"
buildConfig:
- "basic"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
max-parallel: 10
matrix:
include:
- os: "rocky 9.3"
- os: "rocky 9"
buildConfig: "basic"
- os: "ubuntu 20.04"
buildConfig: "basic"
Expand Down
4 changes: 2 additions & 2 deletions images/azure/rocky-93.yaml → images/azure/rocky-9.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
build_name: "rocky-93-az"
build_name: "rocky-9"
packer_builder_type: "azure"
python_path: ""
packer:
distribution: "rockylinux-x86_64" # Offer
distribution_version: "9-base" # SKU
# Azure Rocky linux official image: https://azuremarketplace.microsoft.com/en/marketplace/apps/resf.rockylinux-x86_64?tab=Overview
image_publisher: "resf"
image_version: "9.3.20231113"
image_version: "latest"
ssh_username: "azureuser"
plan_image_sku: "9-base" # SKU
plan_image_offer: "rockylinux-x86_64" # offer
Expand Down
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var (
"ubuntu 22.04",
"rocky 9.0",
"rocky 9.1",
"rocky 9.3",
"rocky 9",
}

validBuildConfig = []string{
Expand Down

0 comments on commit 8c852d6

Please sign in to comment.