summary refs log tree commit diff
path: root/configs/aurora
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-01-19 10:39:46 -0800
committerFranck Cuny <fcuny@twitter.com>2019-01-19 10:39:46 -0800
commit9353c33abad9a486c67ea8bc82e06b37d3b36a92 (patch)
treeb27ff6c5259e7cd983b55153d1fe1438cc75cd6b /configs/aurora
parent[bash] go back to simple prompt. (diff)
downloademacs.d-9353c33abad9a486c67ea8bc82e06b37d3b36a92.tar.gz
clean up.
Removed scripts and some configs, they will be in their own repo.
Diffstat (limited to '')
-rw-r--r--configs/aurora/fio.aurora32
-rw-r--r--configs/aurora/hello-job.aurora21
-rw-r--r--configs/aurora/smf1-test-cron-job.aurora17
3 files changed, 0 insertions, 70 deletions
diff --git a/configs/aurora/fio.aurora b/configs/aurora/fio.aurora
deleted file mode 100644
index c91095e..0000000
--- a/configs/aurora/fio.aurora
+++ /dev/null
@@ -1,32 +0,0 @@
-downloadFIO = Process(
-  name='download-fio',
-  cmdline='curl -o fio.rpm https://svn.twitter.biz/rpms/fio.x86_64/RPMS/x86_64/fio-1.50-2.twitter.x86_64.rpm'
-)
-
-extractFIO = Process(
-  name='extract-fio',
-  cmdline='rpm2cpio fio.rpm | cpio -idmv'
-)
-
-runFIO = Process(
-  name='run-fio',
-  cmdline='./usr/bin/fio --name=writefile --size=8G --filesize=8G --filename=./fiotestfsync --bs=4k --nrfiles=1 --fsync=1 --randrepeat=0 --rw=write --refill_buffers --end_fsync=1 --iodepth=200 --ioengine=libaio --runtime=240',
-)
-
-jobs = [
-  Service(
-    cluster='smf1-test',
-    environment='devel',
-    role='fcuny',
-    name='fio',
-    task=Task(
-      processes=[downloadFIO, extractFIO, runFIO],
-      resources=Resources(cpu=10, ram=4096 * MB, disk=10 * GB),
-      constraints=order(downloadFIO, extractFIO, runFIO)
-    ),
-    instances=4,
-    constraints={
-      'base_platform': 'f4ww',
-    }
-  )
-]
diff --git a/configs/aurora/hello-job.aurora b/configs/aurora/hello-job.aurora
deleted file mode 100644
index e0758a3..0000000
--- a/configs/aurora/hello-job.aurora
+++ /dev/null
@@ -1,21 +0,0 @@
-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',
-    }
-  )
-]
diff --git a/configs/aurora/smf1-test-cron-job.aurora b/configs/aurora/smf1-test-cron-job.aurora
deleted file mode 100644
index 3ade1b4..0000000
--- a/configs/aurora/smf1-test-cron-job.aurora
+++ /dev/null
@@ -1,17 +0,0 @@
-# A cron job that runs every 5 minutes.
-jobs = [
-  Job(
-    cluster = 'smf1-test',
-    role = 'fcuny',
-    environment = 'test',
-    name = 'cron_hello_world-trashing',
-    cron_schedule = '*/5 * * * *',
-    constraints = {
-        'host': 'smf1-fki-17-sr1',
-    },
-    instances=10,
-    task = SimpleTask(
-      'cron_hello_world',
-      'echo "Hello world from cron, the time is now $(date --rfc-822)"'),
-  ),
-]