mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
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>
This commit is contained in:
@@ -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':
|
||||
- '2.7'
|
||||
- '3.6'
|
||||
Archlinux:
|
||||
'NA':
|
||||
- '3.10'
|
||||
Debian:
|
||||
'11':
|
||||
- '3.9'
|
||||
|
||||
cannot_upgrade_cryptography:
|
||||
FreeBSD:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
openssh_client_package_name: openssh
|
||||
19
tests/utils/shippable/linux-community.sh
Executable file
19
tests/utils/shippable/linux-community.sh
Executable file
@@ -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}"
|
||||
Reference in New Issue
Block a user