Skip to content

Commit

Permalink
feat: update gitea teams info (#29)
Browse files Browse the repository at this point in the history
* feat: changed info note for gitea team

* feat: updated documentation regarding gitea

* feat: update gitea page

* feat: update otomi admin info
  • Loading branch information
ElderMatt authored Oct 3, 2023
1 parent 1f98636 commit a06338b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/apps/gitea.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 0 additions & 2 deletions docs/for-devs/get-started/lab-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
7 changes: 6 additions & 1 deletion docs/for-devs/get-started/lab-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
:::

0 comments on commit a06338b

Please sign in to comment.