summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard')
-rw-r--r--pharos-dashboard/.gitignore1
-rw-r--r--pharos-dashboard/account/migrations/0001_initial.py33
-rw-r--r--pharos-dashboard/account/migrations/0002_auto_20160816_1511.py27
-rw-r--r--pharos-dashboard/account/migrations/0002_userprofile_timezone.py20
@media only all and (prefers-color-scheme: dark) { .highlight .hll { background-color: #49483e } .highlight .c { color: #75715e } /* Comment */ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */ .highlight .k { color: #66d9ef } /* Keyword */ .highlight .l { color: #ae81ff } /* Literal */ .highlight .n { color: #f8f8f2 } /* Name */ .highlight .o { color: #f92672 } /* Operator */ .highlight .p { color: #f8f8f2 } /* Punctuation */ .highlight .ch { color: #75715e } /* Comment.Hashbang */ .highlight .cm { color: #75715e } /* Comment.Multiline */ .highlight .cp { color: #75715e } /* Comment.Preproc */ .highlight .cpf { color: #75715e } /* Comment.PreprocFile */ .highlight .c1 { color: #75715e } /* Comment.Single */ .highlight .cs { color: #75715e } /* Comment.Special */ .highlight .gd { color: #f92672 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gi { color: #a6e22e } /* Generic.Inserted */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #75715e } /* Generic.Subheading */ .highlight .kc { color: #66d9ef } /* Keyword.Constant */ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */ .highlight .kn { color: #f92672 } /* Keyword.Namespace */ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */ .highlight .kt { color: #66d9ef } /* Keyword.Type */ .highlight .ld { color: #e6db74 } /* Literal.Date */ .highlight .m { color: #ae81ff } /* Literal.Number */ .highlight .s { color: #e6db74 } /* Literal.String */ .highlight .na { color: #a6e22e } /* Name.Attribute */ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */ .highlight .nc { color: #a6e22e } /* Name.Class */ .highlight .no { color: #66d9ef } /* Name.Constant */ .highlight .nd { color: #a6e22e } /* Name.Decorator */ .highlight .ni { color: #f8f8f2 } /* Name.Entity */ .highlight .ne { color: #a6e22e } /* Name.Exception */ .highlight .nf { color: #a6e22e } /* Name.Function */ .highlight .nl { color: #f8f8f2 } /* Name.Label */ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */ .highlight .nx { color: #a6e22e } /* Name.Other */ .highlight .py { color: #f8f8f2 } /* Name.Property */ .highlight .nt { color: #f92672 } /* Name.Tag */ .highlight .nv { color: #f8f8f2 } /* Name.Variable */ .highlight .ow { color: #f92672 } /* Operator.Word */ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */ .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ .highlight .sa { color: #e6db74 } /* Literal.String.Affix */ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ .highlight .sc { color: #e6db74 } /* Literal.String.Char */ .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */ .highlight .se { color: #ae81ff } /* Literal.String.Escape */ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */ .highlight .sx { color: #e6db74 } /* Literal.String.Other */ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #a6e22e } /* Name.Function.Magic */ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ } @media (prefers-color-scheme: light) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlighid2=114a6fb65e14f15487bc8db33cedae011fc42cac'>pharos-dashboard/dashboard/migrations/0001_initial.py40
-rw-r--r--pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py27
-rw-r--r--pharos-dashboard/dashboard/migrations/0002_resourceutilization.py23
-rw-r--r--pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py23
-rw-r--r--pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py24
-rw-r--r---
- initial = True
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='UserProfile',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('timezone', models.CharField(default='UTC', max_length=100)),
- ('sshkey', models.CharField(max_length=2048)),
- ('pgpkey', models.CharField(max_length=2048)),
- ('company', models.CharField(max_length=200)),
- ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'user_profile',
- },
- ),
- ]
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-16 15:11
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0001_initial'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='oauth_secret',
- field=models.CharField(default='', max_length=1024),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='userprofile',
- name='oauth_token',
- field=models.CharField(default='', max_length=1024),
- preserve_default=False,
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0002_userprofile_timezone.py b/pharos-dashboard/account/migrations/0002_userprofile_timezone.py
deleted file mode 100644
index ea67598..0000000
--- a/pharos-dashboard/account/migrations/0002_userprofile_timezone.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 13:17
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0001_initial'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='timezone',
- field=models.CharField(default='UTC', max_length=100),
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0003_auto_20160819_1024.py b/pharos-dashboard/account/migrations/0003_auto_20160819_1024.py
deleted file mode 100644
index b648844..0000000
--- a/pharos-dashboard/account/migrations/0003_auto_20160819_1024.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-19 10:24
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0002_auto_20160816_1511'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='pgpkey',
- new_name='pgp_pupblic_key',
- ),
- migrations.RenameField(
- model_name='userprofile',
- old_name='sshkey',
- new_name='ssh_public_key',
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0003_userprofile_registration_complete.py b/pharos-dashboard/account/migrations/0003_userprofile_registration_complete.py
deleted file mode 100644
index d611443..0000000
--- a/pharos-dashboard/account/migrations/0003_userprofile_registration_complete.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 17:09
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0002_userprofile_timezone'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='registration_complete',
- field=models.BooleanField(default=False),
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0004_auto_20160812_1805.py b/pharos-dashboard/account/migrations/0004_auto_20160812_1805.py
deleted file mode 100644
index cb22855..0000000
--- a/pharos-dashboard/account/migrations/0004_auto_20160812_1805.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 18:05
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0003_userprofile_registration_complete'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='gpgkey',
- field=models.CharField(default='a', max_length=2048),
- preserve_default=False,
- ),
- migrations.AlterField(
- model_name='userprofile',
- name='sshkey',
- field=models.CharField(max_length=2048),
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0004_auto_20160819_1055.py b/pharos-dashboard/account/migrations/0004_auto_20160819_1055.py
deleted file mode 100644
index 51af0aa..0000000
--- a/pharos-dashboard/account/migrations/0004_auto_20160819_1055.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-19 10:55
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0003_auto_20160819_1024'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='pgp_pupblic_key',
- new_name='pgp_public_key',
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0005_remove_userprofile_registration_complete.py b/pharos-dashboard/account/migrations/0005_remove_userprofile_registration_complete.py
deleted file mode 100644
index fa4bf72..0000000
--- a/pharos-dashboard/account/migrations/0005_remove_userprofile_registration_complete.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 10:49
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0004_auto_20160812_1805'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='userprofile',
- name='registration_complete',
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0006_auto_20160813_1443.py b/pharos-dashboard/account/migrations/0006_auto_20160813_1443.py
deleted file mode 100644
index 7d9cd58..0000000
--- a/pharos-dashboard/account/migrations/0006_auto_20160813_1443.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 14:43
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0005_remove_userprofile_registration_complete'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='userresource',
- name='resource',
- ),
- migrations.RemoveField(
- model_name='userresource',
- name='user',
- ),
- migrations.DeleteModel(
- name='UserResource',
- ),
- ]
diff --git a/pharos-dashboard/account/migrations/0007_auto_20160814_1056.py b/pharos-dashboard/account/migrations/0007_auto_20160814_1056.py
deleted file mode 100644
index 2d1bbae..0000000
--- a/pharos-dashboard/account/migrations/0007_auto_20160814_1056.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-14 10:56
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0006_auto_20160813_1443'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='gpgkey',
- new_name='pgpkey',
- ),
- ]
diff --git a/pharos-dashboard/booking/migrations/0001_initial.py b/pharos-dashboard/booking/migrations/0001_initial.py
deleted file mode 100644
index 9706b81..0000000
--- a/pharos-dashboard/booking/migrations/0001_initial.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ('dashboard', '0001_initial'),
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Booking',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('start', models.DateTimeField()),
- ('end', models.DateTimeField()),
- ('purpose', models.CharField(max_length=300)),
- ('resource', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='dashboard.Resource')),
- ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'booking',
- },
- ),
- ]
diff --git a/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py b/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py
deleted file mode 100644
index 335379d..0000000
--- a/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='deleted',
- ),
- ]
diff --git a/pharos-dashboard/booking/migrations/0003_remove_booking_status.py b/pharos-dashboard/booking/migrations/0003_remove_booking_status.py
deleted file mode 100644
index 95089a7..0000000
--- a/pharos-dashboard/booking/migrations/0003_remove_booking_status.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:51
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0002_remove_booking_deleted'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='status',
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0001_initial.py b/pharos-dashboard/dashboard/migrations/0001_initial.py
deleted file mode 100644
index 6343b46..0000000
--- a/pharos-dashboard/dashboard/migrations/0001_initial.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Resource',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('slavename', models.CharField(blank=True, max_length=50, null=True)),
- ('description', models.CharField(blank=True, max_length=300, null=True)),
- ('url', models.CharField(blank=True, max_length=100, null=True)),
- ('owners', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'resource',
- },
- ),
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py b/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py
deleted file mode 100644
index 67822a7..0000000
--- a/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:11
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py b/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py
deleted file mode 100644
index 8e10acf..0000000
--- a/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py b/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py
deleted file mode 100644
index 8c4c213..0000000
--- a/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 13:02
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_resourceutilization'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='active',
- ),
- migrations.RemoveField(
- model_name='resource',
- name='bookable',
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py b/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py
deleted file mode 100644
index 53b4fcd..0000000
--- a/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:12
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_auto_20160815_1511'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slave',
- ),
- migrations.AddField(
- model_name='resource',
- name='slavename',
- field=models.CharField(blank=True, max_length=50, null=True),
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0004_resource_owners.py b/pharos-dashboard/dashboard/migrations/0004_resource_owners.py
deleted file mode 100644
index b851588..0000000
--- a/pharos-dashboard/dashboard/migrations/0004_resource_owners.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 14:43
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ('dashboard', '0003_auto_20160813_1302'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='owners',
- field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0004_resource_slave.py b/pharos-dashboard/dashboard/migrations/0004_resource_slave.py
deleted file mode 100644
index 82d45f0..0000000
--- a/pharos-dashboard/dashboard/migrations/0004_resource_slave.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:13
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0003_auto_20160815_1512'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py b/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py
deleted file mode 100644
index 339f8c3..0000000
--- a/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:17
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0004_resource_slave'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- ]
diff --git a/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py b/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py
deleted file mode 100644
index fb637bd..0000000
--- a/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-16 10:42
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0005_remove_resource_slavename'),
- ]
-
- operations = [
- migrations.DeleteModel(
- name='ResourceUtilization',
- ),
- ]
diff --git a/pharos-dashboard/jenkins/migrations/0001_initial.py b/pharos-dashboard/jenkins/migrations/0001_initial.py
deleted file mode 100644
index a9bb8d5..0000000
--- a/pharos-dashboard/jenkins/migrations/0001_initial.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='JenkinsSlave',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('status', models.CharField(default='offline', max_length=30)),
- ('url', models.CharField(max_length=1024)),
- ('ci_slave', models.BooleanField(default=False)),
- ('dev_pod', models.BooleanField(default=False)),
- ('building', models.BooleanField(default=False)),
- ('last_job_name', models.CharField(default='', max_length=1024)),
- ('last_job_url', models.CharField(default='', max_length=1024)),
- ('last_job_scenario', models.CharField(default='', max_length=50)),
- ('last_job_branch', models.CharField(default='', max_length=50)),
- ('last_job_installer', models.CharField(default='', max_length=50)),
- ('last_job_result', models.CharField(default='', max_length=30)),
- ],
- options={
- 'db_table': 'jenkins_slave',
- },
- ),
- migrations.CreateModel(
- name='JenkinsStatistic',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('offline', models.BooleanField(default=False)),
- ('idle', models.BooleanField(default=False)),
- ('online', models.BooleanField(default=False)),
- ('slave', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='jenkins.JenkinsSlave')),
- ],
- options={
- 'db_table': 'jenkins_statistic',
- },
- ),
- ]
diff --git a/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py b/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py
deleted file mode 100644
index f1cf7f9..0000000
--- a/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:26
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0001_initial'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='jenkinsstatistic',
- name='timestamp',
- field=models.DateTimeField(auto_now_add=True),
- ),
- ]