summary refs log tree commit diff
path: root/configs/aurora/hello-job.aurora
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configs/aurora/hello-job.aurora21
1 files changed, 21 insertions, 0 deletions
diff --git a/configs/aurora/hello-job.aurora b/configs/aurora/hello-job.aurora
new file mode 100644
index 0000000..e0758a3
--- /dev/null
+++ b/configs/aurora/hello-job.aurora
@@ -0,0 +1,21 @@
+hello_date = Process(
+  name='hello-date',
+  cmdline='while true; do date; sleep 10; done'
+)
+
+jobs = [
+  Service(
+    cluster='smf1',
+    environment='devel',
+    role='fcuny',
+    name='hello-date',
+    task=Task(
+      processes=[hello_date],
+      resources=Resources(cpu=10, ram=1024 * MB, disk=512 * MB)
+    ),
+    instances=1,
+    constraints={
+      'host': 'smf1-feq-33-sr1',
+    }
+  )
+]