travis: add an osbuild test
Actually test the tools. This simply runs a noop stage followed by a noop assembler. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
659ce42c83
commit
fa7a5b985e
3 changed files with 27 additions and 0 deletions
12
assemblers/org.osbuild.noop
Executable file
12
assemblers/org.osbuild.noop
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
||||
def main(_tree, _output_dir, options):
|
||||
print("Not doing anything with these options:", json.dumps(options))
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = json.load(sys.stdin)
|
||||
r = main(args["tree"], args["output_dir"], args.get("options", {}))
|
||||
sys.exit(r)
|
||||
Loading…
Add table
Add a link
Reference in a new issue