How should our various files (metadata & build artifacts) be laid out in the bucket? Note this isn't something that we expect users to care about. Some pieces of published metadata will hold links to files into the bucket, but we should be able to change the bucket layout itself without impacting users. As such, we should also strongly discourage perusing the bucket (which without indexing it would be cumbersome anyway) or predicting locations for new builds.
Here's a strawman based on some initial thoughts in coreos/coreos-assembler#159:
/
prod/
streams/
stable/
stream.json # holds stream metadata
builds/
builds.json # raw cosa builds listing metadata
30.1234-5/
release.json # holds release metadata
x86_64/
meta.json # raw cosa build metadata
commitmeta.json
fedora-coreos-30.8-qemu.qcow2.gz
ostree-commit-object
ostree-commit.tar
...
ppc64le/
...
...
testing/
next/
...
How should our various files (metadata & build artifacts) be laid out in the bucket? Note this isn't something that we expect users to care about. Some pieces of published metadata will hold links to files into the bucket, but we should be able to change the bucket layout itself without impacting users. As such, we should also strongly discourage perusing the bucket (which without indexing it would be cumbersome anyway) or predicting locations for new builds.
Here's a strawman based on some initial thoughts in coreos/coreos-assembler#159: