Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/scripts/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions devel/setup/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion devel/setup/compose/proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down