aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/jsonnet/intersection_golden.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/jsonnet/intersection_golden.json')
-rw-r--r--examples/jsonnet/intersection_golden.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/examples/jsonnet/intersection_golden.json b/examples/jsonnet/intersection_golden.json
new file mode 100644
index 0000000000..6e8fa63864
--- /dev/null
+++ b/examples/jsonnet/intersection_golden.json
@@ -0,0 +1,48 @@
+{
+ "intersection": {
+ "jobs": {
+ "intersect": {
+ "command": "comm -12 /tmp/list1_sorted /tmp/list2_sorted > /tmp/intersection",
+ "deps": [
+ ":sort_file1",
+ ":sort_file2"
+ ],
+ "inputs": [
+ "/tmp/list1_sorted",
+ "/tmp/list2_sorted"
+ ],
+ "outputs": [
+ "/tmp/intersection"
+ ],
+ "type": "sh",
+ "vars": { }
+ },
+ "sort_file1": {
+ "command": "sort /tmp/list1 > /tmp/list1_sorted",
+ "deps": [ ],
+ "inputs": [
+ "/tmp/list1"
+ ],
+ "outputs": [
+ "/tmp/list1_sorted"
+ ],
+ "type": "sh",
+ "vars": { }
+ },
+ "sort_file2": {
+ "command": "sort /tmp/list2 > /tmp/list2_sorted",
+ "deps": [ ],
+ "inputs": [
+ "/tmp/list2"
+ ],
+ "outputs": [
+ "/tmp/list2_sorted"
+ ],
+ "type": "sh",
+ "vars": { }
+ }
+ },
+ "retries": 5,
+ "schedule": { }
+ }
+}