Debug

Stoat Config File

{
"enabled": true,
"plugins": {
"job_runtime": {
"enabled": true
},
"static_hosting": {
"postgres_dump": {
"path": "postgres.db"
}
}
},
"version": 1,
"comment_template_file": ".stoat/comment.hbs"
}

Partial Configs

{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "02ec0974a6ea266a0291d1b18a89c4178b82392a",
"link": "https://stoat-dev--example-da-c26d--02ec097--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "02ec0974a6ea266a0291d1b18a89c4178b82392a",
"workflow": "Build",
"runtime_seconds": 49
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "3ddece5940af5a5a5e8278710f7a324e5cd39601",
"link": "https://stoat-dev--example-da-c26d--3ddece5--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "3ddece5940af5a5a5e8278710f7a324e5cd39601",
"workflow": "Build",
"runtime_seconds": 52
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "a1127fd70ef5371312aa346674ea6c67bcf98997",
"link": "https://stoat-dev--example-da-c26d--a1127fd--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "a1127fd70ef5371312aa346674ea6c67bcf98997",
"workflow": "Build",
"runtime_seconds": 46
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "a17beef767d1a028f84a2566c12940c4047e891b",
"link": "https://stoat-dev--example-da-c26d--a17beef--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "a17beef767d1a028f84a2566c12940c4047e891b",
"workflow": "Build",
"runtime_seconds": 45
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "c66cfca0e5c238ae4ea8cf14c95327baa47848aa",
"link": "https://stoat-dev--example-da-c26d--c66cfca--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "c66cfca0e5c238ae4ea8cf14c95327baa47848aa",
"workflow": "Build",
"runtime_seconds": 45
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "b31f51ee20616f0d0bd384a406e2c3223b19cc2a",
"link": "https://stoat-dev--example-da-c26d--b31f51e--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "b31f51ee20616f0d0bd384a406e2c3223b19cc2a",
"workflow": "Build",
"runtime_seconds": 54
}
]
}
}
}
{
"plugins": {
"static_hosting": {
"postgres_dump": {
"sha": "06d12d83bce1c9f386bf51cd82e05c86f97747c3",
"link": "https://stoat-dev--example-da-c26d--06d12d8--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
}
}
{
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "06d12d83bce1c9f386bf51cd82e05c86f97747c3",
"workflow": "Build",
"runtime_seconds": 45
}
]
}
}
}

Rendered Config

{
"views": {
"plugins": {
"job_runtime": {
"github": {
"chart": "### Job Runtime\n\n<a href=\"https://quickchart.io/chart/render/sp-927366d9-7c46-4164-955f-fd1abef7b274\" target=\"_blank\">\n <img src=\"https://quickchart.io/chart/render/sp-927366d9-7c46-4164-955f-fd1abef7b274\" width=\"500\" alt=\"job runtime chart\" />\n</a>\n"
}
},
"static_hosting": {
"github": {
"table": "### Static Hosting\n\n| Name | Link | Commit | Status |\n| :--- | :--- | :--: | :-----: |\n| **postgres_dump** | [Visit](https://stoat-dev--example-da-c26d--06d12d8--postgres-dump.stoat.page/postgres.db) | 06d12d83bce1c9f386bf51cd82e05c86f97747c3 | ❌ |\n"
}
}
}
},
"enabled": true,
"plugins": {
"job_runtime": {
"enabled": true,
"runtime": [
{
"job": "test",
"sha": "02ec0974a6ea266a0291d1b18a89c4178b82392a",
"workflow": "Build",
"runtime_seconds": 49
},
{
"job": "test",
"sha": "3ddece5940af5a5a5e8278710f7a324e5cd39601",
"workflow": "Build",
"runtime_seconds": 52
},
{
"job": "test",
"sha": "a1127fd70ef5371312aa346674ea6c67bcf98997",
"workflow": "Build",
"runtime_seconds": 46
},
{
"job": "test",
"sha": "a17beef767d1a028f84a2566c12940c4047e891b",
"workflow": "Build",
"runtime_seconds": 45
},
{
"job": "test",
"sha": "c66cfca0e5c238ae4ea8cf14c95327baa47848aa",
"workflow": "Build",
"runtime_seconds": 45
},
{
"job": "test",
"sha": "b31f51ee20616f0d0bd384a406e2c3223b19cc2a",
"workflow": "Build",
"runtime_seconds": 54
},
{
"job": "test",
"sha": "06d12d83bce1c9f386bf51cd82e05c86f97747c3",
"workflow": "Build",
"runtime_seconds": 45
}
],
"chart_link": "https://quickchart.io/chart/render/sp-927366d9-7c46-4164-955f-fd1abef7b274"
},
"static_hosting": {
"postgres_dump": {
"sha": "06d12d83bce1c9f386bf51cd82e05c86f97747c3",
"link": "https://stoat-dev--example-da-c26d--06d12d8--postgres-dump.stoat.page/postgres.db",
"path": "postgres.db",
"status": "❌"
}
}
},
"version": 1,
"comment_template_file": ".stoat/comment.hbs"
}

Template

{{#if plugins.static_hosting.postgres_dump.link}}
❌ [View Database](https://lite.datasette.io/?url={{ plugins.static_hosting.postgres_dump.link }})
{{else}}
✅ All Tests Passed
{{/if}}

Rendered Comment Markdown

**Easy and customizable dashboards for your build system**. Learn more about [Stoat ↗︎](https://stoat.dev)
[View Database](https://lite.datasette.io/?url=https://stoat-dev--example-da-c26d--06d12d8--postgres-dump.stoat.page/postgres.db)

Rendered Comment

Easy and customizable dashboards for your build system. Learn more about Stoat ↗︎View Database

© 2023 Stoat Works, Inc.