1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-27 15:37:27 +00:00

Compare commits

..

6 Commits

Author SHA1 Message Date
Johannes Zellner
89240fc070 Update test deps 2022-11-29 11:44:39 +01:00
Johannes Zellner
6b2af3eab4 Bump version 2022-11-29 11:44:25 +01:00
Johannes Zellner
32eebcff8f Initial support for auto signing via gnupg 2022-11-08 16:31:08 +01:00
Girish Ramakrishnan
166dac9b12 Version 1.24.4 2022-11-07 15:49:23 +01:00
Girish Ramakrishnan
26db0254c7 Update test packages 2022-11-07 15:47:08 +01:00
Girish Ramakrishnan
35e3edaa6c Change default root user email 2022-11-07 15:41:11 +01:00
7 changed files with 94 additions and 598 deletions

View File

@@ -1060,3 +1060,9 @@
* Use en-US as fallback when using other default language (#21200) (#21256) * Use en-US as fallback when using other default language (#21200) (#21256)
* Make the vscode clone link respect transport protocol (#20557) (#21128) * Make the vscode clone link respect transport protocol (#20557) (#21128)
[1.24.4]
* Make email display name configurable
[1.24.5]
* Support autosigning via gnupg

View File

@@ -4,7 +4,7 @@
"author": "Gitea developers", "author": "Gitea developers",
"description": "file://DESCRIPTION.md", "description": "file://DESCRIPTION.md",
"tagline": "A painless self-hosted Git Service", "tagline": "A painless self-hosted Git Service",
"version": "1.24.3", "version": "1.24.5",
"upstreamVersion": "1.17.3", "upstreamVersion": "1.17.3",
"healthCheckPath": "/explore", "healthCheckPath": "/explore",
"httpPort": 3000, "httpPort": 3000,
@@ -37,7 +37,7 @@
"tags": [ "version control", "git", "code hosting", "development", "github", "bitbucket", "gitlab" ], "tags": [ "version control", "git", "code hosting", "development", "github", "bitbucket", "gitlab" ],
"changelog": "file://CHANGELOG.md", "changelog": "file://CHANGELOG.md",
"postInstallMessage": "file://POSTINSTALL.md", "postInstallMessage": "file://POSTINSTALL.md",
"minBoxVersion": "7.1.2", "minBoxVersion": "7.2.0",
"forumUrl": "https://forum.cloudron.io/category/19/gitea", "forumUrl": "https://forum.cloudron.io/category/19/gitea",
"documentationUrl": "https://docs.cloudron.io/apps/gitea/" "documentationUrl": "https://docs.cloudron.io/apps/gitea/"
} }

View File

@@ -16,6 +16,9 @@ RUN passwd -d git
RUN mkdir -p /home/git/gitea RUN mkdir -p /home/git/gitea
WORKDIR /home/git WORKDIR /home/git
# for autosign feature
ENV GNUPGHOME="/app/data/gnupg"
ARG VERSION=1.17.3 ARG VERSION=1.17.3
RUN curl -L https://dl.gitea.io/gitea/${VERSION}/gitea-${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 \

View File

@@ -28,7 +28,7 @@ setup_ldap_source() {
setup_root_user() { setup_root_user() {
set -eu set -eu
if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email admin@cloudron.local --admin -c /run/gitea/app.ini; then
echo "==> root user added" echo "==> root user added"
else else
echo "==> Failed to add root user" echo "==> Failed to add root user"
@@ -122,11 +122,10 @@ crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea"
crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve" crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve"
echo "==> Creating dirs and changing permissions" echo "==> Creating dirs and changing permissions"
mkdir -p /app/data/repository /app/data/ssh /app/data/custom mkdir -p /app/data/repository /app/data/ssh /app/data/custom /app/data/gnupg
chown -R git:git /app/data /run/gitea chown -R git:git /app/data /run/gitea
# this expects app.ini to be available # this expects app.ini to be available
( setup_auth ) & ( setup_auth ) &
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Gitea exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Gitea

View File

@@ -8,4 +8,3 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0 stderr_logfile_maxbytes=0

667
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,11 +9,11 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"chromedriver": "^106.0.1", "chromedriver": "^107.0.3",
"expect.js": "^0.3.1", "expect.js": "^0.3.1",
"mocha": "^10.1.0", "mocha": "^10.1.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"selenium-webdriver": "^4.5.0", "selenium-webdriver": "^4.6.1",
"superagent": "^8.0.0" "superagent": "^8.0.4"
} }
} }