feat: charts

This commit is contained in:
Andras Bacsai
2024-06-17 14:21:27 +02:00
parent 1ae6106782
commit 1d0a1ab16a
10 changed files with 160 additions and 8 deletions

View File

@@ -36,7 +36,10 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueue
{
try {
$version = get_latest_sentinel_version();
if (! $version) {
if (isDev()) {
$version = "0.0.5";
}
if (!$version) {
ray('Failed to get latest Sentinel version');
return;
@@ -52,7 +55,7 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueue
}
ray('Sentinel image is up to date');
} catch (\Throwable $e) {
send_internal_notification('PullSentinelImageJob failed with: '.$e->getMessage());
send_internal_notification('PullSentinelImageJob failed with: ' . $e->getMessage());
ray($e->getMessage());
throw $e;
}