Gitea Workspace Service documentation
See original GitHub issueDescribe the bug The documentation for setting up Gitea as a Workspace Service is not very detailed and is out of date.
I am trying to set up Gitea but there are steps within the docs that no longer apply. Such as:
“The Gitea workspace service container image needs building and pushing:
make build-gitea-workspace-service-image push-gitea-workspace-service-image
”
There is also not enough information or it is incorrect as following the steps gives a 403 error when trying to connect to the service.
Steps to reproduce
- Run
make bundle-build bundle-publish DIR=templates/workspace_services/gitea
- Run
make bundle-register DIR=templates/workspace_services/gitea/ BUNDLE_TYPE=workspace_service
- Go to the TRE UI and Deploy Gitea
- When Deploying fill in the required information: 2.1 Enter the OpenID Client ID is the Workspace App registration Application (client) ID. This can be found in the KeyVault for the Workspace and on the Overview page of the App registration 2.2 Enter the OpenID Client Secret. This can only be found in the KeyVault for the Workspace. 2.3 Enter the OpenID Authority: https://login.microsoftonline.com/{tenant_id}/v2.0
- Within the App registration, go to the Authentication tab in the blade on the left-hand side and add the Gitea redirect URI. In the form
https://<gitea_url>/user/oauth2/oidc/callback
(gitea_url can be found by clicking on the details tab of the deployed service) - Deploy the Workspace Service This is where it fails
- Press Connect on the Workspace Service.
- I see a 403 error
In the documentation it says Navigate to the Gitea workspace service and from the menu click the Sign in button.
Does this mean press Connect and it should ask you to sign in?
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Docs - Gitea
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. Gitea is a fork of Gogs. See the...
Read more >Gitea — Generic service & computer documentation ...
Gitea . A community managed fork of gogs. This provides a github-like service for private repository use. Can be exposed and used publicly...
Read more >Better Session Provider Documentation · Issue #14016 - GitHub
After searching in the code I found out that Gitea uses a library for that and the library has a wonderfull documentation. Maybe...
Read more >Host on Gitea - D2iQ Docs
How to host git repositories on Gitea for air gapped deployments. ... Set the TARGET_NAMESPACE to the workspace (or project) namespace in which...
Read more >Import your project from Gitea to GitLab
You can also choose a different name for the project and a different namespace, if you have the privileges to do so. Help...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @JaimieWi we will try and find time later this week to verify this.
cc @anastasiakuzn
@marrobi
I did check and I cannot access
github.com
from within the VM. But to be safe, I have moved the rule over to the web_app_subnet and it works just as well.The goal was so that researchers could have their private repositories in Gitea kept private and only accessible by logging in with their credentials. The shared service doesn’t allow this as any repository has to be kept public to all within the TRE.
It would also be beneficial as researchers in a particular workspace may have a repository they would be happy to share within their project (workspace). But not across workspaces/projects.
Just to clarify, what is the purpose of the Gitea Workspace Service vs the Gitea Shared Service?
There isn’t anything in the documentation that helps us understand the distinction.