Skip to content

Commit

Permalink
meta: don't use OpenWrt CDN
Browse files Browse the repository at this point in the history
The CDN does not work reliably with snapshot builds as they frequently
change. Disable it for tests, a clean upstream solution should be
implemented where snapshots are stored at a different place than our
release builds.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Feb 28, 2022
1 parent ff24609 commit abce6ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asu/asu.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def create_app(test_config: dict = None) -> Flask:
REDIS_CONN=Redis(host=redis_host, port=redis_port, password=redis_password),
TESTING=False,
DEBUG=False,
UPSTREAM_URL="https://downloads.cdn.openwrt.org",
UPSTREAM_URL="https://downloads.openwrt.org",
BRANCHES={},
ALLOW_DEFAULTS=False,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_build_real(app, httpserver: HTTPServer):
},
target="ath79/generic",
store_path=app.config["STORE_PATH"],
upstream_url="https://downloads.cdn.openwrt.org",
upstream_url="https://downloads.openwrt.org",
version="SNAPSHOT",
profile="tplink_tl-wdr4300-v1",
packages={"tmux", "vim"},
Expand Down

0 comments on commit abce6ed

Please sign in to comment.