Skip to content

Commit 8587357

Browse files
authored
🚀 release (#67)
2 parents df6672e + fa2cc14 commit 8587357

File tree

4 files changed

+152
-135
lines changed

4 files changed

+152
-135
lines changed

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
"version": "1.0.0",
5555
"devDependencies": {
5656
"semantic-release-export-data": "^1.0.1",
57+
"semantic-release": "25.0.0-beta.6",
5758
"@semantic-release/changelog": "^6.0.3"
5859
}
5960
}
@@ -99,7 +100,7 @@ jobs:
99100
]
100101
}
101102
- name: setup semantic-release
102-
run: npm i
103+
run: npm install --legacy-peer-deps
103104
- name: release dry-run
104105
env:
105106
SLACK_WEBHOOK: ${{ secrets.SLACK_SEMANTIC_RELEASE_WEBHOOK }}
@@ -193,6 +194,7 @@ jobs:
193194
"version": "1.0.0",
194195
"devDependencies": {
195196
"semantic-release-export-data": "^1.0.1",
197+
"semantic-release": "25.0.0-beta.6",
196198
"@semantic-release/changelog": "^6.0.3"
197199
}
198200
}
@@ -238,7 +240,7 @@ jobs:
238240
]
239241
}
240242
- name: setup semantic-release
241-
run: npm i
243+
run: npm install --legacy-peer-deps
242244
- name: Release
243245
env:
244246
SLACK_WEBHOOK: ${{ secrets.SLACK_OBSERVABILITY_RELEASE_WEBHOOK }}

‎netboxlabs/diode/sdk/diode/v1/ingester_pb2.py‎

Lines changed: 125 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎netboxlabs/diode/sdk/diode/v1/ingester_pb2.pyi‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ class ModuleType(_message.Message):
25632563
def __init__(self, manufacturer: _Optional[_Union[Manufacturer, _Mapping]] = ..., model: _Optional[str] = ..., part_number: _Optional[str] = ..., airflow: _Optional[str] = ..., weight: _Optional[float] = ..., weight_unit: _Optional[str] = ..., description: _Optional[str] = ..., comments: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ..., profile: _Optional[_Union[ModuleTypeProfile, _Mapping]] = ..., attributes: _Optional[str] = ...) -> None: ...
25642564

25652565
class Platform(_message.Message):
2566-
__slots__ = ("name", "slug", "manufacturer", "description", "tags", "custom_fields")
2566+
__slots__ = ("name", "slug", "manufacturer", "description", "tags", "custom_fields", "parent", "comments")
25672567
class CustomFieldsEntry(_message.Message):
25682568
__slots__ = ("key", "value")
25692569
KEY_FIELD_NUMBER: _ClassVar[int]
@@ -2577,13 +2577,17 @@ class Platform(_message.Message):
25772577
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
25782578
TAGS_FIELD_NUMBER: _ClassVar[int]
25792579
CUSTOM_FIELDS_FIELD_NUMBER: _ClassVar[int]
2580+
PARENT_FIELD_NUMBER: _ClassVar[int]
2581+
COMMENTS_FIELD_NUMBER: _ClassVar[int]
25802582
name: str
25812583
slug: str
25822584
manufacturer: Manufacturer
25832585
description: str
25842586
tags: _containers.RepeatedCompositeFieldContainer[Tag]
25852587
custom_fields: _containers.MessageMap[str, CustomFieldValue]
2586-
def __init__(self, name: _Optional[str] = ..., slug: _Optional[str] = ..., manufacturer: _Optional[_Union[Manufacturer, _Mapping]] = ..., description: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ...) -> None: ...
2588+
parent: Platform
2589+
comments: str
2590+
def __init__(self, name: _Optional[str] = ..., slug: _Optional[str] = ..., manufacturer: _Optional[_Union[Manufacturer, _Mapping]] = ..., description: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ..., parent: _Optional[_Union[Platform, _Mapping]] = ..., comments: _Optional[str] = ...) -> None: ...
25872591

25882592
class PowerFeed(_message.Message):
25892593
__slots__ = ("power_panel", "rack", "name", "status", "type", "supply", "phase", "voltage", "amperage", "max_utilization", "mark_connected", "description", "tenant", "comments", "tags", "custom_fields")
@@ -2934,7 +2938,7 @@ class Rack(_message.Message):
29342938
def __init__(self, name: _Optional[str] = ..., facility_id: _Optional[str] = ..., site: _Optional[_Union[Site, _Mapping]] = ..., location: _Optional[_Union[Location, _Mapping]] = ..., tenant: _Optional[_Union[Tenant, _Mapping]] = ..., status: _Optional[str] = ..., role: _Optional[_Union[RackRole, _Mapping]] = ..., serial: _Optional[str] = ..., asset_tag: _Optional[str] = ..., rack_type: _Optional[_Union[RackType, _Mapping]] = ..., form_factor: _Optional[str] = ..., width: _Optional[int] = ..., u_height: _Optional[int] = ..., starting_unit: _Optional[int] = ..., weight: _Optional[float] = ..., max_weight: _Optional[int] = ..., weight_unit: _Optional[str] = ..., desc_units: bool = ..., outer_width: _Optional[int] = ..., outer_depth: _Optional[int] = ..., outer_unit: _Optional[str] = ..., mounting_depth: _Optional[int] = ..., airflow: _Optional[str] = ..., description: _Optional[str] = ..., comments: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ..., outer_height: _Optional[int] = ...) -> None: ...
29352939

29362940
class RackReservation(_message.Message):
2937-
__slots__ = ("rack", "units", "tenant", "description", "comments", "tags", "custom_fields")
2941+
__slots__ = ("rack", "units", "tenant", "description", "comments", "tags", "custom_fields", "status")
29382942
class CustomFieldsEntry(_message.Message):
29392943
__slots__ = ("key", "value")
29402944
KEY_FIELD_NUMBER: _ClassVar[int]
@@ -2949,14 +2953,16 @@ class RackReservation(_message.Message):
29492953
COMMENTS_FIELD_NUMBER: _ClassVar[int]
29502954
TAGS_FIELD_NUMBER: _ClassVar[int]
29512955
CUSTOM_FIELDS_FIELD_NUMBER: _ClassVar[int]
2956+
STATUS_FIELD_NUMBER: _ClassVar[int]
29522957
rack: Rack
29532958
units: _containers.RepeatedScalarFieldContainer[int]
29542959
tenant: Tenant
29552960
description: str
29562961
comments: str
29572962
tags: _containers.RepeatedCompositeFieldContainer[Tag]
29582963
custom_fields: _containers.MessageMap[str, CustomFieldValue]
2959-
def __init__(self, rack: _Optional[_Union[Rack, _Mapping]] = ..., units: _Optional[_Iterable[int]] = ..., tenant: _Optional[_Union[Tenant, _Mapping]] = ..., description: _Optional[str] = ..., comments: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ...) -> None: ...
2964+
status: str
2965+
def __init__(self, rack: _Optional[_Union[Rack, _Mapping]] = ..., units: _Optional[_Iterable[int]] = ..., tenant: _Optional[_Union[Tenant, _Mapping]] = ..., description: _Optional[str] = ..., comments: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., custom_fields: _Optional[_Mapping[str, CustomFieldValue]] = ..., status: _Optional[str] = ...) -> None: ...
29602966

