diff --git a/cli/scripts/cluster.py b/cli/scripts/cluster.py index 766abe39..f0395bd5 100755 --- a/cli/scripts/cluster.py +++ b/cli/scripts/cluster.py @@ -15,7 +15,7 @@ BASE_DIR = "cluster" -DEFAULT_REPO = "https://pgedge-download.s3.amazonaws.com/REPO" +DEFAULT_REPO = "https://downloads.pgedge.com/platform/repos/download" def run_cmd( cmd, node, message, verbose, capture_output=False, ignore=False, important=False diff --git a/cli/scripts/install.py b/cli/scripts/install.py index 31225eba..1c402715 100644 --- a/cli/scripts/install.py +++ b/cli/scripts/install.py @@ -4,7 +4,7 @@ import sys, os, tarfile, platform VER = "25.1.0" -REPO = os.getenv("REPO", "https://pgedge-download.s3.amazonaws.com/REPO") +REPO = os.getenv("REPO", "https://downloads.pgedge.com/platform/repos/download") if sys.version_info < (3, 9): maj = sys.version_info.major diff --git a/devel/setup/compose/README.md b/devel/setup/compose/README.md index b21b2e0a..41ae6c30 100644 --- a/devel/setup/compose/README.md +++ b/devel/setup/compose/README.md @@ -63,9 +63,9 @@ If a local package does not exist, it will fallback to a package available in th The chosen repo corresponds to the URL that you choose to configure: -- http://repo:8000/download corresponds with https://pgedge-download.s3.amazonaws.com/REPO -- http://repo:8000/upstream corresponds with https://pgedge-upstream.s3.amazonaws.com/REPO -- http://repo:8000/devel corresponds with https://pgedge-devel.s3.amazonaws.com/REPO +- http://repo:8000/download corresponds with https://downloads.pgedge.com/platform/repos/download +- http://repo:8000/upstream corresponds with https://downloads.pgedge.com/platform/repos/upstream +- http://repo:8000/devel corresponds with https://downloads.pgedge.com/platform/repos/devel The `out` directory within the build container is mounted in the repo container to enable this setup. diff --git a/devel/setup/compose/proxy_server.py b/devel/setup/compose/proxy_server.py index 8a7de274..97b9b858 100644 --- a/devel/setup/compose/proxy_server.py +++ b/devel/setup/compose/proxy_server.py @@ -33,7 +33,7 @@ def do_GET(self): def proxy_request(self, repo, path): """Fetch content from the upstream server and send it to the client.""" - upstream_url = f"https://pgedge-{repo}.s3.amazonaws.com/REPO/{path}" + upstream_url = f"https://downloads.pgedge.com/platform/repos/{repo}/{path}" self.log_message("Proxying request to %s", upstream_url) try: with urllib.request.urlopen(upstream_url) as response: