1
0
Fork 0
This commit is contained in:
Chl 2021-07-20 19:44:39 +02:00
parent a29288aef4
commit dbf996269e

View file

@ -1,3 +1,12 @@
**Update july 2021: not maintained nor used anymore.**
I stopped using Jenkins and won't be maintaining this repository anymore. Here are a few reasons:
* [jenkins-php.org](https://jenkins-php.org/) ([project's archive here](https://github.com/sebastianbergmann/php-jenkins-template)) said goodbye too and pointed to Gitlab-CI,
* many plugins used here have merged or disappeared, with quite some loss of functionnality,
* updates of Jenkins and its plugins are too frequent, and may break things unexpectedly,
* Jenkins is hella heavy, both for memory and CPU (Gitlab too...), and I prefer taking a more eco-friendly road (testing [Laminar](https://laminar.ohwg.net/) right now :-)
**Important : this playbook is quick'n dirty and work in progress. Carefully review before using it.**
This Ansible playbook aims at setting a Jenkins CI host linked to Gitea repositories. It will :
@ -45,7 +54,7 @@ We follow (more or less) the recommendations of
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html
with :
- `site.yml` : master playbook
- `ansible.cfg` and `inventory` : the first one set up some default configurations and introduce the second one : the inventory.
- `ansible.cfg` and `inventory.yml` : the first one set up some default configurations and introduce the second one : the inventory.
- `roles/common/`, `roles/fooapp/` : the roles with their tree `tasks/main.yml`, `files/`, `handlers/main.yml`, ...
- `group_vars/group1.yml` and `host_vars/hostname1.yml` : variables dedicated to a group or a host respectively.