Move script, example-configurations and results (formerly reports) into renovate/
This commit is contained in:
1 parent
c45f0e927b
commit
2267b21544
14 files changed
+83
-52
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Stops the local Forgejo. With -Purge, the container, the data volume and .forgejo-token are deleted as well.
|
||||
param([switch]$Purge)
|
||||
|
||||
podman stop renovate-forgejo 2>$null | Out-Null
|
||||
if ($Purge) {
|
||||
podman rm -f renovate-forgejo 2>$null | Out-Null
|
||||
podman volume rm -f renovate-forgejo-data 2>$null | Out-Null
|
||||
Remove-Item (Join-Path $PSScriptRoot '.forgejo-token') -ErrorAction SilentlyContinue
|
||||
Write-Host 'Forgejo removed including all data' -ForegroundColor Cyan
|
||||
} else {
|
||||
Write-Host 'Forgejo stopped (data is kept; use -Purge to delete it)' -ForegroundColor Cyan
|
||||
}
|
||||
Reference in new issue
Block a user