osbuild: update org.osbuild.ostree.remotes stage

New options added to stage in osbuild [0].

[0] https://github.com/osbuild/osbuild/pull/1097
This commit is contained in:
Achilleas Koutsou 2022-08-23 18:13:26 +02:00 committed by Tom Gundersen
parent 0ff1c3241c
commit 0750049739

View file

@ -17,14 +17,22 @@ type OSTreeRemote struct {
// Identifier for the remote
Name string `json:"name"`
// URL of the repository.
// URL for accessing metadata and content for the remote
URL string `json:"url"`
// URL for accessing content. When set, url is used only for
// metadata. Supports 'mirrorlist=' prefix
ContentURL string `json:"contenturl,omitempty"`
// Configured branches for the remote
Branches []string `json:"branches,omitempty"`
// GPG keys to verify the commits
GPGKeys []string `json:"secrets,omitempty"`
// Paths to ASCII-armored GPG key or directories containing ASCII-armored
// GPG keys to import
GPGKeyPaths []string `json:"gpgkeypaths,omitempty"`
}
// A new org.osbuild.ostree.remotes stage to configure remotes