[SAC] [OSGeo] #2415: Change dronie to use OAuth Gitea application instead of shared secret

#2415: Change dronie to use OAuth Gitea application instead of shared secret
---------------------------+-----------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
In newer versions of Gitea, the DRONE RPC shared secret mode has been
removed.

I think we are on the last version of gitea that supports both. I've
created an OAuth app for dronie and after current jobs are done running, I
plan to flip to use OAuth app mode instead of shared secret.

I've already updated the https://git.osgeo.org/gitea/sac/drone-server-
config to reflect this and have the client and secret for the oauth app.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2415&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2415: Change dronie to use OAuth Gitea application instead of shared secret
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------

Comment (by robe):

okay done hopefully I did this right.
I've deleted the old legacy tokens from gitea for dronie.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2415#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2415: Change dronie to use OAuth Gitea application instead of shared secret
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2415#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2415: Change dronie to use OAuth Gitea application instead of shared secret
---------------------------+------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------

Comment (by strk):

Changes I see in drone-server-config seem to say you didn't actually drop
the RPC secret ?
What's the deal ?

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2415#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.