mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
increase drupal delay time for tests, fix tmp dir not created for realip-download job and fix has_*_variable check when multisite is yes
This commit is contained in:
parent
59324526cf
commit
541b646980
3 changed files with 9 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
"kinds": ["docker", "autoconf", "swarm", "kubernetes", "linux"],
|
||||
"no_copy_container": true,
|
||||
"timeout": 60,
|
||||
"delay": 60,
|
||||
"delay": 120,
|
||||
"tests": [
|
||||
{
|
||||
"type": "string",
|
||||
|
|
|
@ -64,7 +64,9 @@ utils.has_variable = function(var, value)
|
|||
return true, "success"
|
||||
end
|
||||
end
|
||||
return false, "success"
|
||||
if servers ~= "" then
|
||||
return false, "success"
|
||||
end
|
||||
end
|
||||
return check_value == value, "success"
|
||||
end
|
||||
|
@ -93,7 +95,9 @@ utils.has_not_variable = function(var, value)
|
|||
return true, "success"
|
||||
end
|
||||
end
|
||||
return false, "success"
|
||||
if servers ~= "" then
|
||||
return false, "success"
|
||||
end
|
||||
end
|
||||
return check_value ~= value, "success"
|
||||
end
|
||||
|
|
|
@ -64,8 +64,9 @@ try:
|
|||
logger.info("RealIP is not activated, skipping download...")
|
||||
_exit(0)
|
||||
|
||||
# Create directory if it doesn't exist
|
||||
# Create directories if they don't exist
|
||||
Path("/var/cache/bunkerweb/realip").mkdir(parents=True, exist_ok=True)
|
||||
Path("/var/tmp/bunkerweb/realip").mkdir(parents=True, exist_ok=True)
|
||||
|
||||
db = Database(
|
||||
logger,
|
||||
|
|
Loading…
Reference in a new issue