chore: Better support scripts for docker workflows

Robert Dailey 3 weeks ago
parent b20d2d6202
commit 81b35359d6

@ -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