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:
parent
bebf046f84
commit
4b84a3c70f
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ package osbuild2
|
||||||
type OSTreePullStageOptions struct {
|
type OSTreePullStageOptions struct {
|
||||||
// Location of the ostree repo
|
// Location of the ostree repo
|
||||||
Repo string `json:"repo"`
|
Repo string `json:"repo"`
|
||||||
|
// Remote to configure for all commits
|
||||||
|
Remote string `json:"remote,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (OSTreePullStageOptions) isStageOptions() {}
|
func (OSTreePullStageOptions) isStageOptions() {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue