CI: add community ansible-test images (#404)
* Use community ansible-test images. * Adjust tests for new operating systems, and pass on Python version as well. * Fix Python version. Co-authored-by: David Moreau Simard <moi@dmsimard.com> * Fix package name. Co-authored-by: David Moreau Simard <moi@dmsimard.com>pull/408/head
parent
28729657ac
commit
84c1a20af7
|
@ -190,6 +190,22 @@ stages:
|
||||||
- name: Ubuntu 18.04
|
- name: Ubuntu 18.04
|
||||||
test: ubuntu1804
|
test: ubuntu1804
|
||||||
|
|
||||||
|
### Community Docker
|
||||||
|
- stage: Docker_community_devel
|
||||||
|
displayName: Docker (community images) devel
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
testFormat: devel/linux-community/{0}/1
|
||||||
|
targets:
|
||||||
|
- name: Debian Bullseye
|
||||||
|
test: debian-bullseye/3.9
|
||||||
|
- name: ArchLinux
|
||||||
|
test: archlinux/3.10
|
||||||
|
- name: CentOS Stream 8
|
||||||
|
test: centos-stream8/3.8
|
||||||
|
|
||||||
### Remote
|
### Remote
|
||||||
- stage: Remote_devel
|
- stage: Remote_devel
|
||||||
displayName: Remote devel
|
displayName: Remote devel
|
||||||
|
@ -340,6 +356,7 @@ stages:
|
||||||
- Docker_2_11
|
- Docker_2_11
|
||||||
- Docker_2_10
|
- Docker_2_10
|
||||||
- Docker_2_9
|
- Docker_2_9
|
||||||
|
- Docker_community_devel
|
||||||
- Cloud_devel
|
- Cloud_devel
|
||||||
- Cloud_2_12
|
- Cloud_2_12
|
||||||
- Cloud_2_11
|
- Cloud_2_11
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
openssl_package_name: openssl
|
||||||
|
cryptography_package_name: python-cryptography
|
||||||
|
cryptography_package_name_python3: python-cryptography
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
pyopenssl_package_name: python-pyopenssl
|
||||||
|
pyopenssl_package_name_python3: python-pyopenssl
|
|
@ -52,6 +52,12 @@ system_python_version_data:
|
||||||
'15':
|
'15':
|
||||||
- '2.7'
|
- '2.7'
|
||||||
- '3.6'
|
- '3.6'
|
||||||
|
Archlinux:
|
||||||
|
'NA':
|
||||||
|
- '3.10'
|
||||||
|
Debian:
|
||||||
|
'11':
|
||||||
|
- '3.9'
|
||||||
|
|
||||||
cannot_upgrade_cryptography:
|
cannot_upgrade_cryptography:
|
||||||
FreeBSD:
|
FreeBSD:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
openssh_client_package_name: openssh
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -o pipefail -eux
|
||||||
|
|
||||||
|
declare -a args
|
||||||
|
IFS='/:' read -ra args <<< "$1"
|
||||||
|
|
||||||
|
image="${args[1]}"
|
||||||
|
python="${args[2]}"
|
||||||
|
|
||||||
|
if [ "${#args[@]}" -gt 3 ]; then
|
||||||
|
target="shippable/posix/group${args[3]}/"
|
||||||
|
else
|
||||||
|
target="shippable/posix/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
|
||||||
|
--docker "quay.io/ansible-community/test-image:${image}" --python "${python}"
|
Loading…
Reference in New Issue