Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
812989df47 | |||
452161ff03 |
@ -16,7 +16,7 @@ steps:
|
|||||||
scan_image:
|
scan_image:
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
commands:
|
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:
|
when:
|
||||||
- event: [push, tag]
|
- event: [push, tag]
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -55,6 +55,7 @@ def index():
|
|||||||
yaxis=dict(ticksuffix=" kWh")
|
yaxis=dict(ticksuffix=" kWh")
|
||||||
)
|
)
|
||||||
graph_html = fig.to_html(full_html=False)
|
graph_html = fig.to_html(full_html=False)
|
||||||
|
graph_html_2 = fig.to_html(full_html=False)
|
||||||
|
|
||||||
return render_template_string(f"""
|
return render_template_string(f"""
|
||||||
<html>
|
<html>
|
||||||
@ -63,7 +64,7 @@ def index():
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{graph_html}
|
{graph_html}
|
||||||
{graph_html}
|
{graph_html_2}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
""")
|
""")
|
||||||
|
Reference in New Issue
Block a user