mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2026-04-25 12:13:03 +00:00
adb5a3e6835aadc559ce4c853c8c6fda46457af9
Replaces `it('uninstall app', async () => { await cloudronCli.uninstall(); })`
style wrappers with the bare-method form `it('uninstall app',
cloudronCli.uninstall)` so mocha awaits the returned promise. Also fixes
sync `function () { cloudronCli.appstoreInstall(); }` wrappers around
async methods, where mocha would resolve the test before getAppInfo()
refreshed `app` and the next step would navigate to a stale fqdn.
Made-with: Cursor
Gitea Cloudron App
This repository contains the Cloudron app package source for Gitea.
Installation
or using the Cloudron command line tooling
cloudron install --appstore-id io.gitea.cloudronapp
Building
The app package can be built using the Cloudron command line tooling.
cd gitea-app
cloudron build
cloudron install
Testing
The e2e tests are located in the test/ folder and require nodejs. They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the repos are still ok. The tests expect port 29418 to be available.
cd gitea-app/test
npm install
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
Languages
JavaScript
47.2%
Shell
43%
Dockerfile
9.8%