From 7de093e903927780c2e0e818457f8bbdce077b95 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 21 Oct 2024 10:20:43 +0530 Subject: [PATCH] Update TODOs --- .../data/stacks/package-registry/README.md | 22 +++++++++++++++++++ .../webapp/publish_deployment_auction.py | 1 - .../webapp/undeploy_webapp_from_registry.py | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/stack_orchestrator/data/stacks/package-registry/README.md b/stack_orchestrator/data/stacks/package-registry/README.md index 98630804..469cd8a4 100644 --- a/stack_orchestrator/data/stacks/package-registry/README.md +++ b/stack_orchestrator/data/stacks/package-registry/README.md @@ -27,3 +27,25 @@ The Package Registry Stack supports a build environment that requires a package ``` * The local gitea registry can now be accessed at (the username and password can be taken from the deployment logs) + +* Configure the hostname `gitea.local`: + + Update `/etc/hosts`: + + ```bash + sudo nano /etc/hosts + + # Add the following line + 127.0.0.1 gitea.local + ``` + + Check resolution: + + ```bash + ping gitea.local + + PING gitea.local (127.0.0.1) 56(84) bytes of data. + 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.147 ms + 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.033 ms + ... + ``` diff --git a/stack_orchestrator/deploy/webapp/publish_deployment_auction.py b/stack_orchestrator/deploy/webapp/publish_deployment_auction.py index f6f20653..2a05ad17 100644 --- a/stack_orchestrator/deploy/webapp/publish_deployment_auction.py +++ b/stack_orchestrator/deploy/webapp/publish_deployment_auction.py @@ -29,7 +29,6 @@ def fatal(msg: str): sys.exit(1) -# TODO: Add defaults for auction params @click.command() @click.option( "--laconic-config", help="Provide a config file for laconicd", required=True diff --git a/stack_orchestrator/deploy/webapp/undeploy_webapp_from_registry.py b/stack_orchestrator/deploy/webapp/undeploy_webapp_from_registry.py index cbab5896..b134e158 100644 --- a/stack_orchestrator/deploy/webapp/undeploy_webapp_from_registry.py +++ b/stack_orchestrator/deploy/webapp/undeploy_webapp_from_registry.py @@ -311,6 +311,7 @@ def command( # noqa: C901 main_logger.log(f"ERROR examining {r.id}: {e}") requests_to_execute = [] + # TODO: Handle requests with auction if min_required_payment: for r in requests_to_check_for_payment: main_logger.log(f"{r.id}: Confirming payment...")