updated gitea state
This commit is contained in:
parent
ad3cbfae87
commit
30765d1ac4
@ -1,12 +1,14 @@
|
|||||||
---
|
---
|
||||||
gitea:
|
gitea:
|
||||||
|
release_url: https://dl.gitea.io/gitea
|
||||||
workingdir: /var/lib/gitea
|
workingdir: /var/lib/gitea
|
||||||
binfile: /var/lib/gitea/gitea
|
binfile: /var/lib/gitea/gitea
|
||||||
configfile: /var/lib/gitea/custom/conf/app.ini
|
configfile: /var/lib/gitea/custom/conf/app.ini
|
||||||
user: git
|
user: git
|
||||||
group: git
|
group: git
|
||||||
version: "1.0.2"
|
version: "1.0.2"
|
||||||
arch: "amd64"
|
os: linux
|
||||||
|
arch: amd64
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
app_name: Gitea - Git with a cup of tea
|
app_name: Gitea - Git with a cup of tea
|
||||||
@ -23,6 +25,7 @@ gitea:
|
|||||||
path: data/gitea.db
|
path: data/gitea.db
|
||||||
repository:
|
repository:
|
||||||
root: /var/lib/gitea/gitea-repositories
|
root: /var/lib/gitea/gitea-repositories
|
||||||
|
default_branch: master
|
||||||
server:
|
server:
|
||||||
domain: git.example.com
|
domain: git.example.com
|
||||||
http_addr: "::"
|
http_addr: "::"
|
||||||
|
@ -18,8 +18,8 @@ git:
|
|||||||
gitea-bin:
|
gitea-bin:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ gitea.workingdir }}/gitea
|
- name: {{ gitea.workingdir }}/gitea
|
||||||
- source: "https://dl.gitea.io/gitea/{{ gitea.version }}/gitea-{{ gitea.version }}-linux-{{ gitea.arch }}"
|
- source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}"
|
||||||
- source_hash: "https://dl.gitea.io/gitea/{{ gitea.version }}/gitea-{{ gitea.version }}-linux-{{ gitea.arch }}.sha256"
|
- source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256"
|
||||||
- user: git
|
- user: git
|
||||||
- group: git
|
- group: git
|
||||||
- mode: 750
|
- mode: 750
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
'Suse': {},
|
'Suse': {},
|
||||||
'Arch': {},
|
'Arch': {},
|
||||||
'RedHat': {},
|
'RedHat': {},
|
||||||
}
|
}, grain="os_family", merge=salt['pillar.get']('gitea:lookup'))
|
||||||
, grain="os_family"
|
|
||||||
, merge=salt['pillar.get']('gitea:lookup'))
|
|
||||||
-%}
|
-%}
|
||||||
{%- do defaults.gitea.update(os_family_map) -%}
|
{%- do defaults.gitea.update(os_family_map) -%}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user