~sircmpwn/builds.sr.ht#209
Add support for third party artifacts

Since #64 looks like a hard problem. How about adding support for third party artifact storage since the current way to handle artifacts is to send it to somewhere in the buildscript yourself. This is currently used in the build.postmarketos.org system to send the build results to the repository.

To integrate it better with sr.ht it would be nice if it is possible to attach info about the artifacts to the build result using the API. For example:

PATCH /api/jobs/:id HTTP/1.1

{
    "artifacts": [
        {
            "description": "musl-armhf-1.1.21-r0.apk (x86_64)",
            "url": "https://build.postmarketos.org/repository/master/main/x86_64/musl-armhf-1.1.21-r0.apk",
            "size": 367258
        }
    ]
}

Which then can be rendered nicely in the build result page:

Status
RESOLVED WONT_FIX
Submitter
~martijnbraam
Assigned to
No-one
Submitted
11 months ago
Updated
15 hours ago
Labels
No labels applied.

~sircmpwn REPORTED WONT_FIX 15 hours ago

#64 was fixed

Register here or Log in to comment, or comment via email.