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