Skip to content

Commit

Permalink
Update goss.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella authored Nov 16, 2024
1 parent 5435227 commit 3e56c98
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions apps/bazarr/ci/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/goss-org/goss/master/docs/schema.yaml

process:
# Check if Python is running (usually for a Python-based service like Bazarr)
python:
running: true
# Check if Bazarr is running, replace with the actual process name if different
bazarr:
running: true

file:
/usr/local/bin/python:
# Check if Python 3 binary exists
/usr/local/bin/python3:
exists: true
# Ensure Python is correctly installed and points to python3
/usr/bin/python:
exists: true
mode: "0755"
# Ensure unrar binary exists (since it was copied into the image)
/usr/bin/unrar:
exists: true
mode: "0755"
# Ensure the Bazarr binary is correctly installed
/app/bazarr/bin/bazarr.py:
exists: true
mode: "0755"

# Optionally, check if specific directories exist (for example, the config folder)
directory:
/config:
exists: true
mode: "0755"

0 comments on commit 3e56c98

Please sign in to comment.