Skip to content

Commit

Permalink
deps: add rust build dependencies to charm (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Jul 13, 2023
1 parent af36b01 commit 770c5de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 65 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ parts:
charm:
build-packages:
- git
charm-binary-python-packages:
- jsonschema
charm-python-packages:
- wheel==0.37.1
- setuptools==45.2.0
Expand Down
7 changes: 6 additions & 1 deletion tests/integration/test_remote_write_grafana_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,18 @@ async def test_remote_write_with_grafana_agent(
),
)

await ops_test.model.wait_for_idle(apps=apps, status="active", wait_for_units=1)
await ops_test.model.wait_for_idle(apps=apps, wait_for_units=1)
assert await check_prometheus_is_ready(ops_test, prometheus_name, 0)

await asyncio.gather(
ops_test.model.add_relation(
f"{prometheus_name}:receive-remote-write", f"{agent_name}:send-remote-write"
),
# With a "remote-write" relation in place, grafana-agent will block without a matching
# "metrics-endpoint" relation, so relate back to prometheus just to get this covered.
ops_test.model.add_relation(
f"{prometheus_name}:self-metrics-endpoint", f"{agent_name}:metrics-endpoint"
),
ops_test.model.add_relation(
f"{tester_name}:metrics-endpoint", f"{agent_name}:metrics-endpoint"
),
Expand Down

0 comments on commit 770c5de

Please sign in to comment.