osbuild2: add 'remote' option for ostree.pull

Add support for the `remote` option of the `ostree.pull` stage.
This can be used to tie a commit to a remote while pulling the
commit.
This commit is contained in:
Christian Kellner 2021-08-28 15:57:49 +02:00 committed by Achilleas Koutsou
parent bebf046f84
commit 4b84a3c70f

View file

@ -4,6 +4,8 @@ package osbuild2
type OSTreePullStageOptions struct {
// Location of the ostree repo
Repo string `json:"repo"`
// Remote to configure for all commits
Remote string `json:"remote,omitempty"`
}
func (OSTreePullStageOptions) isStageOptions() {}