Deploy services independently by changed paths
This commit is contained in:
1 parent
2277a2e9ac
commit
1ba47e4d22
18 files changed
+1462
-894
No files matched your search
@@ -90,8 +90,9 @@ PYEOF
|
||||
}
|
||||
|
||||
@test "deploy.sh copies limiter.toml into /opt/searxng/config" {
|
||||
grep -q "shared/searxng/limiter.toml" "$REPO_ROOT/scripts/deploy.sh" \
|
||||
|| { echo "deploy.sh does not copy shared/searxng/limiter.toml"; return 1; }
|
||||
grep -q "/opt/searxng/config/limiter.toml" "$REPO_ROOT/scripts/deploy.sh" \
|
||||
|| { echo "deploy.sh does not place limiter.toml at /opt/searxng/config"; return 1; }
|
||||
local d="$REPO_ROOT/scripts/deploy-remote.sh"
|
||||
grep -q "shared/searxng/limiter.toml" "$d" \
|
||||
|| { echo "deploy-remote.sh does not copy shared/searxng/limiter.toml"; return 1; }
|
||||
grep -q "/opt/searxng/config/limiter.toml" "$d" \
|
||||
|| { echo "deploy-remote.sh does not place limiter.toml at /opt/searxng/config"; return 1; }
|
||||
}
|
||||
Reference in new issue
Block a user