29612967
class RackRole(_message.Message):
29622968
__slots__ = ("name", "slug", "color", "description", "tags", "custom_fields")
@@ -4092,13 +4098,13 @@ class CustomField(_message.Message):
40924098
default: str
40934099
related_object_filter: str
40944100
weight: int
4095-
validation_minimum: int
4096-
validation_maximum: int
4101+
validation_minimum: float
4102+
validation_maximum: float
40974103
validation_regex: str
40984104
choice_set: CustomFieldChoiceSet
40994105
comments: str
41004106
object_types: _containers.RepeatedScalarFieldContainer[str]
4101-
def __init__(self, type: _Optional[str] = ..., related_object_type: _Optional[str] = ..., name: _Optional[str] = ..., label: _Optional[str] = ..., group_name: _Optional[str] = ..., description: _Optional[str] = ..., required: bool = ..., unique: bool = ..., search_weight: _Optional[int] = ..., filter_logic: _Optional[str] = ..., ui_visible: _Optional[str] = ..., ui_editable: _Optional[str] = ..., is_cloneable: bool = ..., default: _Optional[str] = ..., related_object_filter: _Optional[str] = ..., weight: _Optional[int] = ..., validation_minimum: _Optional[int] = ..., validation_maximum: _Optional[int] = ..., validation_regex: _Optional[str] = ..., choice_set: _Optional[_Union[CustomFieldChoiceSet, _Mapping]] = ..., comments: _Optional[str] = ..., object_types: _Optional[_Iterable[str]] = ...) -> None: ...
4107+
def __init__(self, type: _Optional[str] = ..., related_object_type: _Optional[str] = ..., name: _Optional[str] = ..., label: _Optional[str] = ..., group_name: _Optional[str] = ..., description: _Optional[str] = ..., required: bool = ..., unique: bool = ..., search_weight: _Optional[int] = ..., filter_logic: _Optional[str] = ..., ui_visible: _Optional[str] = ..., ui_editable: _Optional[str] = ..., is_cloneable: bool = ..., default: _Optional[str] = ..., related_object_filter: _Optional[str] = ..., weight: _Optional[int] = ..., validation_minimum: _Optional[float] = ..., validation_maximum: _Optional[float] = ..., validation_regex: _Optional[str] = ..., choice_set: _Optional[_Union[CustomFieldChoiceSet, _Mapping]] = ..., comments: _Optional[str] = ..., object_types: _Optional[_Iterable[str]] = ...) -> None: ...
41024108

41034109
class CustomFieldChoiceSet(_message.Message):
41044110
__slots__ = ("name", "description", "base_choices", "order_alphabetically", "extra_choices")

‎netboxlabs/diode/sdk/ingester.py‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#
44
# Generated code. DO NOT EDIT.
5-
# Timestamp: 2025-07-23 01:46:43Z
5+
# Timestamp: 2025-10-02 12:39:10Z
66
#
77
# ruff: noqa: C901
88

@@ -3591,18 +3591,23 @@ def __new__(
35913591
description: str | None = None,
35923592
tags: list[str | Tag | pb.Tag] | None = None,
35933593
custom_fields: dict[str, str | CustomFieldValue | pb.CustomFieldValue] | None = None,
3594+
parent: str | Platform | pb.Platform | None = None,
3595+
comments: str | None = None,
35943596
) -> pb.Platform:
35953597
"""Create a new Platform."""
35963598
manufacturer = convert_to_protobuf(manufacturer, pb.Manufacturer)
35973599
tags = convert_to_protobuf_list(tags, pb.Tag)
35983600
custom_fields = convert_to_protobuf_dict(custom_fields, pb.CustomFieldValue)
3601+
parent = convert_to_protobuf(parent, pb.Platform)
35993602
return pb.Platform(
36003603
name=name,
36013604
slug=slug,
36023605
manufacturer=manufacturer,
36033606
description=description,
36043607
tags=tags,
36053608
custom_fields=custom_fields,
3609+
parent=parent,
3610+
comments=comments,
36063611
)
36073612

36083613

@@ -4013,6 +4018,7 @@ def __new__(
40134018
comments: str | None = None,
40144019
tags: list[str | Tag | pb.Tag] | None = None,
40154020
custom_fields: dict[str, str | CustomFieldValue | pb.CustomFieldValue] | None = None,
4021+
status: str | None = None,
40164022
) -> pb.RackReservation:
40174023
"""Create a new RackReservation."""
40184024
rack = convert_to_protobuf(rack, pb.Rack)
@@ -4027,6 +4033,7 @@ def __new__(
40274033
comments=comments,
40284034
tags=tags,
40294035
custom_fields=custom_fields,
4036+
status=status,
40304037
)
40314038

40324039

@@ -5408,8 +5415,8 @@ def __new__(
54085415
default: str | None = None,
54095416
related_object_filter: str | None = None,
54105417
weight: int | None = None,
5411-
validation_minimum: int | None = None,
5412-
validation_maximum: int | None = None,
5418+
validation_minimum: float | None = None,
5419+
validation_maximum: float | None = None,
54135420
validation_regex: str | None = None,
54145421
choice_set: str | CustomFieldChoiceSet | pb.CustomFieldChoiceSet | None = None,
54155422
comments: str | None = None,

0 commit comments

Comments
 (0)