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

Purge Fastly cache when publishing rustup #415

Open
1 of 3 tasks
jdno opened this issue May 9, 2024 · 0 comments
Open
1 of 3 tasks

Purge Fastly cache when publishing rustup #415

jdno opened this issue May 9, 2024 · 0 comments
Assignees

Comments

@jdno
Copy link
Member

jdno commented May 9, 2024

We recently realized that the cache on Fastly is not purged when a new version of rustup is released.

rustup is distributed via static.rust-lang.org as part of the same Fastly services as the Rust releases. Ideally, we therefore only purge cached versions of rustup and don't purge the whole cache. We already do this for the Rust releases by setting surrogate keys that we can granularly purge.

Fastly's purge APIs require authentication. We can generate a token that is scoped to the service and only grants permissions to purge content. The token can be stored in the parameter store on AWS, similar to other tokens that we already use.

Tasks

@jdno jdno self-assigned this May 9, 2024
@jdno jdno added this to infra-team May 9, 2024
@github-project-automation github-project-automation bot moved this to Backlog in infra-team May 9, 2024
@jdno jdno moved this from Backlog to In Progress in infra-team May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant