From 7bdb461b4270ac4ca737e37b920eab9541cac201 Mon Sep 17 00:00:00 2001 From: Maurice Faber Date: Wed, 21 Feb 2024 19:05:25 +0100 Subject: [PATCH] fix: disable certs actions --- api/main.py | 5 ++--- bin/apply.py | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/api/main.py b/api/main.py index 7e9dec2..f7952fd 100755 --- a/api/main.py +++ b/api/main.py @@ -9,7 +9,6 @@ from github_webhooks import create_app from lib.auth import verify_apikey -from lib.certs import get_certs from lib.data import ( get_env, get_project, @@ -22,7 +21,7 @@ ) from lib.git import update_repo from lib.models import Env, PingPayload, Project, Service, WorkflowJobPayload -from lib.proxy import reload_proxy, update_proxy, write_proxies +from lib.proxy import update_proxy, write_proxies from lib.upstream import check_upstream, update_upstream, write_upstreams dotenv.load_dotenv() @@ -35,7 +34,7 @@ def _after_config_change(project: str, service: str = None) -> None: """Run after a project is updated""" info("Config change detected") - get_certs(project) + # get_certs(project) write_proxies() write_upstreams() update_upstream(project, service, rollout=True) diff --git a/bin/apply.py b/bin/apply.py index 00df410..662a15a 100755 --- a/bin/apply.py +++ b/bin/apply.py @@ -7,7 +7,6 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) -from lib.certs import get_certs from lib.proxy import write_proxies from lib.upstream import update_upstreams, write_upstreams @@ -16,7 +15,7 @@ if __name__ == "__main__": # if any argument is passed, we also do a rollout rollout = bool(sys.argv[1]) if len(sys.argv) > 1 else False - get_certs() + # get_certs() write_proxies() write_upstreams() update_upstreams(rollout)