Skip to content

Commit

Permalink
fix: disable certs actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Morriz committed Feb 21, 2024
1 parent 0753bff commit 7bdb461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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()
Expand All @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions bin/apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down

0 comments on commit 7bdb461

Please sign in to comment.