1
0
Fork 0
This repository has been archived on 2023-11-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ansible-jenkins-php-v1/inventory.yml

45 lines
1.4 KiB
YAML
Raw Normal View History

2020-01-17 23:35:15 +01:00
all:
hosts:
test-jenkins-via-ansible.example.net:
2020-03-16 02:40:26 +01:00
jenkins_plugins_system_dependency_supp:
- php-gd
- php-xml
- php-mbstring
- php-pgsql
- postgresql
2020-01-17 23:35:15 +01:00
jobs:
template-php-v1: # Job template (deactivated) which can be manually cloned.
foo:
repository_url: ssh://git@code.example.net:2020/foo
2020-03-15 18:51:00 +01:00
post_build_shell_command: ssh jenkins@demos.example.net sg www-data /var/www/foo/build/deploy-update.sh $GIT_COMMIT
2020-01-17 23:35:15 +01:00
bar:
repository_url: ssh://git@code.example.net:2020/bar
2020-01-17 23:52:10 +01:00
branch_spec: '*/develop'
baz:
2020-01-18 18:29:54 +01:00
# Just a test to see if the default template can
# be run without any vars
2020-03-16 02:40:26 +01:00
jenkins2.example.net:
jenkins_plugins_system_dependency_supp:
- php-gd
- php-xml
- php-mbstring
- php-curl
- php-zip
- php-bcmath
- php-intl
- php-soap
- php-mysql
- mariadb-server
jobs:
template-php-v1: # Job template (deactivated) which can be manually cloned.
jsmith-project:
repository_url: git@github.com:jsmith/project.git
branch_spec: 'refs/heads/feature/continuous-integration'
#branch_spec: '*/develop'
2020-01-17 23:35:15 +01:00
vars:
2020-01-17 23:45:11 +01:00
# Check if etckeeper is installed and /etc is clean
checketckeeper: True
2020-01-18 01:04:37 +01:00
# admin email address
jenkins_admin_email: postmaster@example.net