-
Notifications
You must be signed in to change notification settings - Fork 139
63 lines (50 loc) · 1.62 KB
/
est-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
name: EST Tests
on: [push, pull_request]
jobs:
build:
name: Waiting for build
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit
est-basic-test:
name: Basic EST
needs: build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Retrieve PKI images
uses: actions/cache@v4
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="est"' tests/ansible/pki-playbook.yml
env:
ANSIBLE_CONFIG: ${{ github.workspace }}/tests/ansible/ansible.cfg
est-ds-realm-test:
name: EST with ds realm
needs: build
uses: ./.github/workflows/est-ds-realm-test.yml
est-postgresql-realm-test:
name: EST with postgresql realm
needs: build
uses: ./.github/workflows/est-postgresql-realm-test.yml
est-ds-realm-separate-test:
name: EST with ds realm on a separate instance
needs: build
uses: ./.github/workflows/est-ds-realm-separate-test.yml
est-separate-provided-certs-test:
name: EST on separate instance with provided certificates
needs: build
uses: ./.github/workflows/est-separate-provided-certs-test.yml