Closed krisstern closed 2 months ago
That would be the (almost) last mile of https://github.com/jenkins-infra/helpdesk/issues/4132 🥳
Good to know @dduportal 👍🏼
I'll prepare a plan for that today hopefully.
From https://github.com/jenkins-infra/helpdesk/issues/4132#issuecomment-2312568426:
It means planning the effective switch to the new webservice.
We would also need to define what we do with the existing service:
- How much time do we keep it ?
- Archiving ?
- etc.
As the existing website is running from Github Pages, I propose to just change its subdomain from stats.jenkins.io to old.stats.jenkins.io and keep it as there is no related infra cost, WDYT?
If we don't want to keep it, we can remove these lines: https://github.com/jenkins-infra/azure-net/blob/a51c2d937433c51eb289b319123beeb8e9477364/dns-records.tf#L287-L290
To switch to the new service we just have to exchange the DNS records.
Note: there is nothing to archive per se as https://github.com/jenkins-infra/infra-statistics is still used by the new website.
To switch to the new service we just have to exchange the DNS records.
From #4132 (comment):
It means planning the effective switch to the new webservice. We would also need to define what we do with the existing service:
- How much time do we keep it ?
- Archiving ?
- etc.
As the existing website is running from Github Pages, I propose to just change its subdomain from stats.jenkins.io to old.stats.jenkins.io and keep it as there is no related infra cost, WDYT?
If we don't want to keep it, we can remove these lines: https://github.com/jenkins-infra/azure-net/blob/a51c2d937433c51eb289b319123beeb8e9477364/dns-records.tf#L287-L290
To switch to the new service we just have to exchange the DNS records.
Note: there is nothing to archive per se as https://github.com/jenkins-infra/infra-statistics is still used by the new website.
What about the "process" which updates the branch gh-pages
?
@dduportal the pipeline https://github.com/jenkins-infra/infra-statistics/blob/main/Jenkinsfile must be kept running.
It generates and pushes data to the gh-pages
:
The data generated is then used by the new stats website, which is only a frontend retrieving the data by downloading them from the content of gh-pages
branch: https://github.com/jenkins-infra/stats.jenkins.io/blob/46f61c7264d72ae0b6d79551652ee4036c50a4ee/retrieve-infra-statistics-data.sh
We may want to add some explanations on https://github.com/jenkins-infra/infra-statistics README to clarify this.
data
(instead of gh-pages
) at this moment? It will allow us to disable the GH Page website once donedata
looks fine to me 🙂
It will allow us to disable the GH Page website once done
Note that it can also be disabled by setting "none" as branch in GitHub Pages settings of the repository:
As the job run once per month there will be plenty of time switching the branch name from gh-pages
to data
in both repositories without interrupting the service: https://github.com/jenkins-infra/infra-statistics/blob/8209b583ee5be409d2dc8cdf780bd4358579b8de/Jenkinsfile#L18-L19
// Make sure we run this job once a month (at 3am on the 2nd of the month) when the raw stats are available.
properties([pipelineTriggers([cron('0 3 2 * *')])])
@MarkEWaite @shlomomdahan I'd also suggest that when https://github.com/jenkins-infra/azure-net/pull/291 is merged and released, one of you could announce the new website on https://groups.google.com/g/jenkinsci-users and https://groups.google.com/g/jenkinsci-dev, WDYT?
Maybe a blog post too?
Hi @lemeurherveCB Thanks! Or I could make an announcement for the revamped project too.
@krisstern @lemeurherveCB We propose to switch the production to the new site tomorrow, Wednesday 11 September at 08:00am UTC (10h00am Paris time).
The rest can wait (by default 1 week).
No objection?
@dduportal looks fine to me, but my opinion is not that important, @krisstern's one is.
No objection from me
We did change the DNS:
Update: the new site is live (https://stats.jenkins.io/) and the old site is now available again (https://old.stats.jenkins.io/)
stats.jenkins.io
CNAME
on the GH Page setup
I will make an announcement about the new revamped stats.jenkins.io site within the next couple of hours
My apologies, I have been waiting for https://github.com/jenkins-infra/plugin-site/pull/1890 to be merged first before making an announcement...
My apologies, I have been waiting for jenkins-infra/plugin-site#1890 to be merged first before making an announcement...
many thanks @krisstern !
I'm closing this issue as the scope "put the GSoC new website online as default" is ok. See https://github.com/jenkins-infra/helpdesk/issues/4132#issuecomment-2346204602 for the next steps.
EDIT: copied at https://github.com/jenkins-infra/helpdesk/issues/4132#issuecomment-2347009570 to continue the discussion there (still open)
Service(s)
Helpdesk, stats.jenkins.io
Summary
As the Implementing UI for Jenkins Infra Statistics project has officially completed, we would like to request for the existing code for the website https://stats.jenkins.io/ with that in https://github.com/jenkins-infra/stats.jenkins.io
c.c. @shlomomdahan @gounthar @Vandit1604
Reproduction steps
No response