updated gitea state
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2025-01-05 18:52:23 +01:00
parent bcefcf6d4c
commit 3343913ddf
2 changed files with 12 additions and 4 deletions

View File

@ -7,8 +7,8 @@ gitea-config:
- name: {{ gitea.configfile }} - name: {{ gitea.configfile }}
- source: salt://gitea/templates/app.ini.j2 - source: salt://gitea/templates/app.ini.j2
- template: jinja - template: jinja
- user: git - user: {{ gitea.user }}
- group: git - group: {{ gitea.group }}
- mode: 600 - mode: 600
- makedirs: true - makedirs: true
- require: - require:

View File

@ -20,8 +20,16 @@ gitea-bin:
- name: {{ gitea.workingdir }}/gitea - name: {{ gitea.workingdir }}/gitea
- source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}" - source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}"
- source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256" - source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256"
- user: git - user: {{ gitea.user }}
- group: git - group: {{ gitea.group }}
- mode: 750 - mode: 750
- require: - require:
- git - git
gitea-log-dir:
file.managed:
- name: {{ gitea.config.log.rootpath }}
- user: {{ gitea.user }}
- group: {{ gitea.group }}
- require:
- file: gitea-bin