fix real ip jobs
This commit is contained in:
parent
a02218bc83
commit
ccde5c74f1
|
@ -60,7 +60,7 @@ def cache_file(file, cache, _hash):
|
|||
copy(file, cache)
|
||||
Path(file).unlink()
|
||||
md = {"date": datetime.timestamp(datetime.now()), "checksum": _hash}
|
||||
Path(cache).write_text(dumps(md))
|
||||
Path(f"{cache}.md").write_text(dumps(md))
|
||||
except:
|
||||
return False, f"exception :\n{format_exc()}"
|
||||
return ret, err
|
||||
|
|
|
@ -37,6 +37,9 @@ class AutoconfTest(Test):
|
|||
if isdir("/tmp/autoconf"):
|
||||
rmtree("/tmp/autoconf")
|
||||
mkdir("/tmp/autoconf")
|
||||
if isdir("/tmp/www"):
|
||||
rmtree("/tmp/www")
|
||||
mkdir("/tmp/www")
|
||||
copy("./misc/integrations/autoconf.yml", "/tmp/autoconf/docker-compose.yml")
|
||||
compose = "/tmp/autoconf/docker-compose.yml"
|
||||
Test.replace_in_file(
|
||||
|
|
Loading…
Reference in New Issue