Ubuntu Pastebin

Paste from zyga at Thu, 21 Sep 2017 20:13:22 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From 0019da3d5e47c563bb9e908c5ee90df69265b240 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Date: Thu, 21 Sep 2017 21:56:14 +0200
Subject: [PATCH] Initial commit

---
 spread.yaml           | 29 +++++++++++++++++++++++++++++
 tasks/shell/task.yaml |  7 +++++++
 2 files changed, 36 insertions(+)
 create mode 100644 spread.yaml
 create mode 100644 tasks/shell/task.yaml

diff --git a/spread.yaml b/spread.yaml
new file mode 100644
index 0000000..3698c5a
--- /dev/null
+++ b/spread.yaml
@@ -0,0 +1,29 @@
+project: spread-zoo
+backends:
+    linode:
+        key: "$(HOST: echo $SPREAD_LINODE_KEY)"
+        halt-timeout: 2h
+        systems:
+            - ubuntu-14.04-64:
+                kernel: GRUB 2
+                workers: 1
+            - ubuntu-16.04-64:
+                kernel: GRUB 2
+                workers: 1
+            - ubuntu-16.04-32:
+                kernel: GRUB 2
+                workers: 1
+            - debian-unstable-64:
+                kernel: GRUB 2
+                workers: 1
+            - fedora-25-64:
+                workers: 1
+            - opensuse-42.2-64:
+                workers: 1
+path: /home/spread-zoo
+exclude:
+    - .git
+kill-timeout: 20m
+suites:
+    tasks/:
+        summary: Dummy tasks
diff --git a/tasks/shell/task.yaml b/tasks/shell/task.yaml
new file mode 100644
index 0000000..77e8d2c
--- /dev/null
+++ b/tasks/shell/task.yaml
@@ -0,0 +1,7 @@
+summary: A task that instructs users how to get interactive shell via spread
+execute: |
+    set +x
+    echo "This spread task is not meant to be executed"
+    echo "To get an interactive shell run this"
+    echo "spread -shell ${SPREAD_BACKEND}:${SPREAD_SYSTEM}:tasks/shell"
+    false # fail so that the message get displayed.
-- 
2.14.1
Download as text