Compare commits

..

2 Commits
0.0.7 ... 0.0.8

Author SHA1 Message Date
812989df47 two graphs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-01-28 13:49:26 +01:00
452161ff03 disable trivy warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-28 13:47:24 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ steps:
scan_image:
image: aquasec/trivy
commands:
- trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1
- TRIVY_DISABLE_VEX_NOTICE=1 trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1
when:
- event: [push, tag]
deploy:

View File

@ -55,6 +55,7 @@ def index():
yaxis=dict(ticksuffix=" kWh")
)
graph_html = fig.to_html(full_html=False)
graph_html_2 = fig.to_html(full_html=False)
return render_template_string(f"""
<html>
@ -63,7 +64,7 @@ def index():
</head>
<body>
{graph_html}
{graph_html}
{graph_html_2}
</body>
</html>
""")