6.10.2.23 ReleaseInstallerArtifact
Immutable
Records are never updated after creation.
6.10.2.23.1 Purpose¶
The one file a person downloads to install an application on a platform: the installer of releases, made for one build of the application, with the roots of the application's listed channels inside it. It is open to anyone, because it holds no secret and installs nothing until the person signs in and an enrolment passes the channel's rule.
6.10.2.23.2 Questions it answers¶
- Which file does a download link of this version and platform give?
- Which channel roots did the installer of a build pin?
6.10.2.23.3 Fields¶
| Field | Type | Cardinality | Description |
|---|---|---|---|
id |
string (uuid) |
1..1 |
Key. |
build |
ReleaseBuild | 1..1 |
|
platform |
ReleasePlatform | 1..1 |
(build, platform) is unique. |
object_key |
string |
1..1 |
Where the file is kept in the content bucket. |
content_hash |
string |
1..1 |
SHA-256 of the file. |
size |
integer |
1..1 |
|
created_at |
datetime |
1..1 |
6.10.2.23.4 Relationships¶
References
ReleaseInstallerArtifact.build→ ReleaseBuild (1..1)ReleaseInstallerArtifact.platform→ ReleasePlatform (1..1)
6.10.2.23.5 Rules & constraints¶
- The single installer file of one build for one platform: the installer of releases, made for the build's application when the build becomes ready. It embeds the application, the build and the root metadata of every listed channel of the application at that moment, so it verifies what it installs from a pinned root, and it carries no secret. It is the file the download links give.
- The installer installs its own build only while a channel the person may receive still names it in its current targets; otherwise it says that the version is no longer offered and offers the latest of the default channel (
ReleaseApplication.default_channel).