Buildbot: Move checksum to JSON #90

Closed
opened 2024-07-04 11:02:20 +02:00 by Sergey Sharybin · 2 comments

Currently the JSON endpoint of the buildbot lists checksums as separate files, for example:

    {
        "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg",
        "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg",
        ...
    },
    {
        "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg.sha256",
        "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg.sha256",
        ...
    },

More ideally the content of the sha256 file will appear as a "checksum" field in the build entry, and not be listed in the builds list.

    {
        "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg",
        "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg",
        "checksum": "181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b"
        ...
    },

Since it is a breaking change, the schema is probably better be bumped to v=2.

Currently the JSON endpoint of the buildbot lists checksums as separate files, for example: ``` { "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg", "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg", ... }, { "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg.sha256", "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg.sha256", ... }, ``` More ideally the content of the sha256 file will appear as a "checksum" field in the build entry, and not be listed in the builds list. ``` { "url": "https://cdn.builder.blender.org/download/daily/blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg", "file_name": "blender-3.3.20-stable+v33.969bd15cc419-darwin.arm64-release.dmg", "checksum": "181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b" ... }, ``` Since it is a breaking change, the schema is probably better be bumped to `v=2`.
Sergey Sharybin added the
Service
Buildbot
label 2024-07-04 11:02:20 +02:00
Bart van der Braak self-assigned this 2024-07-15 11:48:12 +02:00

I created a pull request for this: infrastructure/blender-buildbot-www#7

I created a pull request for this: infrastructure/blender-buildbot-www#7

Change has been merged into develop, tested, and pulled into master:

Change has been merged into `develop`, tested, and pulled into `master`: - https://builder.blender.org/download/daily/?format=json&v=2
Bart van der Braak added this to the DevOps Progress Board project 2024-07-16 12:48:43 +02:00
Sign in to join this conversation.
No description provided.