[Jenkins-infra] plugins.jenkins.io Static site deployment

Olblak me at olblak.com
Thu Jan 2 13:43:53 UTC 2020


> As some of you might know, i've been poking at making a static version of plugins.jenkins.io like jenkins.io, that just gets rebuilt periodically (PR @ https://github.com/jenkins-infra/plugin-site/pull/76), Its pretty much done, just needs jenkinsfile/deployment tweaking.

That's really great to hear

> all) add plugins-api.jenkins.io to the current helm chart
What's wrong to keep plugins.jenkins.io/api/? we just have to forward to a different docker container

> 1) Update the helm chart, manually or automatically, every build of the site content
Why not if the helm chart is automatically updated, I can finalize a small tool to do it.

> 2) Upload the content to azure blob storage like jenkins.io

Do you have an idea of how often that content will be generated? Once per hour?
Azure Storage makes more sense to me, as we already have a process and billing information in place.

To give you an idea
jenkinsio storage for december 2019 -> 217$
javadoc storage for december 2019 -> 17$

plugins.jenkins.io traffic seems to be one third of jenkins.io

And here a screenshot of jenkinsio storage traffic over December 2019

> 
> 3) If desired to reduce Azure dependencies, netlify is what I use for the demo site, its pretty easy, and they have a free tier for open source projects - pro with unlimited users - https://www.netlify.com/legal/open-source-policy/

At the moment I have some concerned about bringing a new SAAS account in the infrastructure as It implies some billing information, and the free tier CDN bandwidth will be quickly consumed. 


---
gpg --keyserver keys.gnupg.net --recv-key 52210D3D
---


On Sat, Dec 28, 2019, at 7:04 AM, Gavin Mogan wrote:
> Hey ya'll,
> 
> As some of you might know, i've been poking at making a static version of plugins.jenkins.io like jenkins.io, that just gets rebuilt periodically (PR @ https://github.com/jenkins-infra/plugin-site/pull/76), Its pretty much done, just needs jenkinsfile/deployment tweaking.
> 
> I started to create a PR to update the helm chart to split the backend image (/api) and the frontend image (/) into two different docker images. This was supposed to be short term until a new CDN style deployment. About 5 minutes into this PR, I realized it'll be a pain if the content is generated through cron.
> 
> So, options
> 
> all) add plugins-api.jenkins.io to the current helm chart
> 
> 1) Update the helm chart, manually or automatically, every build of the site content
> 2) Upload the content to azure blob storage like jenkins.io (See https://github.com/jenkins-infra/jenkins.io/blob/a7cf4218dba77ab07e4e4ef691d5142e986a4949/Jenkinsfile#L94-L101)
> 3) If desired to reduce Azure dependencies, netlify is what I use for the demo site, its pretty easy, and they have a free tier for open source projects - pro with unlimited users - https://www.netlify.com/legal/open-source-policy/
> 
> I think 1 is really gross and don't want to do it.
> 
> But looking for more ideas/feedback.
> 
> Gavin
> _______________________________________________
> Jenkins-infra mailing list
> Jenkins-infra at lists.jenkins-ci.org
> http://lists.jenkins-ci.org/mailman/listinfo/jenkins-infra
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jenkins-ci.org/pipermail/jenkins-infra/attachments/20200102/2d4c80b9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 98058 bytes
Desc: not available
URL: <http://lists.jenkins-ci.org/pipermail/jenkins-infra/attachments/20200102/2d4c80b9/attachment-0001.png>


More information about the Jenkins-infra mailing list