Compare commits

..

No commits in common. "main" and "master" have entirely different histories.
main ... master

5 changed files with 24 additions and 25 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
node_modules/
.DS_Store

View file

@ -1,11 +1,11 @@
{
"id": "org.forgejo.cloudronapp",
"title": "Forgejo",
"author": "Forgejo developers",
"id": "io.gitea.cloudronapp",
"title": "Gitea",
"author": "Gitea developers",
"description": "file://DESCRIPTION.md",
"tagline": "Beyond coding. We forge.",
"tagline": "A painless self-hosted Git Service",
"version": "1.26.0",
"upstreamVersion": "v1.18.2-1",
"upstreamVersion": "1.18.0",
"healthCheckPath": "/explore",
"httpPort": 3000,
"memoryLimit": 536870912,
@ -23,11 +23,17 @@
}
},
"manifestVersion": 2,
"website": "https://forgejo.org",
"website": "https://gitea.io",
"contactEmail": "apps@cloudron.io",
"icon": "file://logo.png",
"optionalSso": true,
"mediaLinks": [],
"mediaLinks": [
"https://screenshots.cloudron.io/io.gitea.cloudronapp/1.png",
"https://screenshots.cloudron.io/io.gitea.cloudronapp/2.png",
"https://screenshots.cloudron.io/io.gitea.cloudronapp/3.png",
"https://screenshots.cloudron.io/io.gitea.cloudronapp/4.png",
"https://screenshots.cloudron.io/io.gitea.cloudronapp/5.png"
],
"tags": [ "version control", "git", "code hosting", "development", "github", "bitbucket", "gitlab" ],
"changelog": "file://CHANGELOG.md",
"postInstallMessage": "file://POSTINSTALL.md",

View file

@ -19,9 +19,9 @@ WORKDIR /home/git
# for autosign feature
ENV GNUPGHOME="/app/data/gnupg"
ARG VERSION=7.0.0
ARG VERSION=1.18.0
RUN curl -L https://codeberg.org/forgejo/forgejo/releases/download/v${VERSION}/forgejo-${VERSION}-linux-amd64 -o /home/git/gitea/gitea \
RUN curl -L https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64 -o /home/git/gitea/gitea \
&& chmod +x /home/git/gitea/gitea
# setup config paths
@ -39,3 +39,4 @@ ADD start.sh /home/git/start.sh
COPY sshd_config /etc/ssh/sshd_config
CMD [ "/home/git/start.sh" ]

View file

@ -1,23 +1,15 @@
# Forgejo Cloudron App
# Gitea Cloudron App
This repository contains the Cloudron app package source for [Forgejo](https://forgejo.org/).
This repository contains the Cloudron app package source for [Gitea](http://gitea.io/).
## Installation
Using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
```
cloudron install --image rafaelcaricio/forgejo-cloudron-app:v7.0.0-1 --app code.caric.io
```
# Upgrading
Upgrade the `Dockerfile` with the version.
```
export VERSION=7.0.0
docker build --platform linux/amd64 -t "rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1" .
docker push "rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1"
cloudron update --image rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1 --app code.caric.io --no-backup
cloudron install --appstore-id io.gitea.cloudronapp
```
## Building
@ -25,7 +17,7 @@ cloudron update --image rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1 --app c
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
cd forgejo-app
cd gitea-app
cloudron build
cloudron install
@ -41,3 +33,4 @@ cd gitea-app/test
npm install
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
```

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB