Questions tagged [gitea]

A git repository manager forked from gogs and written in Go

Documentation : https://docs.gitea.io/en-us/

Website : https://gitea.io/en-us/

166 questions
0
votes
0 answers

All Git repo files GONE – how to recover them?

Help! In the last months, I created several Git repositorys and pushed them to Codeberg (Gitea). Now, I realized that Git deleted ALL my files on my local machine! The repository folders are still there but they're empty! All subfolders are still…
Pixelcode
  • 357
  • 3
  • 15
0
votes
1 answer

Create a new admin user using Gitea Rest API

I am using gitea latest image. It used Postgres DB (using the latest postgress image). As part of automation, I need to create an admin account using Gitea rest API. I have tried the below API. But It is not working. https:///user/sign_up Please…
SriSiva
  • 11
  • 1
  • 3
0
votes
0 answers

SSH through Reverse-Proxy in docker-compose doesn't work

Setting Up a Gitea instance with a reverse proxy (NGINX) in docker-compose works fine for me. After logging in to the webapp creating repositories, changing settings, etc. works. Even cloning repositories via HTTPS works. However, cloning via SSH…
Martin Müsli
  • 1,031
  • 3
  • 14
  • 26
0
votes
2 answers

Backing up full remote git repository with history to another remote server

Assume that I have to GIT servers behind a fence, say at git.mycompany.com (with gitea UI) and at git.myclient.com (with github-like UI), both heavily security with VPN, multi factor-authentication etc. I want to deliver my full repository myProduct…
B--rian
  • 5,578
  • 10
  • 38
  • 89
0
votes
1 answer

Deploy server binaries on google cloud

I have a server binary (gitea) which I am trying to deploy on google cloud App Engine. I can run it successfully on the google cloud console, checked it using web viewer provided in the console. I have few doubts regarding the deployment on google…
0
votes
0 answers

Cannot push huge files with Git LFS on Gitea

I installed a local Gitea server with Docker. Now I am trying to push several data files to a repo, and the files are very big (the largest is 9.2 Gb and the second largest is 2.5Gb) so I use Git LFS (I set up Gitea accordingly). The 2.5 Gb file…
Gabriel Cretin
  • 365
  • 3
  • 16
0
votes
0 answers

How can I install gitea on heroku?

Here is the repository which I'm referring to. It has this curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/install.bash | bash command to install gitea server on linux at port 3000. How can make heroku run this…
codewhiz
  • 165
  • 3
  • 12
0
votes
0 answers

Git - history only the last 10 commits?

I work at a shell script which commits automatically my last changes from my project to my local git repository. It works great so my next step is to optimize the script. Now I search for a command to delete the history of my repository except for…
0
votes
2 answers

how to setup drone with gitea behind jwilder nginx docker image

Got some problems with setting up drone with my gitea instance and because there are so much different guides with different configs over the past years for different environment variables for drone, i cannot setup this the way it works for me. And…
tmechen
  • 11
  • 4
0
votes
1 answer

Error trying to connect to AD server from Gitea

I configured Gitea to authenticate against an AD server, and I'm receiving the following error: [...dels/login_source.go:390 LoginViaLDAP()] [E] LDAP Connect error, my.ad.server.address.here:LDAP Result Code 200 "Network Error": read tcp
Rodrigo Balest
  • 326
  • 10
  • 17
0
votes
1 answer

Giitea Webhook x509: certificate signed by unknown authority

On openshift cluster i deployed gitea v1.9.0 and i added a webhook for triggering the pipeline, now i'm getting the following error: Delivery: Post …
BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25
0
votes
1 answer

Drone.io do not trigger git push

I am trying to add a dockerized drone.io to join my existing gitea (also in docker container) Drone is working and see each of my repo. I enable drone on one of them called my-app for the test. As drone need a file called .drone.yml, I created one &…
Leix
  • 125
  • 12
0
votes
3 answers

Automatic pull request merge in Gitea upon successful Jenkins build

I want to configure Gitea and Jenkins, so Gitea would automatically merge pull requests upon successful build in Jenkins. What's the least effort way to approach this?
bobah
  • 18,364
  • 2
  • 37
  • 70
0
votes
1 answer

Jenkins failed to connect to gitea repository

I am currently facing an issue where I try to connect Jenkins with my Gitea repository. When I do so, and want to enter my Gitea Repository, i recieve an error message telling me the following: Failed to connect to repository : Command "git…
maxness
  • 65
  • 3
  • 10
0
votes
1 answer

How to trigger the build jenkins if master branch has changed?

I have a freestyle job with Gitea scm. I setted webhook on Gitea but when others branch change, jenkins will rebuilds once. How can I trigger the build on pushed to master branch only?
Hieu Pham
  • 1
  • 5