-
Next step in integrating Gitea is apparently Drone. I have much to learn what drone is, and especially how it's used in our product. I do know, after @j-zimnowoda showed me last Thursday, that GitHub and drone are integrated in several parts of the stack. This discussion is mostly to understand what needs to be modified, and in what general direction, so I can create a Story epic, and some Tasks. As posted in the #dev channel, but wanting to formalise the questions.
I am sure I'm missing multiple points, and points of view, so please let me know where and at what I should start looking at first/focus on. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Now, since (for now) gitea's ONLY function will be to hold otomi values, then, after this PR, with
As I explained before, we will create a story to push to an extra remote for backup. Not this PR.
One provider: Gitea. You should not be concerned with Hopefully this answers your questions. |
Beta Was this translation helpful? Give feedback.
-
Ok, given the idea behind this whole endeavour is that we can limit the steps a user has to take to deploy otomi, we should have first asked ourselves the following question: Can we instruct the gitea api to create an oauth app INCLUDING given clientID and clientSecret? If so, then just by the following values: charts:
gitea:
enabled: true
password: somepassword
drone:
sourceControl:
gitea:
clientID: someclientid
clientSecretValue: someclientsecret
server: gitea.dev.eks.otomi.cloud deployment would result in:
|
Beta Was this translation helpful? Give feedback.
-
Drone needs |
Beta Was this translation helpful? Give feedback.
-
Just discussed with @Morriz
|
Beta Was this translation helpful? Give feedback.
-
Indeed. With "attach secret to drone" becoming a generic script like
I think step 3 is a clean way to add those to the repo, but that needs to be initialized by then. Is that the case? |
Beta Was this translation helpful? Give feedback.
Indeed. With "attach secret to drone" becoming a generic script like
bin/retrieve-credentials.sh
(to make it explicit for now), which performs the following steps:env/clouds/$CLOUD/$CLUSTER/secrets.overrides.$CLOUD-$CLUSTER.yaml
(section:charts.drone.sourceControl.gitea
)git commit -m "Importing generated credentials [ci skip]" --no-verify
I think step 3 is a clean way to add those to the repo, but that needs to be initialized by then. Is that the case?