-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
To host stats.jenkins.io GSoC 2024 project in jenkins-infra #4132
Comments
@shlomomdahan could you initiate the transfer of your repository to https://githubcom/jenkins-infra please? |
Action plan
Similar to: |
@krisstern transfered the repository to jenkins-infra org (thanks!). I've set @krisstern as "maintainer", and https://github.com/orgs/jenkins-infra/teams/core as "admin". |
Thanks @lemeurherve! |
Question about Fastly: what is the rationale behind using Fastly in this case (compared to serving the website ourselves)? |
Using it as CDN, same logic as for other websites like jenkins.io, stories.jenkins.io, contributors.jenkins.io, docs.jenkins.io. The website would be served from a nginx on publick8s at (new.)stats.origin.jenkins.io like the others. Am I missing something? |
For jenkins.io, the rationale has always been because of the amount of requests costs too much in outbound bandwidth. But it was measured. do we have current stats for stats.jenkins.io ? the question is related to: do we need a CDN ? If no then what is the point. the same question I have for stories and contributors but i never had the answer or at least i do not see anything around numbers and facts for it. |
As stats.jenkins.io is currently hosted on GitHub Pages, I'm not sure we can access traffic stats from it. Then I don't think there's a lot of traffic on these pages, we can start serving it without Fastly then see what are the actual numbers in term of visits. Removing the Fastly step points and reworking jenkins-infra/azure-net#257 |
FTR, I invited @shlomomdahan as writer on stats.jenkins.io. Could be revised when a dedicated team is created. |
Opened jenkins-infra/stats.jenkins.io#3 to add a pipeline for building the website on ci.jenkins.io and infra.ci.jenkins.io (pending jenkins-infra/kubernetes-management#5310). |
Hi @lemeurherve, would it be possible to add @gounthar as a co-maintainer? |
https://github.com/orgs/jenkins-infra/teams/stats-jenkins-io team including you and @gounthar created and set as "maintainer" on https://github.com/jenkins-infra/stats.jenkins.io/. |
I had to push an hotfix with the correct STATS_SERVICE_PRINCIPAL_WRITER_CLIENT_ID value to fix production deployment error: https://github.com/jenkins-infra/charts-secrets/commit/4dca10bd26da859393aedff61ec672df0f297464 (private repo) The CD part is now (almost) ready, https://new.stats.jenkins.io content is updated continuously on every new push on the main branch of the repository. |
After discussing with @krisstern about jenkins-infra/stats.jenkins.io#2 (comment)
I propose to temporarily restrict repository interactions to "prior contributors" (include @jenkins-infra members) on https://github.com/jenkins-infra/stats.jenkins.io: And to (optionally) open a pinned issue in https://github.com/jenkins-infra/stats.jenkins.io to have a visible public status about this restriction. WDYT? |
That sounds fine to me. |
…incipal_writer` end date (#737) This PR adds an updatecli manifest to track `infraci_stats_jenkins_io_fileshare_serviceprincipal_writer` end date. Proposed PR body: > ![image](https://github.com/jenkins-infra/azure/assets/91831478/ad015472-2440-466d-b565-0a5c57950010) Test: <details><summary>updatecli diff --values updatecli/values.yaml --config updatecli/updatecli.d/stats.jenkins.io.sp.endate.yaml</summary> ```console +++++++++++ + PREPARE + +++++++++++ Loading Pipeline "updatecli/updatecli.d/stats.jenkins.io.sp.endate.yaml" SCM repository retrieved: 1 ++++++++++++++++++ + AUTO DISCOVERY + ++++++++++++++++++ ++++++++++++ + PIPELINE + ++++++++++++ ################################################################################## # GENERATE NEW END DATE FOR STATS.JENKINS.IO FILE SHARE SERVICE PRINCIPAL WRITER # ################################################################################## SOURCES ======= nextExpiry ---------- The shell 🐚 command "/bin/sh /var/folders/ly/77mv7l9968g068w9_fwzwggw0000gp/T/updatecli/bin/bd1b66faf6e39c527f085eea5b269bba76c890efa7550e4ca84317fcabb6e3f1.sh" ran successfully with the following output: ---- 2024-09-18T00:00:00Z ---- ✔ shell command executed successfully currentExpiry ------------- ✔ value "\"2023-09-19T23:00:00Z\"" found for key "$.end_dates.infraci_stats_jenkins_io_fileshare_serviceprincipal_writer" in the yaml file "locals.yaml" CONDITIONS: =========== checkIfExpirySoonExpired ------------------------ The shell 🐚 command "/bin/sh /var/folders/ly/77mv7l9968g068w9_fwzwggw0000gp/T/updatecli/bin/56202140e385731a2fc616bc17989ad91eed830fd60ba795da3fdd132df9fd37.sh" ran successfully with the following output: ---- time for update ---- ✔ shell condition of type "console/output", passing TARGETS ======== updateNextExpiry ---------------- **Dry Run enabled** ⚠ - change detected: * key "$.end_dates.infraci_stats_jenkins_io_fileshare_serviceprincipal_writer" should be updated from "\"2024-09-19T23:00:00Z\"" to "2024-09-18T00:00:00Z", in file "locals.yaml" ACTIONS ======== Generate new end date for stats.jenkins.io File Share service principal writer - default ---------------------------------------------------------------------------------------- [Dry Run] An action of kind "github/pullrequest" is expected. ============================= REPORTS: ⚠ Generate new end date for stats.jenkins.io File Share service principal writer: Source: ✔ [currentExpiry] Get current `end_date` date ✔ [nextExpiry] Prepare next `end_date` date within 3 months Condition: ✔ [checkIfExpirySoonExpired] Target: ⚠ [updateNextExpiry] generate new end date 2024-09-18T00:00:00Z for stats.jenkins.io File Share service principal writer on infra.ci.jenkins.io Run Summary =========== Pipeline(s) run: * Changed: 1 * Failed: 0 * Skipped: 0 * Succeeded: 0 * Total: 1 ``` </details> Follow-up of: - #734 Ref: - #733 (comment) - jenkins-infra/helpdesk#4132 (comment)
A temporary interaction limit to prior contributors has been added to https://github.com/jenkins-infra/stats.jenkins.io/ for a month: And an event in Jenkins Infra calendar pointing to this comment to renew the limit or not in a month. |
@lemeurherve Please add @Vandit1604 to the team with "triage" rights. |
@krisstern added as "triage": @Vandit1604 you should have received an invitation to join @jenkins-infra and accept this role, please note that it will expire in a few days. |
Thanks, @lemeurherve |
Hi @lemeurherve, is site preview for the PR's not an option at the moment? I am currently seeing the following: ![]() |
@krisstern: as @shlomomdahan doesn't have write permissions on the repo for now, builds on infra.ci.jenkins.io aren't triggered. (Security measure) We discussed the case with @dduportal and came to the conclusion that we should create a distinct infra.ci.jenkins.io pipeline dedicated to previews that could be triggered without this requirement, while keeping the "production deployment" one restricted. WIP, incoming soon. |
Should be addressed by: |
Note that in order to implement jenkins-infra/stats.jenkins.io#53 I made the compromise of duplicating "Install dependencies" and "Build" stages between this new pipeline dedicated to previews and the main one. Currently reworking jenkins-infra/kubernetes-management#5345 after discussing it with @dduportal and @smerle33:
|
Thanks @lemeurherve! |
@lemeurherve Could you please let us know what will be the arrangement for the data to be fetched for the project. Currently this appears to be a major blocker. Will data be fetched internally or externally? |
An helpdesk issue should be open to discuss how to put in place a public storage of the processed data from https://github.com/jenkins-infra/infra-statistics so they could be fetched when building https://github.com/jenkins-infra/stats.jenkins.io. |
Service(s)
Helpdesk, stats.jenkins.io
Summary
We are in the process of redeveloping the frontend for the data presentation of the Jenkins Infra Statitics project, and will need help migrating the GSoC contributor's repo (https://github.com/shlomomdahan/stats.jenkins.io/) from his personal GitHub account to one in the
jenkins-infra
org.@lemeurherve @gounthar @shlomomdahan
Reproduction steps
N/A
The text was updated successfully, but these errors were encountered: