CI the green hooks are not transfered from gitlab to github

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

CI the green hooks are not transfered from gitlab to github

Post by bernd »

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

gitlab needs a access token to push the status updates to github. This github access tokes had been expired. I just regenerated the token. Let's see if the green hooks and red crosses will come back.

cheers bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

the hooks are back ... :D


screen.png
screen.png (463.81 KiB) Viewed 1861 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

as a reminder for me ...

the token will be expire on April the 7th thus needs to be recreated and be copied here on gitlab ... https://gitlab.com/freecad/FreeCAD-CI/- ... ithub/edit
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

I restarted the tests of all PRs which do not had the gitlab CI test result update because of the missing token. This will update the PullRequest check status on github for all PRs which do miss this check status.

bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

restarted the tests on maser and master 019 too to get the missing CI updates back on these release branches even for older commits.

bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

reminder ... This token expires on Sun, Jul 10 2022. To set a new expiration date, you must regenerate the token.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

green hooks are back again ... reminder ... token expires on 30th of December 2022
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: CI the green hooks are not transfered from gitlab to github

Post by adrianinsaval »

can't the token last longer? or do you make them short-lived on purpose for security? If so, isn't the token limited to only what's needed for the checkmarks? if so, do we really need that security measure?
Also github should send you an email to remind you when the token is going to expire.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: CI the green hooks are not transfered from gitlab to github

Post by bernd »

adrianinsaval wrote: Mon Oct 24, 2022 8:14 pm can't the token last longer? or do you make them short-lived on purpose for security? If so, isn't the token limited to only what's needed for the checkmarks? if so, do we really need that security measure?
Also github should send you an email to remind you when the token is going to expire.
90 day is the longest less than infinity, afaik, BUT I will check once again.
Post Reply