1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00
Commit graph

487 commits

Author SHA1 Message Date
Thomas Maurice
8b5ae578f4
Badges 2020-08-01 15:12:55 +01:00
Thomas Maurice
b4ecdb3563
Merge pull request #55 from em0lar/notify_mail
Add configuration option for enabling notify email
2020-08-01 15:01:48 +01:00
Leo Maroni
8f2e1bcd6a
Add configuration option for enabling notify email 2020-07-28 12:23:26 +02:00
Thomas Maurice
b1550d80ce
Merge pull request #54 from orangerkater/define-mailer-type
issue #53: define mailer type
2020-07-22 18:35:13 +01:00
Martin Borer
f48402354f issue #53: define mailer type 2020-07-21 14:18:08 +02:00
Thomas Maurice
c7dca823c9
Merge pull request #50 from em0lar/repo_indexer
Add config options for repository indexer
2020-06-20 15:47:56 +01:00
Thomas Maurice
a14e4bbe4b
Merge pull request #46 from DO1JLR/1.12.0
Update gitea to 1.12.0
2020-06-20 15:41:33 +01:00
L3D
50fa6f1db5
Merge branch 'master' into 1.12.0 2020-06-18 21:59:19 +02:00
L3D
815d06b7d8
Update gitea to 1.12.0
New gitea release [1.12.0](https://github.com/go-gitea/gitea/releases/tag/v1.12.0) is available \o/
2020-06-18 21:58:09 +02:00
Leo Maroni
1df6bd8e23
Add config options for repository indexer 2020-06-18 07:41:59 +02:00
Sergej
77d593a4b9 Bugfix: set -o pipefail fails silently.
This is due the fact that Ansible often takes another default shell
to execute its commands, e.g., /bin/sh.
Solution is to require /bin/bash for the particular command.
2020-06-17 14:08:26 +01:00
Leo Maroni
2b665bdb1d Add variable to enable adding CAP_NET_BIND_SERVICE to systemd service 2020-06-03 15:16:57 +01:00
Leo Maroni
efc0363f4b Added CAP_NET_BIND_SERVICE to gitea.service to allow binding to ports
lower than 1024
2020-06-03 15:16:57 +01:00
L3D
c3891fc4b3 Update gitea to v1.11.6
New Release available:
https://github.com/go-gitea/gitea/releases/tag/v1.11.6
2020-06-03 10:51:26 +01:00
Simeon Keske
e83335d9fb add newline at the ent of the file 2020-05-19 14:21:12 +01:00
Simeon Keske
16707f4a38 Allow to set a custom Download-URL for gitea 2020-05-19 14:21:12 +01:00
Leo Maroni
8506ca4f2b Add config option to set repository path different to home_path 2020-05-19 14:19:23 +01:00
Simeon Keske
349d9dff4f fix typo in THEMES 2020-05-19 14:13:01 +01:00
Simeon Keske
259d761eb2 add variable gitea_only_allow_external_registration 2020-05-19 14:13:01 +01:00
Simeon Keske
1f88e7238a Allow to specify default theme 2020-05-19 14:13:01 +01:00
L. Alberto Giménez
7e7626ed2a Fix check mode for binary download task
In check_mode, the binary download task depends on the execution of the
previous one, which uses the module shell to fill in a variable. In the
download binary task we use a field on that variable that does not exist
in check_mode, so the task fails.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
2020-05-15 09:47:24 +01:00
L3D
cdb6f4974d Update default version to 1.11.5
Gitea Release [v1.11.5](https://github.com/go-gitea/gitea/releases/tag/v1.11.5) is available \o/
2020-05-15 09:46:35 +01:00
dependabot[bot]
4cba59cbf3 Bump psutil from 5.4.6 to 5.6.6
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.4.6 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.4.6...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-20 15:39:40 +01:00
Thomas Maurice
cdfb5bd354 Fix linting 2020-04-20 15:38:03 +01:00
dhs
d65ac0f919 Update main.yml
remove debugging remnant
2020-04-20 15:09:35 +01:00
dhs
82c92364e9 Update .travis.yml
we're done, so add galaxy webhook again
2020-04-20 15:09:35 +01:00
dhs
08ce4ec965 add default and fix linter warning
change default image for molecule container (if not run with travis), fixed linter warning in .yamllint file
2020-04-20 15:09:35 +01:00
dhs
7e59a636cb improved testing 2020-04-20 15:09:35 +01:00
dhach
15a5f64e8a check that jwt token is < 32 chars to prevent gitea from crashing 2020-04-20 15:02:41 +01:00
L3D
fb6606e87e Update main.yml 2020-04-20 15:02:11 +01:00
L3D
3ee72ea310 Update RELEASE to 1.11.3
https://github.com/go-gitea/gitea/releases/tag/v1.11.3
2020-04-20 15:02:11 +01:00
L3D
8ae0401aa1 Update gitea version to 1.11.2
Update Gitea Version to [v1.11.2](https://github.com/go-gitea/gitea/releases/tag/v1.11.2)
2020-04-20 15:02:11 +01:00
Mathias Merscher
c50f79cf4a adds metrics endpoint config support 2020-01-06 11:37:50 +00:00
Mathias Merscher
630d64dbb5 add back oauth2 parameters 2019-12-30 11:25:23 +00:00
L3D
4e42778158 New gitea verseion '1.6.4'
https://github.com/go-gitea/gitea/releases/tag/v1.9.4
2019-10-11 19:14:44 +01:00
Kim Ausloos
a8250ee7e3 Changed some wording/fixed some typo's in README 2019-10-02 19:56:40 +01:00
L3D
39e94854ed update gitea from 1.9.0 to 1.9.3
Update gitea:
https://github.com/go-gitea/gitea/releases

 What changed:

> 1.9.3
    BUGFIXES
        Fix go get from a private repository with Go 1.13 (#8100)
        Strict name matching for Repository.GetTagID() (#8082)
        Avoid ambiguity of branch/directory names for the git-diff-tree command (#8070)
        Add change title notification for issues (#8064)
        Run CORS handler first for /api routes (#7967) (#8053)
        Evaluate emojis in commit messages in list view (#8044)
        Fix failed to synchronize tags to releases for repository (#7990) (#7994)
        Fix adding default Telegram webhook (#7972) (#7992)
        Abort synchronization from LDAP source if there is some error (#7965)
        Fix deformed emoji in commit message (#8071)
    ENHANCEMENT
        Keep blame view buttons sequence consistent with normal view when viewing a file (#8007) (#8009)
> 1.9.2


    BUGFIXES
        Fix wrong sender when send slack webhook (#7918) (#7924)
        Upload support text/plain; charset=utf8 (#7899)
        Lfs/lock: round locked_at timestamp to second (#7872) (#7875)
        Fix non existent milestone with 500 error (#7867) (#7873)
    SECURITY
        Fix No PGP signature on 1.9.1 tag (#7874)
        Release built with go 1.12.9 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!msg/golang-announce/oeMaeUnkvVE/a49yvTLqAAAJ
    ENHANCEMENT
        Fix pull creation with empty changes (#7920) (#7926)
    BUILD
        Drone/docker: prepare multi-arch release + provide arm64 image (#7571) (#7884)

> 1.9.1


    BREAKING
        Add pagination for admin api get orgs and fix only list public orgs bug (#7742) (#7752)
    SECURITY
        Be more strict with git arguments (#7715) (#7762)
        Release built with go 1.12.8 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!topic/golang-nuts/fCQWxqxP8aA
    BUGFIXES
        Fix local runs of ssh-requiring integration tests (#7855) (#7857)
        Fix hook problem (#7856) (#7754)
        Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7850) (#7846)
        Do not fetch all refs (#7797) (#7837)
        Fix duplicate call of webhook (#7824) (#7821)
        Enable switching to a different source branch when PR already exists (#7823)
        Rewrite existing repo units if setting is not included in api body (#7811)
        Prevent Commit Status and Message From Overflowing On Branch Page (#7800) (#7808)
        API: fix multiple bugs with statuses endpoints (Backport #7785) (#7807)
        Fix Slack webhook fork message (1.9 release backport) (#7783)
        Fix approvals counting (#7757) (#7777)
        Fix rename failed when rewrite public keys (#7761) (#7769)
        Fix dropTableColumns sqlite implementation (#7710) (#7765)
        Fix repo_index_status lingering when deleting a repository (#7738)
        Fix milestone completness calculation when migrating (#7725) (#7732)
        Fixes indexed repos keeping outdated indexes when files grow too large (#7731)
        Skip non-regular files (e.g. submodules) on repo indexing (#7717)
        Improve branches list performance and fix protected branch icon when no-login (#7695) (#7704)
        Correct wrong datetime format for git (#7689) (#7690)
2019-09-24 09:35:33 +01:00
Thomas Maurice
0722d97e7f Updates gitea to 1.9.0 2019-08-01 19:58:44 +01:00
dependabot[bot]
e5bb290b98 Bump ansible from 2.7.9 to 2.7.12
Bumps [ansible](https://github.com/ansible/community) from 2.7.9 to 2.7.12.
- [Release notes](https://github.com/ansible/community/releases)
- [Commits](https://github.com/ansible/community/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-01 14:50:22 +01:00
L3D
afbd034f50 Enable git lfs options
With this change it is possible to enable the git-lfs server.
And to configure where data are stored.
2019-07-12 21:16:01 +01:00
L3D
736e33bb37 Update Version to v1.8.3
A New Version of gitea is available:
https://github.com/go-gitea/gitea/releases/tag/v1.8.3
2019-07-12 21:15:23 +01:00
Bèr Kessels
b574c9ae36 Add new vars to README 2019-06-16 19:19:24 +01:00
Bèr Kessels
fe4db0bb07 Add username and password for smpt servers. Defaulting to blank 2019-06-16 19:19:24 +01:00
Thomas Maurice
b15b242dde Update gitea to v1.8.2 2019-06-03 22:02:47 +02:00
L3D
9c536d77a9 Simplify configuration file
I kicked out some config values, that are not controlled via ansible variables.
Maybe it makes more sense if we only customize the values, we are really changing. *(like database, domain and other behavior...)*

I had the problem, that after upgrading gitea it won't run with the config provided by this ansible role. But the default config worked fine.

I assume that the official gitea chenged and updated some options.
Some options in the old config file of this role did not appear in the [official cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/).

@thomas-maurice: What did you think about it?
Better track every value and update it in our config.

Or clean up the config and only keep the parameter we really need and let gitea set everything else with their default values?
2019-06-02 23:04:10 +02:00
L3D
5e971278c3 Fixing deprecation warning
ANsible comes with the error:
```bash
[DEPRECATION WARNING]: evaluating gitea_fail2ban_enabled as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
```

appending ``|bool`` after a boolean variable will resolve the issue.
2019-05-23 21:19:21 +01:00
Thomas Maurice
0ccf9b334d Removed 'yolo wip do not use' disclaimer as this now stable enough to be used by people that are not me 2019-05-12 11:44:42 +01:00
Thomas Maurice
6b682fdf9e Upgrade the travis requirements 2019-05-12 11:43:00 +01:00
Thomas Maurice
ccec85feab Upgrade the installed version of gitea to 1.8.1 2019-05-12 11:40:14 +01:00
Thomas Maurice
37b1ff8837 #17 fix the quality score of the module 2019-04-30 19:45:20 +01:00