Improve CI (#281)

* Install PyOpenSSL and cryptography from PyPi if target Python != system Python.

* Work around some CentOS6, 7, Ubuntu 16.04 problems. Improve jinja2 compatibility handling.

* Skip tasks that require properties that aren't always there.

* Only install OpenSSL when not present.

* Improve output.

* Improve get_certificate integration test graceful failing.

* Fix tests.

* Fix assert.

* OpenSSL peculiarities.

* Fix condition.
This commit is contained in:
Felix Fontein
2021-09-18 15:21:40 +02:00
committed by GitHub
parent 63f4598737
commit 6c018b94da
25 changed files with 529 additions and 172 deletions

View File

@@ -0,0 +1,50 @@
---
system_python_version_data:
CentOS:
'6':
- '2.6'
'7':
- '2.7'
'8':
- '3.6'
Fedora:
'30':
- '3.7'
'31':
- '3.7'
'32':
- '3.8'
'33':
- '3.9'
'34':
- '3.9'
Ubuntu:
'16':
- '2.7'
'18':
- '3.6'
'20':
- '3.8'
Darwin:
'10.11':
- '2.7'
'10.15':
- '3.8'
'11.1':
- '3.9'
FreeBSD:
'12.1':
- '3.6'
'12.2':
- '3.7'
'13.0':
- '3.7'
RedHat:
'7':
- '2.7'
'8':
- '3.6'
Suse:
'15':
- '2.7'
- '3.6'