Improve ARM Support (#74)
* Gitea user should be a system user
* Improve installation system
* Download archive instead of binary
* Add checksum validation
* Add GPG check
* Add backup process before upgrading
* Improve ARM support
* Improve support for Vault Encrypted JWT tokens
* Fix spacing in gitea configuration template
When Gitea rewrite the configuration file (e.g.: the JWT token is not
set or doesn't fit their criteria), it'll align space on a per-section
basis in the .ini file.
If the template is not properly spaced, at the next Ansible run, you'll
have an enormous diff, hidding what the real changes are.
* add proper redhat/debian deps for molecule testing
* Gitea group should be a system group
* fix linting for CI
* Update CI and meta information for up-to-date tests and distros
* molecule: fix typo for redhat packages
* fix typo
* bump gitea version to 1.13.1
* Use Ubuntu keyservers to play nicely with everyone
* Update minimum required ansible version to 2.9.8
This is required for Ubuntu Focal, which comes with systemd >= 245
The Get Facts modules doesn't work well with it before the bugfix
introduced in 2.9.8
* Replace yes by True to please the linting
* Truthy values needs to be lower-case
* bump gitea version to 1.13.2
* perform gitea dump as gitea user
* need to set become to yes
* autogenerate JWT_SECRETS (#77)
* autogenerate JWT_SECRETS
Based on https://docs.gitea.io/en-us/command-line/#generate we will now autogenerate JWT_SECRETS if they are not defined.
In my opinion a much better idea than writing a value in the default config.
The check if the variables for the secrets are now 43 characters long i took out. Gitea generates itself suitable secrets, if the user given ones do not fit.
* drop ansible.builtin. syntax
* Update file permissions for "{{ gitea_home }}" (#75)
The file permissions for {{ gitea_home }} especially in conjunction with the recurse: true flag are on closer inspection very open to all and also have a +x set on files.
This should be done better. And I have done here now.
By the way: To improve the -x on normal files in his gitea installation this shell command was useful for me
```
find . -type f -exec chmod a-x {} \+;
find . -type f -exec chmod u=rwX {} \+;
```
* Bump cryptography from 3.2 to 3.3.2 (#79)
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2...3.3.2)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Gitea user should be a system user
* Improve installation system
* Download archive instead of binary
* Add checksum validation
* Add GPG check
* Add backup process before upgrading
* Improve ARM support
* Fix spacing in gitea configuration template
When Gitea rewrite the configuration file (e.g.: the JWT token is not
set or doesn't fit their criteria), it'll align space on a per-section
basis in the .ini file.
If the template is not properly spaced, at the next Ansible run, you'll
have an enormous diff, hidding what the real changes are.
* add proper redhat/debian deps for molecule testing
* Gitea group should be a system group
* fix linting for CI
* Update CI and meta information for up-to-date tests and distros
* molecule: fix typo for redhat packages
* fix typo
* bump gitea version to 1.13.1
* Use Ubuntu keyservers to play nicely with everyone
* Update minimum required ansible version to 2.9.8
This is required for Ubuntu Focal, which comes with systemd >= 245
The Get Facts modules doesn't work well with it before the bugfix
introduced in 2.9.8
* Replace yes by True to please the linting
* Truthy values needs to be lower-case
* bump gitea version to 1.13.2
* perform gitea dump as gitea user
* need to set become to yes
* check-variables.yml doesn't exists anymore
Co-authored-by: L3D <l3d@c3woc.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 18:56:31 +01:00
|
|
|
ansible==2.9.8
|
2020-04-17 09:22:34 +02:00
|
|
|
ansible-lint==4.2.0
|
2019-03-16 12:51:32 +01:00
|
|
|
anyconfig==0.9.7
|
2020-04-17 09:22:34 +02:00
|
|
|
arrow==0.15.5
|
2019-03-16 12:51:32 +01:00
|
|
|
asn1crypto==0.24.0
|
|
|
|
atomicwrites==1.3.0
|
|
|
|
attrs==19.1.0
|
2020-04-17 09:22:34 +02:00
|
|
|
autopep8==1.5.1
|
|
|
|
bcrypt==3.1.7
|
2019-03-16 12:51:32 +01:00
|
|
|
binaryornot==0.4.4
|
2020-04-17 09:22:34 +02:00
|
|
|
Cerberus==1.3.2
|
|
|
|
certifi==2020.4.5.1
|
|
|
|
cffi==1.14.0
|
2019-03-16 12:51:32 +01:00
|
|
|
chardet==3.0.4
|
2020-04-17 09:22:34 +02:00
|
|
|
click==7.1.1
|
|
|
|
click-completion==0.5.2
|
|
|
|
click-help-colors==0.8
|
|
|
|
colorama==0.4.3
|
|
|
|
cookiecutter==1.7.0
|
2021-02-10 20:07:04 +01:00
|
|
|
cryptography==3.3.2
|
2020-04-17 09:22:34 +02:00
|
|
|
docker==4.2.0
|
2019-03-16 12:51:32 +01:00
|
|
|
docker-pycreds==0.4.0
|
2019-05-12 12:43:00 +02:00
|
|
|
entrypoints==0.3
|
2020-04-17 09:22:34 +02:00
|
|
|
fasteners==0.15
|
2019-05-12 12:43:00 +02:00
|
|
|
flake8==3.7.7
|
2020-04-17 09:22:34 +02:00
|
|
|
future==0.18.2
|
2019-03-16 12:51:32 +01:00
|
|
|
git-url-parse==1.2.1
|
2020-04-17 09:22:34 +02:00
|
|
|
idna==2.9
|
|
|
|
importlib-metadata==1.6.0
|
|
|
|
Jinja2==2.11.2
|
2019-03-16 12:51:32 +01:00
|
|
|
jinja2-time==0.2.0
|
|
|
|
MarkupSafe==1.1.1
|
|
|
|
mccabe==0.6.1
|
2020-04-17 09:22:34 +02:00
|
|
|
molecule==3.0.3
|
2019-03-16 12:51:32 +01:00
|
|
|
monotonic==1.5
|
|
|
|
more-itertools==6.0.0
|
2020-04-17 09:22:34 +02:00
|
|
|
paramiko==2.7.1
|
|
|
|
pathspec==0.8.0
|
2019-05-12 12:43:00 +02:00
|
|
|
pbr==5.1.1
|
2020-04-17 09:22:34 +02:00
|
|
|
pexpect==4.8.0
|
|
|
|
pi==0.1.2
|
|
|
|
pluggy==0.13.1
|
|
|
|
poyo==0.5.0
|
2020-04-20 16:10:26 +02:00
|
|
|
psutil==5.6.6
|
2019-03-16 12:51:32 +01:00
|
|
|
ptyprocess==0.6.0
|
|
|
|
py==1.8.0
|
|
|
|
pyasn1==0.4.5
|
2019-05-12 12:43:00 +02:00
|
|
|
pycodestyle==2.5.0
|
2020-04-17 09:22:34 +02:00
|
|
|
pycparser==2.20
|
2019-05-12 12:43:00 +02:00
|
|
|
pyflakes==2.1.1
|
2019-03-16 12:51:32 +01:00
|
|
|
PyNaCl==1.3.0
|
|
|
|
pytest==4.3.1
|
2020-04-17 09:22:34 +02:00
|
|
|
python-dateutil==2.8.1
|
|
|
|
python-gilt==1.2.3
|
|
|
|
PyYAML==5.3.1
|
|
|
|
requests==2.23.0
|
|
|
|
ruamel.yaml==0.16.10
|
|
|
|
ruamel.yaml.clib==0.2.0
|
2019-03-16 12:51:32 +01:00
|
|
|
sh==1.12.14
|
2020-04-17 09:22:34 +02:00
|
|
|
shellingham==1.3.2
|
|
|
|
six==1.14.0
|
|
|
|
tabulate==0.8.7
|
|
|
|
testinfra==5.0.0
|
2019-03-16 12:51:32 +01:00
|
|
|
tree-format==0.1.2
|
2020-04-17 09:22:34 +02:00
|
|
|
urllib3==1.25.8
|
|
|
|
websocket-client==0.57.0
|
|
|
|
whichcraft==0.6.1
|
|
|
|
yamllint==1.22.1
|
|
|
|
zipp==3.1.0
|