Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: switch to cdn.openttd.org for all downloads #147

Merged
merged 2 commits into from Feb 2, 2020

Conversation

@TrueBrain
Copy link
Member

TrueBrain commented Jan 26, 2020

Depends on OpenTTD/workflows#4 . Cannot be merged before that PR is merged.

This requires some instructions how to make the site work with this
change. For some silly reason, symlinks are copied as-is in
non-production builds.
@TrueBrain TrueBrain force-pushed the TrueBrain:cdn_generator branch 3 times, most recently from fc2038a to b136a69 Jan 26, 2020
@TrueBrain TrueBrain marked this pull request as ready for review Feb 2, 2020
@TrueBrain TrueBrain force-pushed the TrueBrain:cdn_generator branch 3 times, most recently from b4ec6e8 to d993041 Feb 2, 2020
.github/workflows/testing.yml Show resolved Hide resolved
.github/workflows/testing.yml Outdated Show resolved Hide resolved
_download-meta/openttd-nightlies.md Outdated Show resolved Hide resolved
_download-meta/openttd-nightlies.md Show resolved Hide resolved
@TrueBrain TrueBrain force-pushed the TrueBrain:cdn_generator branch 2 times, most recently from c7a1646 to a51541d Feb 2, 2020
Here also is a file called "latest.yaml", which greatly simplifies
the "fetch-downloads.py". Additionally, as cdn.openttd.org is
browseable, we only need to serve "latest" (and no longer older
releases).

While at it, refactored fetch_downloads a bit to be a Python
module and run flake8/black on it.
@TrueBrain TrueBrain force-pushed the TrueBrain:cdn_generator branch from a51541d to 1de86b7 Feb 2, 2020
@LordAro
LordAro approved these changes Feb 2, 2020
@TrueBrain TrueBrain changed the title Add: switch to openttd-cdn.org for all downloads Add: switch to cdn.openttd.org for all downloads Feb 2, 2020
@TrueBrain TrueBrain merged commit 7ec039c into OpenTTD:master Feb 2, 2020
3 checks passed
3 checks passed
Docker build
Details
Flake8
Details
Black
Details
@TrueBrain TrueBrain deleted the TrueBrain:cdn_generator branch Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.