Change gitea package provider.
The old one seems to have died.
This commit is contained in:
parent
18a4347a8d
commit
49b96071a2
|
@ -1,5 +1,5 @@
|
|||
APP_NAME = Gitea: Git with a cup of tea
|
||||
RUN_USER = git
|
||||
RUN_USER = gitea
|
||||
RUN_MODE = prod
|
||||
|
||||
[database]
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
git_repo_key:
|
||||
file.managed:
|
||||
- name: /etc/apt/trusted.gpg.d/morph027-gitea.asc
|
||||
- source: https://packaging.gitlab.io/gitea/gpg.key
|
||||
- skip_verify: true
|
||||
|
||||
gitea_repo:
|
||||
pkgrepo.managed:
|
||||
- name: deb http://mirrors.dotsrc.org/osdn/storage/g/r/ra/raspbian-addons/debian precise main
|
||||
- key_url: https://apt.raspbian-addons.org/KEY.gpg
|
||||
- file: /etc/apt/sources.list.d/respbian-addons.list
|
||||
- name: deb https://packaging.gitlab.io/gitea gitea main
|
||||
- file: /etc/apt/sources.list.d/morph027-gitea.list
|
||||
|
||||
gitea:
|
||||
pkg.installed
|
||||
|
@ -12,6 +17,9 @@ gitea_app_ini:
|
|||
- name: /etc/gitea/app.ini
|
||||
- source: salt://gitea/app.ini
|
||||
- template: jinja
|
||||
- user: gitea
|
||||
- group: gitea
|
||||
- mode: '0600'
|
||||
service.running:
|
||||
- name: gitea
|
||||
- restart: true
|
||||
|
@ -21,8 +29,8 @@ gitea_app_ini:
|
|||
var_lib_gitea_directory:
|
||||
file.directory:
|
||||
- name: /var/lib/gitea
|
||||
- user: git
|
||||
- group: git
|
||||
- user: gitea
|
||||
- group: gitea
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
|
|
Loading…
Reference in New Issue