Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

1.3 KB
Raw Blame
{
  "schemaVersion": 1,
  "allowReboot": false,
  "artifactRoots": ["/var/lib/pixel-runner/jobs/artifacts"],
  "verifiedArtifactRoot": "/var/lib/pixel-ops-managed/verified",
  "maxPackageBytes": 16777216,
  "services": {
    "pixel-fixture": {
      "unit": "pixel-ops-fixture.service",
      "verifyCommand": ["/usr/bin/systemctl", "is-active", "pixel-ops-fixture.service"],
      "verifyTimeoutSeconds": 30,
      "rollbackState": "active"
    }
  },
  "deployments": {
    "client-app": {
      "releasesRoot": "/opt/pixel-ops-fixture/releases",
      "currentLink": "/opt/pixel-ops-fixture/current",
      "previousLink": "/opt/pixel-ops-fixture/previous",
      "verifyCommand": ["/opt/pixel-ops-fixture/current/bin/healthcheck"],
      "verifyTimeoutSeconds": 30
    }
  },
  "packages": {
    "client-agent": {
      "signatureCommand": ["/usr/bin/test", "-f", "{artifact}"],
      "installCommand": ["/usr/bin/install", "-o", "root", "-g", "root", "-m", "0644", "{artifact}", "/opt/pixel-ops-fixture/installed/package.bin"],
      "verifyCommand": ["/usr/bin/test", "-f", "/opt/pixel-ops-fixture/installed/package.bin"],
      "rollbackCommand": ["/usr/bin/rm", "-f", "/opt/pixel-ops-fixture/installed/package.bin"],
      "rollbackVerifyCommand": ["/usr/bin/test", "!", "-e", "/opt/pixel-ops-fixture/installed/package.bin"],
      "installTimeoutSeconds": 120
    }
  }
}