inputs/ostree: use ostree prefix for temp dir
Use `ostree-ouput` instead of `files-output` as prefix for the temporary directory prefix. Also fix the description of the "origin" to reflect that pipeline and source origins are supported. Additionally remove some dead code.
This commit is contained in:
parent
87a7b4ae5f
commit
36c7d08f6e
1 changed files with 2 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ SCHEMA = """
|
|||
"enum": ["org.osbuild.ostree"]
|
||||
},
|
||||
"origin": {
|
||||
"description": "The origin of the input (must be 'org.osbuild.source')",
|
||||
"description": "The origin of the input (pipeline or source)",
|
||||
"type": "string",
|
||||
"enum": ["org.osbuild.source", "org.osbuild.pipeline"]
|
||||
},
|
||||
|
|
@ -108,8 +108,7 @@ def main():
|
|||
|
||||
origin = args["origin"]
|
||||
store = StoreClient(connect_to=args["api"]["store"])
|
||||
source = store.source("org.osbuild.files")
|
||||
output = store.mkdtemp(prefix="files-output")
|
||||
output = store.mkdtemp(prefix="ostree-output")
|
||||
|
||||
if origin == "org.osbuild.pipeline":
|
||||
for ref, options in refs.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue