chore: Better support scripts for docker workflows

pull/241/head
Robert Dailey 3 weeks ago
parent 30851a7dae
commit 261b39f2e3

@ -0,0 +1,9 @@
$ErrorActionPreference = "Stop"
$debuggingYaml = "$PSScriptRoot/debugging/docker-compose.yml"
# Start the corresponding radarr/sonarr docker containers for testing/debugging
docker compose -f $debuggingYaml up -d --pull always
if ($LASTEXITCODE -ne 0) {
throw "docker compose up failed"
}

@ -1,13 +1,9 @@
$ErrorActionPreference = "Stop"
$debuggingYaml = "$PSScriptRoot/debugging/docker-compose.yml"
$recyclarrYaml = "$PSScriptRoot/../docker-compose.yml"
# Start the corresponding radarr/sonarr docker containers for testing/debugging
docker compose -f $debuggingYaml up -d --pull always
if ($LASTEXITCODE -ne 0) {
throw "docker compose up failed"
}
& $PSScriptRoot/Debug.ps1
docker compose -f $recyclarrYaml run --rm --build app @args
if ($LASTEXITCODE -ne 0) {
Loading…
Cancel
Save