mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
106874e029
* WIP timeout * [add] zabbix discover test * decrease number of pools * [add] similar pool names test * [fix] pools check * [add] discovery debug errors * [add] extra output * [add] full output * [add] json * [del] localhost * [add] tests for localhost * [fix] #35 analyze all pools * [fix] port pools test * [add] show host info * [fix] localhost name resolution * display full log * [add] info for IP processing * [fix] IP processing * [add] timeout test * [fix] sudo delete pools * [add] test missing packages * [add] timeout checks * [add] pm checks * [fix] pools count in tests * [fix] move missing packages to seperate checks * [fix] testZabbixDiscoverNumberOfIPPools * [fix] explicitly remove packages * [fix] testMissingPackagesDiscoveryScript * [fix] status * [add] more info on error * [fix] testMissingPackagesDiscoveryScript * [add] run scripts as zabbix user * WIP tests for commands * [del] update echo * [fix] bash zabbix * [fix] socket test * [fix] discover pools errors * [add] ondemand hot pools * [fix] discover script errors * [fix] recache of ondemand pools * [add] continous checks * [fix] discover checks * [add] more details * [add] sort cache and results * [add] sleep tests * WIP checks * [fix] sleep timeout * [fix] ondemand calls * [add] more info * [add] script timeout test * [add] time execution print * [add] double run tests * [add] more timeout for ondemand pools * [fix] userparameters sleep * [add] display pools * [add] clear cache in tests * [fix] delete cache * [fix] max recursive checks * [add] run duration test * [add] more duration tests * [fix] execution time is measured in ms * [add] ondemand cache test * [add] enrease Zabbix timeout * [fix] zabbix timeout checks * [add] multiple run steps * [fix] stop PHP-FPM before modifications * [fix] port checks and port range * [fix] port calculation * [fix] increase timeout * [fix] order of tests * [fix] run PHP directory ending slash * [add, fix] cache of PHP run directory * [fix] PHP locations * Intermediate fix for timeout feature (#48) * [add] more asserts and checks * [fix] PHP sockets detection in tests * [fix] improved socket dir detection * [fix] improved service name detection, code simplification * [fix] socket pools check * [fix] mapfile -d * [add] local vars * [add] Travis CI folds * [add] color output * [add] extra sleep for service actions * Feature/cache location (#50)
248 lines
7.0 KiB
YAML
248 lines
7.0 KiB
YAML
---
|
|
language: bash
|
|
|
|
jobs:
|
|
include:
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Missing packages test"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- bc
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- zabbix-agent
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- sudo apt-get -y remove jq
|
|
- sudo apt-get -y remove libfcgi-bin libfcgi0ldbl
|
|
- sudo apt autoremove
|
|
- jq --version
|
|
script: bash tests/missing.sh
|
|
- os: linux
|
|
dist: trusty
|
|
name: "Zabbix 4.0 @ Ubuntu 14 trusty, PHP default"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu trusty main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi0ldbl
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php5-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: xenial
|
|
name: "Zabbix 4.0 @ Ubuntu 16 xenial, PHP default"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu xenial main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi0ldbl
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 4.0 @ Ubuntu 18 bionic, PHP default"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 4.4 @ Ubuntu 18 bionic, PHP default"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.4/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 5.0 @ Ubuntu 18 bionic, PHP default"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/5.0/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 4.0 @ Ubuntu 18 bionic, PHP 7.0-7.4"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
- sourceline: 'ppa:ondrej/php'
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php7.0-fpm
|
|
- php7.1-fpm
|
|
- php7.2-fpm
|
|
- php7.3-fpm
|
|
- php7.4-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 4.4 @ Ubuntu 18 bionic, PHP 7.0-7.4"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.4/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
- sourceline: 'ppa:ondrej/php'
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php7.0-fpm
|
|
- php7.1-fpm
|
|
- php7.2-fpm
|
|
- php7.3-fpm
|
|
- php7.4-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
- os: linux
|
|
dist: bionic
|
|
name: "Zabbix 5.0 @ Ubuntu 18 bionic, PHP 7.0-7.4"
|
|
arch: amd64
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'deb http://repo.zabbix.com/zabbix/5.0/ubuntu bionic main'
|
|
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
|
|
- sourceline: 'ppa:ondrej/php'
|
|
packages:
|
|
- bc
|
|
- ca-certificates
|
|
- curl
|
|
- grep
|
|
- sed
|
|
- gawk
|
|
- lsof
|
|
- jq
|
|
- libfcgi-bin
|
|
- unzip
|
|
- zabbix-agent
|
|
- zabbix-get
|
|
- php7.0-fpm
|
|
- php7.1-fpm
|
|
- php7.2-fpm
|
|
- php7.3-fpm
|
|
- php7.4-fpm
|
|
before_script:
|
|
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
|
|
|
|
script: bash tests/all.sh
|
|
notifications:
|
|
email: false
|
|
env:
|
|
- SH=bash
|