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 website build to alternative infrastructure #13612

Closed
zackbloom opened this issue Nov 13, 2019 · 13 comments
Closed

Transfer website build to alternative infrastructure #13612

zackbloom opened this issue Nov 13, 2019 · 13 comments

Comments

@zackbloom
Copy link
Contributor

zackbloom commented Nov 13, 2019

Historically the cdnjs website has been built and deployed on the server of @PeterDaveHello. Unfortunately due to hardware issues on his machine that is not currently happening, meaning new projects will not appear in the search there. What does the community think is the best way to manage this going forward? @cdnjs/cloudflare would be happy to donate compute capacity and the SRE work to maintain it, if that's what the community decides. It may also be possible to use something like GitHub Actions to do the deploy?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@PeterDaveHello
Copy link
Contributor

@zackbloom Not exactly, as I mention in the mail, it's deployed on Heroku ;)

The build process was running on my server, then pushed to Heroku to serve the content.

As this part is almost fully automatic already, unless something was broken, maybe it can be hosted directly inside Cloudflare's infra, just will need some revise on cdnjs/buildScript

@zackbloom
Copy link
Contributor Author

This is super helpful, thank you @PeterDaveHello. Just to clarify, that build step is still running on your personal machine? Has the hardware issue been resolved?

@PeterDaveHello
Copy link
Contributor

@zackbloom It's not running currently, the problem hasn't been resolved yet, would really appreciate if Cloudflare can help this part, the hardware requirement is basically the same as the bot's server, let me know if I can help. Thanks.

@zackbloom
Copy link
Contributor Author

zackbloom commented Nov 13, 2019

We can do that! cc @xtuc

@xtuc
Copy link
Member

xtuc commented Nov 13, 2019

Could we move the website to GitHub pages?

@xtuc

This comment has been minimized.

@thomasdavis
Copy link
Member

@zackbloom I am working on some website redesign and will tackle the build system.

@MattIPv4
Copy link
Member

MattIPv4 commented Nov 14, 2019

Regarding a website redesign, this is something I've been working toward for a while now.

I've got a milestone set up on the website repo for everything I'd like to get resolved with the current site before we start redesigning it: https://github.com/cdnjs/new-website/milestone/1

Once that's done, we have a set of mocks for a new website design in the brand repo, which can be found here: https://github.com/cdnjs/brand/tree/master/website


Alongside this, however, I do agree that we should definitely revisit the infra side of things with the site.

Getting the build process and deployment process as simple as possible would be great, I have no visibility into what happens currently.

The server-side scripting for the website could also do with an overhaul, the beginnings of which were outlined in this issue: cdnjs/new-website#175

@thomasdavis
Copy link
Member

@zackbloom on further investigation I don't have the resources to run the build. So will pass the infrastructure onto you guys.

I will work on redesign and documentation updates though.

@thehitechpanky
Copy link

bootstrap link is not updated, please update that too

@sheerun
Copy link

sheerun commented Dec 20, 2019

Has Cloudflare already decided to sponsor build server?

@zackbloom
Copy link
Contributor Author

zackbloom commented Dec 20, 2019 via email

@xtuc
Copy link
Member

xtuc commented Feb 20, 2020

that's done

@xtuc xtuc closed this as completed Feb 20, 2020
@MattIPv4 MattIPv4 unpinned this issue Feb 20, 2020
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

7 participants