eclipse-tractusx / sig-infra

Apache License 2.0
2 stars 2 forks source link

[TRG Check Dashboard]: Re-generate dashboard nightly #263

Closed SebastianBezold closed 11 months ago

SebastianBezold commented 1 year ago

Currently, the generation of the static HTML release guideline check dashboard (https://eclipse-tractusx.github.io/sig-release/) has to be triggered manually, to provide the GitHub PAT. The PAT is used, to face rate limiting issues.

A workflow should be added, or the existing one altered, so that the generation is triggered every day. We can check, if the rate-limit is no issue and do it without GitHub PAT, or ask the EF, if it would be possible to get some kind of "org owner read-only" token, that is provided as secret for us to use

FaGru3n commented 11 months ago

Tested it with a less permissioned personal api token, and also worked.

raised a GitLab Issue against the Eclipse Foundation. https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3705

FaGru3n commented 11 months ago

merged: https://github.com/eclipse-tractusx/sig-release/pull/52

adpted permissions on chore: update permissions to github-token to write as stated in https://github.com/peaceiris/actions-gh-pages/tree/v3.9.3#%EF%B8%8F-first-deployment-with-github_token because of https://github.com/eclipse-tractusx/sig-release/actions/runs/6297972600/job/17095959909#step:5:78

checking if schedule work in this night. https://github.com/eclipse-tractusx/sig-release/blob/a4a00b821f09457c760118b0849e92f2c8857bfb/.github/workflows/build-and-deploy-dashboard.yaml#L31

FaGru3n commented 11 months ago

Nightly Run worked: https://github.com/eclipse-tractusx/sig-release/actions/runs/6307042100

FaGru3n commented 11 months ago

PR for cleanup workflow https://github.com/eclipse-tractusx/sig-release/pull/54/files

FaGru3n commented 11 months ago

merged and deployed @tomaszbarwicki thanks for approval

FaGru3n commented 11 months ago

https://github.com/eclipse-tractusx/sig-release/actions/runs/6312857209

FaGru3n commented 11 months ago

https://github.com/eclipse-tractusx/sig-release/actions/runs/6451437507/job/17512067231 seems there are still some problems with api rate limiting

FaGru3n commented 11 months ago

Reopened https://github.com/eclipse-tractusx/sig-release/pull/57

FaGru3n commented 11 months ago

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3705 reopend with the question for rate limiting

FaGru3n commented 11 months ago

Rate Limit problem also solved https://github.com/eclipse-tractusx/sig-release/blob/main/.github/workflows/build-and-deploy-dashboard.yaml