tannal / ohmywork

0 stars 0 forks source link

Self Hosting git remote Repository #23

Open tannal opened 4 months ago

tannal commented 4 months ago

https://github.com/go-gitea/gitea

tannal commented 4 months ago

Gitea on termux (v1.20.5)

why on termux/android phone?

  1. power issue
  2. Generally speaking, git server is i/o bound service, so it's ok to run on smartphone with android vm.

I don't need ci/cd for now.

pkg install gitea -y

/data/data/com.termux/files/home

config file /etc/gitea/conf/app.ini

labels: ["fedora"]

.\act_runner-nightly-windows-amd64.exe generate-config > config.yaml

.\act_runner-nightly-windows-amd64.exe daemon --config config.yaml

tannal commented 4 months ago

Gitea on windows

$env:TAGS="bindata sqlite sqlite_unlock_notify" set TAGS="bindata sqlite sqlite_unlock_notify"

make build

tannal commented 4 months ago

Now I need CI/CD, powerd by https://github.com/nektos/act/

job use "strategy:matrix" with gitea actions ,a dynamic array does not work https://github.com/go-gitea/gitea/issues/25179