docs,ci: make dl.agora.io the canonical install URL#46
Merged
Conversation
Now that the dl.agora.io mirror is live and proven (v0.2.7), promote it from a restricted-network fallback to the default install URL: - README, install.sh / install.ps1 headers, INSTALLER_BASE_URL default, and the Pages install tokens (prepare-pages-site.py) now point at https://dl.agora.io/cli/install.{sh,ps1}. GitHub Pages and raw.githubusercontent are kept as documented alternatives; binary auto-fallback is unchanged. - Add sync-installers.yml: on push to main touching install.sh/install.ps1, upload them to S3 and invalidate CloudFront, so the canonical script stays fresh between tag releases (mirror-to-s3 only updates it on tags). - Update the canonical-URL assertion in test-installer-messages.sh. Docs-site URLs (agoraio.github.io/cli, /md) are unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
dl.agora.iomirror is now live and proven (it servedv0.2.7end-to-end). This promotes it from a restricted-network fallback to the default install URL.install.sh/install.ps1headers, theINSTALLER_BASE_URLdefault, and the Pages install tokens (prepare-pages-site.py) now point athttps://dl.agora.io/cli/install.{sh,ps1}. GitHub Pages (agoraio.github.io) andraw.githubusercontentremain documented alternatives.AGORA_INSTALL_SOURCE=s3still skips GitHub entirely for fully-blocked regions.sync-installers.yml— on pushes tomainthat touchinstall.sh/install.ps1, upload them to S3 + invalidate CloudFront, so the canonical script stays fresh between tag releases (mirror-to-s3only refreshes it on tags).agoraio.github.io/cli,/md) andDOCS_URL.Test Plan
sh -n install.sh,test-installer-messages.sh(13),test-installer-fallback.sh(10) pass; canonical-URL assertion now expectsdl.agora.io.sync-installers.ymlvalid YAML;prepare-pages-site.pyparses.mainpush touching the installers runssync-installersand refresheshttps://dl.agora.io/cli/install.sh.🤖 Generated with Claude Code