Compare commits

...

4 Commits
v0.2.2 ... main

Author SHA1 Message Date
0498d593c3 Fixed linter error
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-10-14 19:18:39 -04:00
e43a648a09 Added woodpecker config for running salt-lint
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-10-14 19:03:11 -04:00
89c831edb1 Fixed small typo in FreeBSD gitea data path 2023-03-22 13:48:20 -04:00
21c18d6b3a Fixed small typo in FreeBSD gitea data path 2023-03-22 13:46:20 -04:00
4 changed files with 8 additions and 3 deletions

5
.woodpecker.yml Normal file
View File

@ -0,0 +1,5 @@
pipeline:
lint:
image: warpnetbv/salt-lint:v0.9.2
commands:
- 'find . -type f -name "*.sls" -print0 | xargs -0 --no-run-if-empty salt-lint'

View File

@ -18,6 +18,6 @@ gitea_config_file:
- template: 'jinja' - template: 'jinja'
- makedirs: True - makedirs: True
- context: - context:
gitea: {{ gitea.config | json }} gitea: {{ gitea.config | json }}
- require: - require:
- sls: {{ sls_package_install }} - sls: {{ sls_package_install }}

View File

@ -57,7 +57,7 @@ DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false ENABLE_FEDERATED_AVATAR = false
[repository] [repository]
ROOT = /var/db/gitea/gitea-repositories ROOT = {{ gitea.app_data_path }}/gitea-repositories
# Gitea's default is 'bash', so if you have bash installed, you can comment # Gitea's default is 'bash', so if you have bash installed, you can comment
# this out. # this out.
SCRIPT_TYPE = sh SCRIPT_TYPE = sh

View File

@ -4,6 +4,6 @@
FreeBSD: FreeBSD:
config_path: '/usr/local/etc/gitea/conf/app.ini' config_path: '/usr/local/etc/gitea/conf/app.ini'
config: config:
app_data_path: '/var/db/gitea/data' app_data_path: '/var/db/gitea'
database: database:
path: '/var/db/gitea/data/gitea.db' path: '/var/db/gitea/data/gitea.db'