-
Notifications
You must be signed in to change notification settings - Fork 139
111 lines (93 loc) · 2.83 KB
/
ocsp-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: OCSP Tests
on: [push, pull_request]
jobs:
init:
name: Initialization
uses: ./.github/workflows/init.yml
secrets: inherit
build:
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit
ocsp-basic-test:
name: Basic OCSP
needs: [init, build]
uses: ./.github/workflows/ocsp-basic-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-separate-test:
name: OCSP on separate instance
needs: [init, build]
uses: ./.github/workflows/ocsp-separate-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-external-certs-test:
name: OCSP with external certs
needs: [init, build]
uses: ./.github/workflows/ocsp-external-certs-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-cmc-test:
name: OCSP with CMC
needs: [init, build]
uses: ./.github/workflows/ocsp-cmc-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-clone-test:
name: OCSP clone
needs: [init, build]
uses: ./.github/workflows/ocsp-clone-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-standalone-test:
name: Standalone OCSP
needs: [init, build]
uses: ./.github/workflows/ocsp-standalone-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-crl-direct-test:
name: OCSP with direct CRL publishing
needs: [init, build]
uses: ./.github/workflows/ocsp-crl-direct-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-crl-ldap-test:
name: OCSP with LDAP-based CRL publishing
needs: [init, build]
uses: ./.github/workflows/ocsp-crl-ldap-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-hsm-test:
name: OCSP with HSM
needs: [init, build]
uses: ./.github/workflows/ocsp-hsm-test.yml
with:
db-image: ${{ needs.init.outputs.db-image }}
ocsp-crl-ldap-self-verification-test:
name: OCSP with self certificate verification test
needs: [init, build]
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Retrieve PKI images
uses: actions/cache@v3
with:
key: pki-images-${{ github.sha }}
path: pki-images.tar
- name: Load PKI images
run: docker load --input pki-images.tar
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install ansible
run: |
python -m pip install --upgrade pip
pip install --user -r tests/ansible/requirements.txt
- name: Execute est playbook
run: |
ansible-playbook -e 'pki_subsystem="ocsp"' tests/ansible/pki-playbook.yml
env:
ANSIBLE_CONFIG: ${{ github.workspace }}/tests/ansible/ansible.cfg