gogs job from gogs/5.4.1
Github source:
b452cf3 or
master branch
Properties¶
databases¶
address¶The database address
- Default
127.0.0.1
databases¶A list of databases and associated properties to create
- Default
[]- Example
databases: |+ - name: gogs citext: true tag: gogs
port¶The database port
- Default
5432
roles¶A list of database roles and associated properties to create
- Default
[]- Example
roles: |+ - name: gogs password: MyGogsPassword tag: gogs
type¶The database type you choose, either mysql, postgres, mssql or sqlite3.
- Default
postgres
gogs¶
admin¶Admin user for gogs
- Default
gogs
domain¶Domain name of your server. Defaults to current IP.
- Example
git.example.com
Email for admin account
- Default
password¶Password for admin user
port¶Port that gogs listen on
- Default
"8080"
protocol¶
- Default
http
secret_key¶Global secret key for your server security
ssh_port¶Port for Gogs SSH
- Default
"2222"
start_ssh_server¶Start SSH Server
- Default
"true"
tls_cert¶Certificat TLS for gogs web
tls_key¶Private key TLS for gogs web
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/gogs/ directory
(learn more).
bin/bbr/backup(frombbr/backup.sh.erb)bin/bbr/restore(frombbr/restore.sh.erb)bin/gogs_ctl(frombin/gogs_ctl)bin/monit_debugger(frombin/monit_debugger)config/app.ini(fromconfig/app.ini.erb)config/gogs.crt(fromconfig/gogs.crt.erb)config/gogs.key(fromconfig/gogs.key.erb)data/properties.sh(fromdata/properties.sh.erb)env/HOME(fromenv/HOME)env/PATH(fromenv/PATH)env/USER(fromenv/USER)helpers/ctl_setup.sh(fromhelpers/ctl_setup.sh)helpers/ctl_utils.sh(fromhelpers/ctl_utils.sh)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.