-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RHEL for SAP BYOS and RHEL 9 BYOS arm64. (#2236)
* RHEL for SAP BYOS, RHEL 9 BYOS arm64. * fixes
- Loading branch information
Showing
30 changed files
with
3,114 additions
and
2 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
daisy_workflows/build-publish/enterprise_linux/rhel_8_2_sap_byos.publish.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{/* | ||
Template to publish Red Hat Enterprise Linux for SAP images. | ||
By default this template is setup to publish to the 'gce-image-builder' | ||
project, the 'environment' variable can be used to publish to 'test', 'prod' | ||
DeleteAfter is set to 180 days for all environments other than prod where no | ||
time period is set. | ||
*/}} | ||
{ | ||
"Name": "rhel-8-2-sap-byos", | ||
{{$work_project := printf "%q" "gce-image-builder" -}} | ||
{{$endpoint := `"https://www.googleapis.com/compute/alpha/projects/"` -}} | ||
{{$delete_after := `"24h*30*6"` -}} | ||
{{if eq .environment "test" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "bct-prod-images", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- else if eq .environment "prod" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "rhel-byos-cloud", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
{{- else -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": {{$work_project}}, | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- end}} | ||
{{$guest_features := `["VIRTIO_SCSI_MULTIQUEUE", "UEFI_COMPATIBLE", "GVNIC"]` -}} | ||
{{$time := trimPrefix .publish_version "v"}} | ||
"Images": [ | ||
{ | ||
"Prefix": "rhel-8-2-sap-byos", | ||
"Family": "rhel-8-2-sap-byos", | ||
"Description": "Red Hat, Red Hat Enterprise Linux for SAP BYOS, 8.2, x86_64 built on {{$time}}", | ||
"Architecture": "X86_64", | ||
"Licenses": [ | ||
"projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos" | ||
], | ||
"GuestOsFeatures": {{$guest_features}} | ||
} | ||
] | ||
} |
71 changes: 71 additions & 0 deletions
71
daisy_workflows/build-publish/enterprise_linux/rhel_8_2_sap_byos.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"Name": "rhel-8-2-sap-byos", | ||
"Project": "gce-image-builder", | ||
"Zone": "us-central1-b", | ||
"GCSPath": "gs://gce-image-build-bucket/daisy/${USERNAME}", | ||
"Vars": { | ||
"build_date": { | ||
"Value": "${TIMESTAMP}", | ||
"Description": "Build datestamp used to version the image." | ||
}, | ||
"google_cloud_repo": { | ||
"Value": "stable", | ||
"Description": "The Google Cloud Repo branch to use." | ||
}, | ||
"workflow_root": { | ||
"Value": "/workflows", | ||
"Description": "Root of github workflows, defaults to /workflows in the container." | ||
}, | ||
"gcs_url": { | ||
"Required": true, | ||
"Description": "The GCS path that image raw file exported to." | ||
}, | ||
"sbom_destination": { | ||
"Value": "${OUTSPATH}/export-image.sbom.json", | ||
"Description": "SBOM final export destination, copies in place by default" | ||
}, | ||
"installer_iso": { | ||
"Required": true, | ||
"Description": "The RHEL 8 installer ISO to build from." | ||
}, | ||
"sbom_util_gcs_root": { | ||
"Value": "", | ||
"Description": "The root gcs bucket for sbomutil, if using sbomutil to generate the SBOM." | ||
} | ||
}, | ||
"Steps": { | ||
"build": { | ||
"TimeOut": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/image_build/enterprise_linux/rhel_8_2_sap_byos.wf.json", | ||
"Vars": { | ||
"build_date": "${build_date}", | ||
"google_cloud_repo": "${google_cloud_repo}", | ||
"installer_iso": "${installer_iso}", | ||
"rhel_release": "rhel-8-2" | ||
} | ||
} | ||
}, | ||
"export-image": { | ||
"Timeout": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/export/disk_export.wf.json", | ||
"Vars": { | ||
"destination": "${gcs_url}", | ||
"sbom_destination": "${sbom_destination}", | ||
"source_disk": "el-install-disk", | ||
"sbom_util_gcs_root": "${sbom_util_gcs_root}" | ||
} | ||
} | ||
}, | ||
"cleanup-image": { | ||
"DeleteResources": { | ||
"Images": ["rhel-8-2-sap-byos-v${build_date}"] | ||
} | ||
} | ||
}, | ||
"Dependencies": { | ||
"export-image": ["build"], | ||
"cleanup-image": ["build"] | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
daisy_workflows/build-publish/enterprise_linux/rhel_8_4_sap_byos.publish.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{/* | ||
Template to publish Red Hat Enterprise Linux for SAP images. | ||
By default this template is setup to publish to the 'gce-image-builder' | ||
project, the 'environment' variable can be used to publish to 'test', 'prod' | ||
DeleteAfter is set to 180 days for all environments other than prod where no | ||
time period is set. | ||
*/}} | ||
{ | ||
"Name": "rhel-8-4-sap-byos", | ||
{{$work_project := printf "%q" "gce-image-builder" -}} | ||
{{$endpoint := `"https://www.googleapis.com/compute/alpha/projects/"` -}} | ||
{{$delete_after := `"24h*30*6"` -}} | ||
{{if eq .environment "test" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "bct-prod-images", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- else if eq .environment "prod" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "rhel-byos-cloud", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
{{- else -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": {{$work_project}}, | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- end}} | ||
{{$guest_features := `["VIRTIO_SCSI_MULTIQUEUE", "UEFI_COMPATIBLE", "SEV_CAPABLE", "GVNIC"]` -}} | ||
{{$time := trimPrefix .publish_version "v"}} | ||
"Images": [ | ||
{ | ||
"Prefix": "rhel-8-4-sap-byos", | ||
"Family": "rhel-8-4-sap-byos", | ||
"Description": "Red Hat, Red Hat Enterprise Linux for SAP BYOS, 8.4, x86_64 built on {{$time}}", | ||
"Architecture": "X86_64", | ||
"Licenses": [ | ||
"projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos" | ||
], | ||
"GuestOsFeatures": {{$guest_features}} | ||
} | ||
] | ||
} |
71 changes: 71 additions & 0 deletions
71
daisy_workflows/build-publish/enterprise_linux/rhel_8_4_sap_byos.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"Name": "rhel-8-4-sap-byos", | ||
"Project": "gce-image-builder", | ||
"Zone": "us-central1-b", | ||
"GCSPath": "gs://gce-image-build-bucket/daisy/${USERNAME}", | ||
"Vars": { | ||
"build_date": { | ||
"Value": "${TIMESTAMP}", | ||
"Description": "Build datestamp used to version the image." | ||
}, | ||
"google_cloud_repo": { | ||
"Value": "stable", | ||
"Description": "The Google Cloud Repo branch to use." | ||
}, | ||
"workflow_root": { | ||
"Value": "/workflows", | ||
"Description": "Root of github workflows, defaults to /workflows in the container." | ||
}, | ||
"gcs_url": { | ||
"Required": true, | ||
"Description": "The GCS path that image raw file exported to." | ||
}, | ||
"sbom_destination": { | ||
"Value": "${OUTSPATH}/export-image.sbom.json", | ||
"Description": "SBOM final export destination, copies in place by default" | ||
}, | ||
"installer_iso": { | ||
"Required": true, | ||
"Description": "The RHEL 8 installer ISO to build from." | ||
}, | ||
"sbom_util_gcs_root": { | ||
"Value": "", | ||
"Description": "The root gcs bucket for sbomutil, if using sbomutil to generate the SBOM." | ||
} | ||
}, | ||
"Steps": { | ||
"build": { | ||
"TimeOut": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/image_build/enterprise_linux/rhel_8_4_sap_byos.wf.json", | ||
"Vars": { | ||
"build_date": "${build_date}", | ||
"google_cloud_repo": "${google_cloud_repo}", | ||
"installer_iso": "${installer_iso}", | ||
"rhel_release": "rhel-8-4" | ||
} | ||
} | ||
}, | ||
"export-image": { | ||
"Timeout": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/export/disk_export.wf.json", | ||
"Vars": { | ||
"destination": "${gcs_url}", | ||
"sbom_destination": "${sbom_destination}", | ||
"source_disk": "el-install-disk", | ||
"sbom_util_gcs_root": "${sbom_util_gcs_root}" | ||
} | ||
} | ||
}, | ||
"cleanup-image": { | ||
"DeleteResources": { | ||
"Images": ["rhel-8-4-sap-byos-v${build_date}"] | ||
} | ||
} | ||
}, | ||
"Dependencies": { | ||
"export-image": ["build"], | ||
"cleanup-image": ["build"] | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
daisy_workflows/build-publish/enterprise_linux/rhel_8_6_sap_byos.publish.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{/* | ||
Template to publish Red Hat Enterprise Linux for SAP images. | ||
By default this template is setup to publish to the 'gce-image-builder' | ||
project, the 'environment' variable can be used to publish to 'test', 'prod' | ||
DeleteAfter is set to 180 days for all environments other than prod where no | ||
time period is set. | ||
*/}} | ||
{ | ||
"Name": "rhel-8-6-sap-byos", | ||
{{$work_project := printf "%q" "gce-image-builder" -}} | ||
{{$endpoint := `"https://www.googleapis.com/compute/alpha/projects/"` -}} | ||
{{$delete_after := `"24h*30*6"` -}} | ||
{{if eq .environment "test" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "bct-prod-images", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- else if eq .environment "prod" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "rhel-byos-cloud", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
{{- else -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": {{$work_project}}, | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- end}} | ||
{{$guest_features := `["VIRTIO_SCSI_MULTIQUEUE", "UEFI_COMPATIBLE", "SEV_CAPABLE", "GVNIC"]` -}} | ||
{{$time := trimPrefix .publish_version "v"}} | ||
"Images": [ | ||
{ | ||
"Prefix": "rhel-8-6-sap-byos", | ||
"Family": "rhel-8-6-sap-byos", | ||
"Description": "Red Hat, Red Hat Enterprise Linux for SAP BYOS, 8.6, x86_64 built on {{$time}}", | ||
"Architecture": "X86_64", | ||
"Licenses": [ | ||
"projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos" | ||
], | ||
"GuestOsFeatures": {{$guest_features}} | ||
} | ||
] | ||
} |
71 changes: 71 additions & 0 deletions
71
daisy_workflows/build-publish/enterprise_linux/rhel_8_6_sap_byos.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"Name": "rhel-8-6-sap-byos", | ||
"Project": "gce-image-builder", | ||
"Zone": "us-central1-b", | ||
"GCSPath": "gs://gce-image-build-bucket/daisy/${USERNAME}", | ||
"Vars": { | ||
"build_date": { | ||
"Value": "${TIMESTAMP}", | ||
"Description": "Build datestamp used to version the image." | ||
}, | ||
"google_cloud_repo": { | ||
"Value": "stable", | ||
"Description": "The Google Cloud Repo branch to use." | ||
}, | ||
"workflow_root": { | ||
"Value": "/workflows", | ||
"Description": "Root of github workflows, defaults to /workflows in the container." | ||
}, | ||
"gcs_url": { | ||
"Required": true, | ||
"Description": "The GCS path that image raw file exported to." | ||
}, | ||
"sbom_destination": { | ||
"Value": "${OUTSPATH}/export-image.sbom.json", | ||
"Description": "SBOM final export destination, copies in place by default" | ||
}, | ||
"installer_iso": { | ||
"Required": true, | ||
"Description": "The RHEL 8 installer ISO to build from." | ||
}, | ||
"sbom_util_gcs_root": { | ||
"Value": "", | ||
"Description": "The root gcs bucket for sbomutil, if using sbomutil to generate the SBOM." | ||
} | ||
}, | ||
"Steps": { | ||
"build": { | ||
"TimeOut": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/image_build/enterprise_linux/rhel_8_6_sap_byos.wf.json", | ||
"Vars": { | ||
"build_date": "${build_date}", | ||
"google_cloud_repo": "${google_cloud_repo}", | ||
"installer_iso": "${installer_iso}", | ||
"rhel_release": "rhel-8-6" | ||
} | ||
} | ||
}, | ||
"export-image": { | ||
"Timeout": "60m", | ||
"IncludeWorkflow": { | ||
"Path": "${workflow_root}/export/disk_export.wf.json", | ||
"Vars": { | ||
"destination": "${gcs_url}", | ||
"sbom_destination": "${sbom_destination}", | ||
"source_disk": "el-install-disk", | ||
"sbom_util_gcs_root": "${sbom_util_gcs_root}" | ||
} | ||
} | ||
}, | ||
"cleanup-image": { | ||
"DeleteResources": { | ||
"Images": ["rhel-8-6-sap-byos-v${build_date}"] | ||
} | ||
} | ||
}, | ||
"Dependencies": { | ||
"export-image": ["build"], | ||
"cleanup-image": ["build"] | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
daisy_workflows/build-publish/enterprise_linux/rhel_8_8_sap_byos.publish.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{/* | ||
Template to publish Red Hat Enterprise Linux for SAP images. | ||
By default this template is setup to publish to the 'gce-image-builder' | ||
project, the 'environment' variable can be used to publish to 'test', 'prod' | ||
DeleteAfter is set to 180 days for all environments other than prod where no | ||
time period is set. | ||
*/}} | ||
{ | ||
"Name": "rhel-8-8-sap-byos", | ||
{{$work_project := printf "%q" "gce-image-builder" -}} | ||
{{$endpoint := `"https://www.googleapis.com/compute/alpha/projects/"` -}} | ||
{{$delete_after := `"24h*30*6"` -}} | ||
{{if eq .environment "test" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "bct-prod-images", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- else if eq .environment "prod" -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": "rhel-byos-cloud", | ||
"ComputeEndpoint": {{$endpoint}}, | ||
{{- else -}} | ||
"WorkProject": {{$work_project}}, | ||
"PublishProject": {{$work_project}}, | ||
"ComputeEndpoint": {{$endpoint}}, | ||
"DeleteAfter": {{$delete_after}}, | ||
{{- end}} | ||
{{$guest_features := `["VIRTIO_SCSI_MULTIQUEUE", "UEFI_COMPATIBLE", "SEV_CAPABLE", "GVNIC"]` -}} | ||
{{$time := trimPrefix .publish_version "v"}} | ||
"Images": [ | ||
{ | ||
"Prefix": "rhel-8-8-sap-byos", | ||
"Family": "rhel-8-8-sap-byos", | ||
"Description": "Red Hat, Red Hat Enterprise Linux for SAP BYOS, 8.8, x86_64 built on {{$time}}", | ||
"Architecture": "X86_64", | ||
"Licenses": [ | ||
"projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos" | ||
], | ||
"GuestOsFeatures": {{$guest_features}} | ||
} | ||
] | ||
} |
Oops, something went wrong.