51 lines
1.8 KiB
YAML
51 lines
1.8 KiB
YAML
---
|
|
#
|
|
# Ansible managed
|
|
#
|
|
language: python
|
|
|
|
os: linux
|
|
dist: xenial
|
|
|
|
python:
|
|
- "3.8"
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
global:
|
|
namespace="robertdebock"
|
|
jobs:
|
|
- image="alpine" tag="latest"
|
|
- image="alpine" tag="edge"
|
|
- image="amazonlinux" tag="1"
|
|
- image="centos" tag="7"
|
|
- image="centos" tag="latest"
|
|
- image="debian" tag="latest"
|
|
- image="debian" tag="bullseye"
|
|
- image="fedora" tag="31"
|
|
- image="fedora" tag="latest"
|
|
- image="opensuse" tag="latest"
|
|
- image="ubuntu" tag="latest"
|
|
- image="ubuntu" tag="bionic"
|
|
- image="ubuntu" tag="xenial"
|
|
|
|
cache:
|
|
- pip
|
|
|
|
install:
|
|
- pip install --upgrade pip
|
|
- pip install tox
|
|
|
|
script:
|
|
- function retry { counter=0 ; until "$@" ; do exit=$? ; counter=$(($counter + 1)) ; if [ $counter -ge 3 ] ; then return $exit ; fi ; done ; return 0; } ; retry tox --parallel all
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
slack:
|
|
secure: "gmZzWPhCQnjVNy1tspnMqRiyHiyQ7QJgqEXFHyuhxdlfF0lwi9beFfXDSZnP33hIK5cOwj8M8EETADVb8MTTtmY/lJQ+4exiPoyG44gfWkREjkzOz8UT2z1TXzecBfoRF+BQ3vIR9tkbOPPJFNI4+3vZ6p3tl8wbaxgl2Hthp0QjyieBpcpvQENCccy19g/xwAkEUKDQ8D4ojW70BJxd3WcUEVSONB4bSldEDP6gOlWgkgzdY9RJmyxF36WbQi5gc+j8Tht8cqT+IfCtIs94nugpQjK6x7xHloxDJHWJcSF4L86Ph5IYeoKvL8rB0yOeEqLIKzHa5SeRIJPs6rzgo44dQ4CMYUljO6vcBWxNrt+IuJPTaFiPXs6E+qeygAWUKjtGAzP/271DzCnzDOSx6lby2bECk3+8CGWCOm3B2taK10DS8xq+BL2/UCtVInsEgYBJAlX6uCgK2IjuyTVAcBFfcs5P30drd+77xfN4ESEoA9s08XRm+p+BSJWtfN7aUkcZj9aqX2LeiMUi+6ClbQJzG5c3vs8CtbNS1mukZqrNs4J6GrB86JmPYhsIg/CkiJgTMBKaQvEV2ZWoCUPnR/udpSTvz713BvJ0T9e7wGHTkVlosa66px25eASkEmJuHEw2Qs/7U1hVFEP+rDjd7zhyM0f1xKv0/i88LVoLirs="
|
|
on_success: change
|
|
template: "%{result}: %{repository_slug}@%{branch}, build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>)"
|
|
email: false
|