From 4b84a3c70f3d700d95fb31f92ebda2c5d62e917c Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Sat, 28 Aug 2021 15:57:49 +0200 Subject: [PATCH] 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. --- internal/osbuild2/ostree_pull_stage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/osbuild2/ostree_pull_stage.go b/internal/osbuild2/ostree_pull_stage.go index 7550c4fc4..048a4fa01 100644 --- a/internal/osbuild2/ostree_pull_stage.go +++ b/internal/osbuild2/ostree_pull_stage.go @@ -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() {}