chore: set version to 0.2.0
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "daena"
|
name = "daena"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
description = "Collect, buffer, and forward logs and events from Linux to central observability backends"
|
description = "Collect, buffer, and forward logs and events from Linux to central observability backends"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
VERSION="${1:-0.1.0}"
|
VERSION="${1:-0.2.0}"
|
||||||
PACKAGE="daena_${VERSION}_all"
|
PACKAGE="daena_${VERSION}_all"
|
||||||
BUILDROOT="/tmp/build/${PACKAGE}"
|
BUILDROOT="/tmp/build/${PACKAGE}"
|
||||||
DISTDIR="dist"
|
DISTDIR="dist"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.1.0"
|
__version__ = "0.2.0"
|
||||||
|
|||||||
+1
-1
@@ -60,7 +60,7 @@ async def smoke_test() -> int:
|
|||||||
try:
|
try:
|
||||||
resp = await stub.GetStatus(pb2.Empty(), timeout=5)
|
resp = await stub.GetStatus(pb2.Empty(), timeout=5)
|
||||||
assert resp.service == "daena"
|
assert resp.service == "daena"
|
||||||
assert resp.version == "0.1.0"
|
assert resp.version == "0.2.0"
|
||||||
assert resp.running is True
|
assert resp.running is True
|
||||||
print(f"[PASS] GetStatus: service={resp.service}, running={resp.running}")
|
print(f"[PASS] GetStatus: service={resp.service}, running={resp.running}")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ async def test_get_status(grpc_env) -> None:
|
|||||||
_, stub, _ = grpc_env
|
_, stub, _ = grpc_env
|
||||||
resp = await stub.GetStatus(pb2.Empty(), timeout=5)
|
resp = await stub.GetStatus(pb2.Empty(), timeout=5)
|
||||||
assert resp.service == "daena"
|
assert resp.service == "daena"
|
||||||
assert resp.version == "0.1.0"
|
assert resp.version == "0.2.0"
|
||||||
assert resp.running is True
|
assert resp.running is True
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ def test_layout_is_a_single_pipeline_line() -> None:
|
|||||||
assert flow.index("dummy") < flow.index("host")
|
assert flow.index("dummy") < flow.index("host")
|
||||||
assert flow.index("host") < flow.index("lmdb")
|
assert flow.index("host") < flow.index("lmdb")
|
||||||
assert flow.index("lmdb") < flow.index("log")
|
assert flow.index("lmdb") < flow.index("log")
|
||||||
assert "daena 0.1.0 ./daena.yaml" in text
|
assert "daena 0.2.0 ./daena.yaml" in text
|
||||||
assert "/tmp/daena/data" in text
|
assert "/tmp/daena/data" in text
|
||||||
assert "127.0.0.1:8642 127.0.0.1:8643" in text
|
assert "127.0.0.1:8642 127.0.0.1:8643" in text
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ def test_layout_names_each_plugin_once() -> None:
|
|||||||
"log (dummy), loki (127.0.0.1:3100)",
|
"log (dummy), loki (127.0.0.1:3100)",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
assert "daena 0.1.0 defaults" in text
|
assert "daena 0.2.0 defaults" in text
|
||||||
|
|
||||||
|
|
||||||
def test_layout_skips_empty_stages_and_disabled_metrics() -> None:
|
def test_layout_skips_empty_stages_and_disabled_metrics() -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user