From a06338b500fe38be1be9799f308820a937c6ce3c Mon Sep 17 00:00:00 2001 From: ElderMatt Date: Tue, 3 Oct 2023 10:20:20 +0200 Subject: [PATCH] feat: update gitea teams info (#29) * feat: changed info note for gitea team * feat: updated documentation regarding gitea * feat: update gitea page * feat: update otomi admin info --- docs/apps/gitea.md | 4 +--- docs/for-devs/get-started/lab-1.md | 2 -- docs/for-devs/get-started/lab-3.md | 7 ++++++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/apps/gitea.md b/docs/apps/gitea.md index e8a150b27..9e61c0de2 100644 --- a/docs/apps/gitea.md +++ b/docs/apps/gitea.md @@ -6,6 +6,4 @@ sidebar_label: Gitea Gitea is a community managed lightweight code hosting solution written in Go. Because Otomi uses Drone to deploy changes to the values repo, it needs a git hosting solution. When no source control is configured, Otomi will deploy Gitea for Drone to target as a git repo. Gitea may be used for other purposes, and is especially useful in combination with Drone as a CI/CD solution. Just like Otomi uses it. -Currently Gitea only supports a single role in combination with OIDC. To sign in to Gitea, a user needs to be a member of the `team-admin` group. Team members by default do not have access to Gitea. - - +Currently Gitea only supports a single role in combination with OIDC. To sign in to Gitea, a user needs to be a member of a team. diff --git a/docs/for-devs/get-started/lab-1.md b/docs/for-devs/get-started/lab-1.md index 5c22d602d..87000ea4d 100644 --- a/docs/for-devs/get-started/lab-1.md +++ b/docs/for-devs/get-started/lab-1.md @@ -34,5 +34,3 @@ After receiving the login credentials, make sure to sign-in to Gitea for the fir - Open Gitea - Click on `sign-in` in the top left - Do not sign in with your username and password, but click on `Sign in with OpenID` - -After signing in for the first time, the platform administrator will need to provide you access to the Git repositories of the team in Gitea. \ No newline at end of file diff --git a/docs/for-devs/get-started/lab-3.md b/docs/for-devs/get-started/lab-3.md index 2e934c329..904d22f1f 100644 --- a/docs/for-devs/get-started/lab-3.md +++ b/docs/for-devs/get-started/lab-3.md @@ -7,6 +7,7 @@ sidebar_label: Create repo As a developer you'll need a Git repository for your code. Most organizations will probably have a central code repository like Gitlab, or use Github. But if you don't, Otomi has you covered. Otomi includes a complete self-hosted Git solution called Gitea. As a team member, you can create and manage your own repositories. + ## Create a private repository In the apps section in Otomi console, you'll see an app called Gitea. Click on it. @@ -33,5 +34,9 @@ Your repo is now ready to be used! ![kubecfg](../../img/new-gitea-repo-ready.png) :::info -Note that you as a user are now the owner of this repo and can add other team members to collaborate. Otomi does not create a group in Gitea that contains all the team members. Team members first have to sign in to Gitea (using OpenID) and be granted access to an organization before they can be added to an existing repo. +Otomi does not create a group in Gitea that contains all the team members. Team members first have to sign in to Gitea (using OpenID), after which they are automatically added to the correct team. +::: + +:::info +The `otomi-admin` account is unable to login with OpenID, this account needs to login with the normal login form. :::