1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
Commit graph

173 commits

Author SHA1 Message Date
holta
3a1ccf3638 'when: X' -> 'when: X | bool' for Ansibl 2.8 2019-05-24 18:33:10 -04:00
A Holt
8eeb38f799
Revert Gitea 1.8.1 to 1.7.6 for RPi 2019-05-17 19:14:19 -04:00
A Holt
7abdecf7da
Gitea 1.8.0 -> 1.8.1 2019-05-17 01:35:13 -04:00
A Holt
8b6b1ef071
Gitea 1.7.5 -> 1.8.0 2019-04-22 00:40:45 -04:00
A Holt
9e680781a3
Merge pull request #1573 from aidan-fitz/gitea-docs
Expand Gitea documentation
2019-04-01 21:50:00 -07:00
A Holt
986e7fb2e3
Minor stylistic/readability tweaks 2019-04-01 21:47:12 -07:00
Aidan Fitzgerald
eddfcffd43 Add info on clone URLs in Gitea
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-04-02 00:26:16 -04:00
Aidan Fitzgerald
d491adb0fa Merge back more info about admin accounts, MySQL/PG
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-31 15:37:43 -04:00
A Holt
fe575463b4
Gitea 1.7.4 -> 1.7.5 2019-03-28 07:45:43 -04:00
Aidan Fitzgerald
41aa36526d Describe the installation and setup process
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-17 12:33:16 -04:00
Aidan Fitzgerald
5146762c9d Reflect that SQLite is the default DBMS
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-17 12:16:43 -04:00
Aidan Fitzgerald
857b7e4369 Upgrade 1.7.3 -> 1.7.4
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-16 18:29:32 -04:00
Aidan Fitzgerald
8d2af9e54a Use iiab_hostname and iiab_domain in app.ini
Delete gitea_full_url as unused

Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-13 14:02:59 -04:00
Aidan Fitzgerald
2bb46f5884 Set DOMAIN to 'box', remove port 2019-03-08 02:32:00 -05:00
A Holt
3111eb3c2e
Update README.rst 2019-03-08 02:04:29 -05:00
A Holt
d091b6bb9d
Update main.yml 2019-03-08 01:42:24 -05:00
A Holt
b2ec813be0
Update README.rst 2019-03-08 01:41:47 -05:00
A Holt
4fabb8bff3
Update README.rst 2019-03-08 01:41:09 -05:00
Aidan Fitzgerald
ffa2ecbd80 Don't care about previous state per Ansible convention 2019-03-08 00:04:53 -05:00
Aidan Fitzgerald
caf87a4505 Merge branch 'gitea' of github.com:aidan-fitz/iiab into gitea 2019-03-07 23:55:16 -05:00
Aidan Fitzgerald
8b447b809a Apply more suggestions from code review 2019-03-07 23:55:12 -05:00
A Holt
73d945e278
Apply suggestions from code review
Co-Authored-By: aidan-fitz <aidan-fitz@users.noreply.github.com>
2019-03-07 23:54:11 -05:00
A Holt
d86c985f7c
Update roles/gitea/tasks/install.yml
Co-Authored-By: aidan-fitz <aidan-fitz@users.noreply.github.com>
2019-03-07 23:52:07 -05:00
A Holt
28248516b0
Update roles/gitea/README.rst
Co-Authored-By: aidan-fitz <aidan-fitz@users.noreply.github.com>
2019-03-07 23:51:19 -05:00
Aidan Fitzgerald
b8963413db TOML requires Boolean values to be lowercase
https://github.com/toml-lang/toml/issues/390
2019-03-07 20:10:35 -05:00
Aidan Fitzgerald
a8c24dde1f use regex to redirect 2019-03-07 18:44:47 -05:00
Aidan Fitzgerald
c4aa784b8c Skip install screen on first run; configure this in Ansible 2019-03-07 18:41:10 -05:00
Aidan Fitzgerald
30381872df Redirect /gitea -> /gitea/ 2019-03-07 18:16:30 -05:00
Aidan Fitzgerald
e45d73cacf Parameterize database, repositories, LFS, and log locations 2019-03-07 18:14:40 -05:00
Aidan Fitzgerald
dec10f2ea1 Move display name to Ansible config 2019-03-07 13:28:06 -05:00
Aidan Fitzgerald
59c67ddf60 Only rewrite URLs in Gitea (not HTTPD)
Source: https://docs.gitea.io/en-us/reverse-proxies/
2019-03-07 12:48:45 -05:00
Aidan Fitzgerald
69f8963b34 ignore errors on pre-install step 2019-03-06 23:07:22 -05:00
Aidan Fitzgerald
1076827b43 Revert "Use box as domain, put gitea_url (default: /gitea) in ROOT_URL"
This reverts commit d5af5e27e1.
2019-03-06 23:06:31 -05:00
Aidan Fitzgerald
d5af5e27e1 Use box as domain, put gitea_url (default: /gitea) in ROOT_URL 2019-03-06 22:09:59 -05:00
Aidan Fitzgerald
5f6f2081e8 Set offline mode to true
Obviously - we are using it offline
2019-03-06 22:01:05 -05:00
Aidan Fitzgerald
e253438334 Shut down Gitea before reinstalling 2019-03-06 21:51:05 -05:00
Aidan Fitzgerald
195c7839bf Set RUN_USER and APP_NAME 2019-03-06 21:43:44 -05:00
Aidan Fitzgerald
3bab4f2209 Use SQLite
Since we are running it as a service, PATH needs to be an absolute path.
Remove gitea_db_directory as unused
2019-03-06 21:27:35 -05:00
Aidan Fitzgerald
d3d47fc3a5 Separate home directory with comment 2019-03-06 21:19:46 -05:00
Aidan Fitzgerald
f64a5bc718 Only verify with GPG when requested by user 2019-03-06 16:04:56 -05:00
Aidan Fitzgerald
6bb853c314 Comment out problematic app.ini values 2019-03-06 16:01:33 -05:00
Aidan Fitzgerald
a1fd1feeb0 1.6 -> 1.7.3 2019-03-06 15:50:13 -05:00
Aidan Fitzgerald
86cd88de73 Add clarifying comment about /etc/gitea write permissions 2019-03-06 15:46:06 -05:00
Aidan Fitzgerald
d30cc24f44 Grant write permissions for group gitea 2019-03-06 15:26:05 -05:00
Aidan Fitzgerald
5d5fea41fa Use correct home directory 2019-03-04 21:41:14 -05:00
Aidan Fitzgerald
4ad50b113d Revert "Need to create root directory before user"
This reverts commit a089778d0b.
2019-03-04 21:32:57 -05:00
Aidan Fitzgerald
a089778d0b Need to create root directory before user 2019-03-04 21:23:54 -05:00
Aidan Fitzgerald
7169072dd9 Don't abort if GPG verification fails 2019-03-04 19:39:35 -05:00
Aidan Fitzgerald
26399a4c26 Set HTTP_PORT 2019-03-04 16:18:59 -05:00
Aidan Fitzgerald
9558b42bfd fix with_items loop 2019-03-04 15:49:12 -05:00
Aidan Fitzgerald
9a0ada733b Add to default_vars and local_vars_* 2019-03-02 03:16:12 -05:00
Aidan Fitzgerald
3510bc0b9e Create gitea group 2019-03-02 03:07:19 -05:00
Aidan Fitzgerald
dbd4a61e2f fix quoting issue 2019-03-02 02:54:49 -05:00
Aidan Fitzgerald
110688f772 Remove commented out code; add configuration instructions 2019-03-02 00:03:26 -05:00
Aidan Fitzgerald
9b8af6b494 Uncomment MySQL 2019-02-28 11:50:56 -05:00
Aidan Fitzgerald
733f381996 Move GPG key to main.yml 2019-02-27 17:02:55 -05:00
Aidan Fitzgerald
eaf59b0e87 Update Gitea readme 2019-02-27 16:39:14 -05:00
A Holt
6f6bad7f2c
Update roles/gitea/tasks/install.yml
Co-Authored-By: aidan-fitz <acf67@cornell.edu>
2018-10-25 23:04:21 -04:00
A Holt
4dbd984366
Update roles/gitea/tasks/install.yml
Co-Authored-By: aidan-fitz <acf67@cornell.edu>
2018-10-25 23:04:17 -04:00
Aidan Fitzgerald
8e4dc59367 Fail if we detect unknown architecture 2018-10-18 17:10:41 -04:00
Aidan Fitzgerald
447b33f854 Add app.ini template and configuration plays 2018-10-18 13:23:18 -04:00
Aidan Fitzgerald
2c1339fc3a Add pre-install tag 2018-10-18 13:13:16 -04:00
Aidan Fitzgerald
23dfa8b297 Set permissions, create /etc/gitea 2018-10-18 12:57:54 -04:00
Aidan Fitzgerald
522d4d5c7e Create symlink 2018-10-18 12:52:51 -04:00
Aidan Fitzgerald
2fb142e5bf Create Gitea subdirectories with owner and group 2018-10-18 12:50:17 -04:00
Aidan Fitzgerald
0e8e1c44b3 Add variable for subdirectories 2018-10-18 12:42:14 -04:00
Aidan Fitzgerald
3ad8facee3 Create Gitea user 2018-10-18 12:41:16 -04:00
Aidan Fitzgerald
a6d4990079 Move everything to /library/gitea, create more variables 2018-10-18 12:35:16 -04:00
Aidan Fitzgerald
fc7ff3bc3b Add plays to verify Gitea binary 2018-10-18 03:36:00 -04:00
Aidan Fitzgerald
e351a1c7c1 Add play for downloading Gitea binary
- Convert ansible_architecture variable to filename suffix
2018-10-18 03:26:39 -04:00
Aidan Fitzgerald
a66d4ed636 Add Apache config file (might need more tweaks) 2018-10-18 02:03:45 -04:00
Aidan Fitzgerald
a7e4b04eba Use a less random port number 2018-10-18 02:03:19 -04:00
Aidan Fitzgerald
12e8f29ca0 Start creating Gitea role 2018-10-18 01:46:12 -04:00