Add USE_KUBERNETES
This commit is contained in:
parent
16c76af0c0
commit
4a0de99672
|
@ -39,6 +39,8 @@ if verbose:
|
||||||
agree = [1, True, "true", "True", "yes", "Yes"]
|
agree = [1, True, "true", "True", "yes", "Yes"]
|
||||||
if (os.environ.get("USE_DOCKER")):
|
if (os.environ.get("USE_DOCKER")):
|
||||||
id_filename = "/app/already_posted.txt"
|
id_filename = "/app/already_posted.txt"
|
||||||
|
elif (os.environ.get("USE_KUBERNETES")):
|
||||||
|
id_filename = "/data/already_posted.txt"
|
||||||
else:
|
else:
|
||||||
id_filename = "./already_posted.txt"
|
id_filename = "./already_posted.txt"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue