Create Installing_OCSP.adoc #5649
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OCSP Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Waiting for build | |
uses: ./.github/workflows/wait-for-build.yml | |
secrets: inherit | |
ocsp-basic-test: | |
name: Basic OCSP | |
needs: build | |
uses: ./.github/workflows/ocsp-basic-test.yml | |
ocsp-separate-test: | |
name: OCSP on separate instance | |
needs: build | |
uses: ./.github/workflows/ocsp-separate-test.yml | |
ocsp-external-certs-test: | |
name: OCSP with external certs | |
needs: build | |
uses: ./.github/workflows/ocsp-external-certs-test.yml | |
ocsp-existing-config-test: | |
name: OCSP with existing config | |
needs: build | |
uses: ./.github/workflows/ocsp-existing-config-test.yml | |
ocsp-cmc-test: | |
name: OCSP with CMC | |
needs: build | |
uses: ./.github/workflows/ocsp-cmc-test.yml | |
ocsp-clone-test: | |
name: OCSP clone | |
needs: build | |
uses: ./.github/workflows/ocsp-clone-test.yml | |
ocsp-standalone-test: | |
name: Standalone OCSP | |
needs: build | |
uses: ./.github/workflows/ocsp-standalone-test.yml | |
ocsp-crl-direct-test: | |
name: OCSP with direct CRL publishing | |
needs: build | |
uses: ./.github/workflows/ocsp-crl-direct-test.yml | |
ocsp-crl-ldap-test: | |
name: OCSP with LDAP-based CRL publishing | |
needs: build | |
uses: ./.github/workflows/ocsp-crl-ldap-test.yml | |
ocsp-hsm-test: | |
name: OCSP with HSM | |
needs: build | |
uses: ./.github/workflows/ocsp-hsm-test.yml | |
ocsp-crl-ldap-self-verification-test: | |
name: OCSP with self certificate verification test | |
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 OCSP playbook | |
run: | | |
ansible-playbook -e 'pki_subsystem="ocsp"' tests/ansible/pki-playbook.yml | |
env: | |
ANSIBLE_CONFIG: ${{ github.workspace }}/tests/ansible/ansible.cfg | |
ocsp-container-test: | |
name: OCSP container | |
needs: build | |
uses: ./.github/workflows/ocsp-container-test.yml |