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

Transfer releases.clojars.org to disk #424

Closed
tobias opened this issue Nov 23, 2015 · 4 comments
Closed

Transfer releases.clojars.org to disk #424

tobias opened this issue Nov 23, 2015 · 4 comments

Comments

@tobias
Copy link
Member

tobias commented Nov 23, 2015

The repo is currently under @ato's AWS account - we should pull it down to the local disk until we figure out where it will live next. This requires:

  • configuring nginx to serve the repo
  • pointing the CNAME at the server
  • updating the promote task to copy to the on-disk repo instead of pushing to s3
@tobias
Copy link
Member Author

tobias commented Dec 4, 2015

I think the approach here would be:

  1. temporarily disable promotion
  2. pull existing repo to disk
  3. adjust cname + nginx config to serve repo from disk
  4. reenable promotion, but with code that now copies to the new on-disk repo instead of pushing to s3

I've written a script for pulling down the repo that is idempotent, and am running it now. We can run it again after disabling promotions to get any artifacts promoted between now and then.

@tobias
Copy link
Member Author

tobias commented Dec 30, 2015

Since the classic repo is a superset of the releases repo, we don't need to copy the releases repo after all - we should be able to just point the releases.clojars.org cname at clojars.org. And if we drop promoting (see #415), we don't need to modify the promotion code at all - we can just delete it.

@tobias
Copy link
Member Author

tobias commented Jan 5, 2016

This is pretty much done, I just need to finish updating DNS (which has been impacted by the linode DDoS).

@tobias tobias self-assigned this Jan 5, 2016
@tobias
Copy link
Member Author

tobias commented Jan 7, 2016

Done - promotion is now disabled, and releases.clojars.org now resolves to clojars.org.

@tobias tobias closed this as completed Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant