Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions interfaces/k8s_backup_target/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,3 @@ quote-style = "preserve"
"D", # docs
"E501", # line too long
]
"./interface/v*/tests/*.py" = [
"CPY", # copyright
"D", # docs
"S", # security
"E501", # line too long
"F841", # assignment to unused variable
]
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,8 @@ class ProviderAppData(BaseModel):
description="List of backup target entries.",
title="Backup Targets",
)


ProviderUnitData = None
RequirerAppData = None
RequirerUnitData = None
12 changes: 0 additions & 12 deletions interfaces/velero_backup_config/interface/v0/interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,11 @@ providers:
- name: mlmd-operator
url: https://github.com/canonical/mlmd-operator
branch: main
test_setup:
pre_run: "poetry export --without-hashes --with unit --with charm --format=requirements.txt > requirements.txt"
location: tests/interface_tests/conftest.py
identifier: interface_tester
- name: minio-operator
url: https://github.com/canonical/minio-operator
branch: main
test_setup:
pre_run: "poetry export --without-hashes --with unit --with charm --format=requirements.txt > requirements.txt"
location: tests/interface_tests/conftest.py
identifier: interface_tester
- name: kubeflow-profiles-operator
url: https://github.com/canonical/kubeflow-profiles-operator
branch: main
test_setup:
pre_run: "poetry export --without-hashes --with unit --with charm --format=requirements.txt > requirements.txt"
location: tests/interface_tests/conftest.py
identifier: interface_tester

maintainer: analytics
15 changes: 3 additions & 12 deletions interfaces/velero_backup_config/interface/v0/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# See LICENSE file for licensing details.


from interface_tester.schema_base import DataBagSchema
from pydantic import BaseModel, Field


Expand Down Expand Up @@ -87,14 +86,6 @@ class RequirerAppData(BaseModel):
)


class RequirerSchema(DataBagSchema):
"""Schema for the requirer (client) side of velero-backup-config."""

app: RequirerAppData


class ProviderSchema(DataBagSchema):
"""Schema for the provider (Velero Operator) side of velero-backup-config."""

# The provider sends no data, so no app or unit fields are defined.
pass
ProviderAppData = None
ProviderUnitData = None
RequirerUnitData = None
Empty file.

This file was deleted.

7 changes: 0 additions & 7 deletions interfaces/velero_backup_config/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,3 @@ quote-style = "preserve"
"D", # docs
"E501", # line too long
]
"./interface/v*/tests/*.py" = [
"CPY", # copyright
"D", # docs
"S", # security
"E501", # line too long
"F841", # assignment to unused variable
]
Loading