2019-03-08 06:42:24 +00:00
# gitea_install: True
# gitea_enabled: True
2019-03-02 08:16:12 +00:00
2019-03-08 04:55:12 +00:00
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
2018-10-18 05:46:12 +00:00
# Using @coolaj86's script as a template
# https://git.coolaj86.com/coolaj86/gitea-installer.sh
2020-02-01 23:20:22 +00:00
# Info needed to install Gitea:
2023-07-16 20:02:11 +00:00
gitea_version : "1.20" # 2022-01-30: Grabs latest from this MAJOR/MINOR release branch. Rather than exhaustively hard-coding point releases (e.g. 1.14.5) every few weeks. Quotes nec if trailing zero.
2018-10-18 07:26:39 +00:00
iset_suffixes :
2019-04-22 04:40:45 +00:00
i386 : 386
x86_64 : amd64
2020-03-26 16:02:29 +00:00
aarch64 : arm64
2019-04-22 04:40:45 +00:00
armv6l : arm-6
2021-07-06 21:59:07 +00:00
armv7l : arm-6 # "arm-7" used to work, but no longer since 2019-04-20's Gitea 1.8.0: https://github.com/iiab/iiab/issues/1673 https://github.com/iiab/iiab/pull/1713 -- 2019-07-31: ARM7 support will return at some point, according to: https://github.com/go-gitea/gitea/pull/7037#issuecomment-516735216 (what about ARM8 support for RPi 4?)
2018-10-18 07:26:39 +00:00
2023-02-24 21:30:47 +00:00
gitea_iset_suffix : "{{ iset_suffixes[ansible_machine] | default('unknown') }}" # A bit safer than ansible_architecture (see kiwix/defaults/main.yml)
2018-10-18 07:26:39 +00:00
2023-07-16 22:21:42 +00:00
gitea_download_url : "https://dl.gitea.com/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_iset_suffix }}"
2018-10-18 07:36:00 +00:00
gitea_integrity_url : "{{ gitea_download_url }}.asc"
2018-10-18 07:26:39 +00:00
2020-02-01 23:20:22 +00:00
gitea_root_directory : "{{ content_base }}/gitea" # /library/gitea
2018-10-18 16:42:14 +00:00
gitea_subdirectories :
- bin
- custom
- data
- indexers
- public
- log
2018-10-18 16:35:16 +00:00
gitea_install_path : "{{ gitea_root_directory }}/bin/gitea-{{ gitea_version }}"
gitea_checksum_path : "{{ gitea_root_directory }}/bin/gitea-{{ gitea_version }}.asc"
2020-02-01 23:20:22 +00:00
# Info needed to verify Gitea
2019-02-27 22:02:55 +00:00
gitea_gpg_key : 7C9E68152594688862D62AF62D9AE806EC1592E2
2019-03-07 23:14:40 +00:00
# Data locations
gitea_db_path : "{{ gitea_root_directory }}/data/gitea.db"
gitea_repo_root : "{{ gitea_root_directory }}/data/repositories"
gitea_lfs_root : "{{ gitea_root_directory }}/data/lfs"
# Log file location
gitea_log_root : "{{ gitea_root_directory }}/log"
2019-03-07 18:28:06 +00:00
# Extra configuration
gitea_display_name : Internet-in-a-Box Gitea
2019-05-24 23:29:41 +00:00
skip_install_screen : true # lowercase for Gitea's own /etc/gitea/app.ini
2020-02-01 23:20:22 +00:00
gitea_link_path : "{{ gitea_root_directory }}/gitea"
# Info needed to run Gitea:
gitea_user : gitea
gitea_home : "/home/{{ gitea_user }}" # SSH credentials stored here
gitea_run_directory : "{{ gitea_root_directory }}"
gitea_url : /gitea
gitea_port : 61734 # leet for GITEA