Skip to content

Commit 43594a3

Browse files
committed
Update schema for nvidiabluefield
I should have included these updates in [1]. [1] #4476
1 parent 5c9abab commit 43594a3

5 files changed

Lines changed: 21 additions & 6 deletions

File tree

pkg/builds/cosa_v1.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package builds
22

33
// generated by 'make schema'
4-
// source hash: 11704f512a9b6e0c5ac178a9917e03a05ea10a7878ef9b5c0a6695d52c9cd7f5
4+
// source hash: e6319430c382239f42a623bd132eb03dca261df38b33ea8ab642ab2946d91b2f
55

66
type AdvisoryDiff []AdvisoryDiffItems
77

@@ -117,6 +117,7 @@ type BuildArtifacts struct {
117117
Metal *Artifact `json:"metal,omitempty"`
118118
Metal4KNative *Artifact `json:"metal4k,omitempty"`
119119
Nutanix *Artifact `json:"nutanix,omitempty"`
120+
NvidiaBluefield *Artifact `json:"nvidiabluefield,omitempty"`
120121
OciManifest *Artifact `json:"oci-manifest,omitempty"`
121122
OpenStack *Artifact `json:"openstack,omitempty"`
122123
OracleCloudInfrastructure *Artifact `json:"oraclecloud,omitempty"`

pkg/builds/schema_doc.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Generated by ./generate-schema.sh
2-
// Source hash: 11704f512a9b6e0c5ac178a9917e03a05ea10a7878ef9b5c0a6695d52c9cd7f5
2+
// Source hash: e6319430c382239f42a623bd132eb03dca261df38b33ea8ab642ab2946d91b2f
33
// DO NOT EDIT
44

55
package builds
@@ -539,6 +539,7 @@ var generatedSchemaJSON = `{
539539
"metal",
540540
"metal4k",
541541
"nutanix",
542+
"nvidiabluefield",
542543
"openstack",
543544
"oraclecloud",
544545
"proxmoxve",
@@ -665,6 +666,12 @@ var generatedSchemaJSON = `{
665666
"title": "Nutanix",
666667
"$ref": "#/definitions/artifact"
667668
},
669+
"nvidiabluefield": {
670+
"$id": "#/properties/images/properties/nvidiabluefield",
671+
"type": "object",
672+
"title": "NVIDIA Bluefield",
673+
"$ref": "#/definitions/artifact"
674+
},
668675
"openstack": {
669676
"$id": "#/properties/images/properties/openstack",
670677
"type": "object",

src/cmd-coreos-prune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Build = collections.namedtuple("Build", ["id", "images", "arch", "meta_json"])
5555
# set metadata caching to 5m
5656
CACHE_MAX_AGE_METADATA = 60 * 5
5757
# These lists are up to date as of schema hash
58-
# 11704f512a9b6e0c5ac178a9917e03a05ea10a7878ef9b5c0a6695d52c9cd7f5. If changing
58+
# e6319430c382239f42a623bd132eb03dca261df38b33ea8ab642ab2946d91b2f. If changing
5959
# this hash, ensure that the list of SUPPORTED and UNSUPPORTED artifacts below
6060
# is up to date.
6161
SUPPORTED = ["amis", "aws-winli", "gcp"]

src/cmd-generate-release-meta

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ def append_build(out, input_):
157157

158158
platforms = ["aliyun", "applehv", "aws", "azure", "azurestack",
159159
"digitalocean", "exoscale", "gcp", "hetzner", "hyperv",
160-
"ibmcloud", "kubevirt", "metal", "nutanix", "openstack",
161-
"oraclecloud", "proxmoxve", "powervs", "qemu", "virtualbox",
162-
"vmware", "vultr", "qemu-secex"]
160+
"ibmcloud", "kubevirt", "metal", "nutanix", "nvidiabluefield",
161+
"openstack", "oraclecloud", "proxmoxve", "powervs", "qemu",
162+
"virtualbox", "vmware", "vultr", "qemu-secex"]
163163
for platform in platforms:
164164
if input_.get("images", {}).get(platform, None) is not None:
165165
print(f" - {platform}")

src/v1.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@
533533
"metal",
534534
"metal4k",
535535
"nutanix",
536+
"nvidiabluefield",
536537
"openstack",
537538
"oraclecloud",
538539
"proxmoxve",
@@ -659,6 +660,12 @@
659660
"title": "Nutanix",
660661
"$ref": "#/definitions/artifact"
661662
},
663+
"nvidiabluefield": {
664+
"$id": "#/properties/images/properties/nvidiabluefield",
665+
"type": "object",
666+
"title": "NVIDIA Bluefield",
667+
"$ref": "#/definitions/artifact"
668+
},
662669
"openstack": {
663670
"$id": "#/properties/images/properties/openstack",
664671
"type": "object",

0 commit comments

Comments
 (0)