mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2026-05-01 15:02:35 +00:00
f0e98b3ea0223dd74aa5c4328131f6a159243ffd
- Drop `await clearCache()` from login/auth helpers; clearing cache before every login is no longer necessary now that charlie isolates sessions. - Replace `logout` helpers with `clearCache` directly in `it()` calls; the helpers were either thin wrappers around `clearCache()` or did real navigation that is no longer worth the maintenance. - Simplify `xpath=//button[text()=...]` / `[contains(., ...)]` button text selectors to charlie's bare-string (or RegExp for OR-clauses) form.
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
Shell
49.1%
JavaScript
39.7%
Dockerfile
11.2%