Skip to content

Commit

Permalink
Merge pull request #970 from spack/remove-legacy-models
Browse files Browse the repository at this point in the history
Remove legacy models
  • Loading branch information
jjnesbitt authored Oct 14, 2024
2 parents 8774c72 + 2feedb3 commit 0e7ae86
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 369 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/custom_docker_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- docker-image: ./images/cache-indexer
image-tags: ghcr.io/spack/cache-indexer:0.0.3
- docker-image: ./analytics
image-tags: ghcr.io/spack/django:0.3.17
image-tags: ghcr.io/spack/django:0.3.18
- docker-image: ./images/ci-prune-buildcache
image-tags: ghcr.io/spack/ci-prune-buildcache:0.0.4
- docker-image: ./images/protected-publish
Expand Down
139 changes: 0 additions & 139 deletions analytics/analytics/core/management/commands/migrate_job_attempt.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by Django 4.2.13 on 2024-10-10 19:55

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("core", "0020_remove_jobdatadimension_is_build_and_more"),
]

operations = [
migrations.DeleteModel(
name="LegacyErrorTaxonomy",
),
migrations.RemoveField(
model_name="legacyjob",
name="node",
),
migrations.RemoveField(
model_name="legacyjob",
name="pod",
),
migrations.DeleteModel(
name="LegacyJobAttempt",
),
migrations.RemoveField(
model_name="legacytimer",
name="job",
),
migrations.RemoveField(
model_name="legacytimerphase",
name="timer",
),
migrations.DeleteModel(
name="LegacyJob",
),
migrations.DeleteModel(
name="LegacyJobPod",
),
migrations.DeleteModel(
name="LegacyNode",
),
migrations.DeleteModel(
name="LegacyTimer",
),
migrations.DeleteModel(
name="LegacyTimerPhase",
),
]
1 change: 0 additions & 1 deletion analytics/analytics/core/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from analytics.core.models.dimensions import * # noqa: F403
from analytics.core.models.facts import * # noqa: F403
from analytics.core.models.legacy import * # noqa: F403
Loading

0 comments on commit 0e7ae86

Please sign in to comment.