You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The expected syntax for bundle manifest file is #111 . The test infra expects a bunch of parameters which are missing in the manifest file and because of that it breaks.
Traceback (most recent call last):
File "python/test.py", line 17, in <module>
manifest = BundleManifest.from_file(args.manifest)
File "/home/ubuntu/cicd/opensearch-build/bundle-workflow/python/manifests/bundle_manifest.py", line 29, in from_file
return BundleManifest(yaml.safe_load(file))
File "/home/ubuntu/cicd/opensearch-build/bundle-workflow/python/manifests/bundle_manifest.py", line 35, in __init__
self.build = self.Build(data['build'])
File "/home/ubuntu/cicd/opensearch-build/bundle-workflow/python/manifests/bundle_manifest.py", line 51, in __init__
self.architecture = data['architecture']
KeyError: 'architecture'
Reproduce
Run the test.py from main branch of opensearch-build repo
@setiah You have confused bundle and input manifests. The manifest you're looking at is an input manifest (consumed by build.py). test.py reads a bundle manifest.
Describe the bug
The expected syntax for bundle manifest file is #111 . The test infra expects a bunch of parameters which are missing in the manifest file and because of that it breaks.
Reproduce
Run the test.py from
main
branch of opensearch-build repo~/opensearch-build/bundle-workflow$ python python/test.py --manifest /home/ubuntu/cicd/opensearch-build/manifests/opensearch-1.0.0.yml
The text was updated successfully, but these errors were encountered: