Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd-generate-release-meta: allow missing base-oscontainer #3949

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/cmd-generate-release-meta
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ def append_build(out, input_):
arch_dict = {"media": {}}
ensure_dup(input_, arch_dict, "ostree-commit", "commit")

# we always expect base-oscontainer so error out if missing
assert 'base-oscontainer' in input_
arch_dict['oci-image'] = populate_oci_image(input_['buildid'], input_['base-oscontainer'])
# within the CoreOS pipelines, we always expect base-oscontainer to be set,
# but this script is also currently used by OKD but they only care about
# bootimages
if 'base-oscontainer' in input_:
arch_dict['oci-image'] = populate_oci_image(input_['buildid'], input_['base-oscontainer'])

platforms = ["aliyun", "applehv", "aws", "azure", "azurestack", "digitalocean", "exoscale", "gcp", "hyperv", "ibmcloud", "kubevirt", "metal", "nutanix", "openstack", "powervs", "qemu", "virtualbox", "vmware", "vultr", "qemu-secex"]
for platform in platforms:
Expand Down
Loading