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

Removing status.nixos.org (only static html/css/js) #137

Merged
merged 6 commits into from Dec 29, 2020

Conversation

garbas
Copy link
Member

@garbas garbas commented Dec 3, 2020

because it is being moved to a separate repository (https://github.com/nixos/nixos-status) to be deployed to Netlify, like we are already doing for https://nixos.org and https://search.nixos.org.

Why

The reason for this change was that we want to add similar design to https://status.nixos.org as we have it on https://nixos.org. For that it would be nice to have similar workflow as we already have for https://github.com/nixos/nixos-homepage and https://github.com/nixos/nixos-search. And who knows maybe that would allow us to improve https://status.nixos.org page even further.

As we did with https://nixos.org the point of moving is not to move it to Netlify, but to make https://status.nixos.org a static website that we can deploy anywhere. The reasons why Netlify was selected was already discussed when we had this discussion regarding moving https://nixos.org.

How

And as it was the problem with https://nixos.org the migration is not as straightforward as we would like. We will have to move this in few steps:

Have I missed something?

also:
- status.nixos.org/prometheus -> prometheus.nixos.org
- status.nixos.org/grafana -> grafana.nixos.org
@grahamc
Copy link
Member

grahamc commented Dec 3, 2020

I'd prefer keep grafana and prometheus on the same domain, with a path. This is in case more tools get put up or something to that effect.

@garbas
Copy link
Member Author

garbas commented Dec 3, 2020

@grahamc why would be a bad idea having each tool per subdomain? We don't know what the future holds and we don't want to paint our-self again in the corner like we did with nixos.org and status.nixos.org. I don't think it costs us anything.

On the other side I'm fine with what ever is decided. I thought I would bring this up.

@garbas
Copy link
Member Author

garbas commented Dec 3, 2020

Would my "4 step" plan create any (significant) downtime?
Is something else missing from the list?

@garbas garbas requested a review from grahamc December 3, 2020 14:30
Copy link
Member

@grahamc grahamc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not trivial to add new records, and I don't want to be in a position where we're working around that by adding a subpath to grafana.nixos.org or something weird. Please use a single subdomain. Other than that, I think this will work okay.

@garbas
Copy link
Member Author

garbas commented Dec 3, 2020

@grahamc Maybe you didn't know but @edolstra moved DNS servers to Netlify as well and it is a single click to add more. Even sharing the access to this is now possible.

But yeah, if you still dont like it, i'll use monitoring.nixos.org domain. Can you be more specific where about prometheus and grafana URL?

@grahamc
Copy link
Member

grahamc commented Dec 3, 2020

Ah, nice. However, I would still prefer a single domain for now. Let's do monitoring.nixos.org/prometheus, monitoring.nixos.org/grafana and the root page can be trivial redirect to status.nixos.org where we can maintain the index.

@garbas
Copy link
Member Author

garbas commented Dec 3, 2020

PR updated to use monitoring.nixos.org.

delft/eris.nix Show resolved Hide resolved
garbas added a commit that referenced this pull request Dec 3, 2020
From now we should serve them at the same time, but we will remove this
in the next steps. For more please refer to #137
@garbas
Copy link
Member Author

garbas commented Dec 3, 2020

Update:

@garbas
Copy link
Member Author

garbas commented Dec 18, 2020

Merged master since #138 was merged and deployed.

Next step is to verify that everything works before pointing status.nixos.org to nixos-status.netlify.app. That would mean that everything is working we just need to do the cleanup.

@grahamc Can you verify that Grafana and Prometheus are working correctly under new domain.

@garbas
Copy link
Member Author

garbas commented Dec 28, 2020

I moved further and redirect status.nixos.org domain at netlify. Now all that needs to be done is a clean up.

@garbas garbas marked this pull request as ready for review December 28, 2020 23:21
@garbas garbas requested a review from edolstra December 28, 2020 23:25
@garbas
Copy link
Member Author

garbas commented Dec 28, 2020

@edolstra this PR is now ready to be merged and eris redeployed.

@rbvermaa rbvermaa merged commit 0640ebb into master Dec 29, 2020
@rbvermaa rbvermaa deleted the remove-status-nixos-org branch December 29, 2020 16:56
@garbas
Copy link
Member Author

garbas commented Jan 7, 2021

I tranfered all the issues/prs to nixos-status repo. I consider this migration done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants