Skip to content

Commit 25ae36e

Browse files
jlebongursewak1997
authored andcommitted
schema: remove invalid top-level keys
The "azurestack", "digitalocean", and "exoscale" keys are all image artifacts that go under the `images` key. So they shouldn't be listed as optional entries in the top-level dict. Remove those until we actually have support for uploading to those clouds (though e.g. azurestack is clearly one to which that will never apply). See also: #3889
1 parent 23cdc20 commit 25ae36e

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

pkg/builds/cosa_v1.go

Lines changed: 1 addition & 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: 4c19aed3b3d84af278780bff63728510bb3e70613e4c4eef8cabd7939eb31bd8
4+
// source hash: 4bb2fd8591ae1cc9179181b9efcb550542137a01c9544fd048e66794e0fb176a
55

66
type AdvisoryDiff []AdvisoryDiffItems
77

pkg/builds/schema_doc.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Generated by ./generate-schema.sh
2-
// Source hash: 4c19aed3b3d84af278780bff63728510bb3e70613e4c4eef8cabd7939eb31bd8
2+
// Source hash: 4bb2fd8591ae1cc9179181b9efcb550542137a01c9544fd048e66794e0fb176a
33
// DO NOT EDIT
44

55
package builds
@@ -220,11 +220,8 @@ var generatedSchemaJSON = `{
220220
"aliyun",
221221
"amis",
222222
"azure",
223-
"azurestack",
224223
"base-oscontainer",
225224
"build-url",
226-
"digitalocean",
227-
"exoscale",
228225
"gcp",
229226
"kubevirt",
230227
"ibmcloud",

src/cmd-cloud-prune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ Build = collections.namedtuple("Build", ["id", "images", "arch", "meta_json"])
5454
# set metadata caching to 5m
5555
CACHE_MAX_AGE_METADATA = 60 * 5
5656
# These lists are up to date as of schema hash
57-
# 4c19aed3b3d84af278780bff63728510bb3e70613e4c4eef8cabd7939eb31bd8. If changing
57+
# 4bb2fd8591ae1cc9179181b9efcb550542137a01c9544fd048e66794e0fb176a. If changing
5858
# this hash, ensure that the list of SUPPORTED and UNSUPPORTED artifacts below
5959
# is up to date.
6060
SUPPORTED = ["amis", "gcp"]
61-
UNSUPPORTED = ["aliyun", "azurestack", "digitalocean", "exoscale", "ibmcloud", "powervs", "azure"]
61+
UNSUPPORTED = ["aliyun", "azure", "ibmcloud", "powervs"]
6262

6363

6464
def parse_args():

src/v1.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,8 @@
214214
"aliyun",
215215
"amis",
216216
"azure",
217-
"azurestack",
218217
"base-oscontainer",
219218
"build-url",
220-
"digitalocean",
221-
"exoscale",
222219
"gcp",
223220
"kubevirt",
224221
"ibmcloud",

0 commit comments

Comments
 (0)