Skip to content

do pkcs11 stuff first #229

do pkcs11 stuff first

do pkcs11 stuff first #229

Workflow file for this run

name: pkcs11_ca-ubuntu
on: [push]
jobs:
VM-test-job:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install and run
run: |
sudo apt-get update
sudo apt-get install docker-compose curl -y
pip3 install types-requests types-jsonschema mypy black pylint
pip3 install -r requirements.txt
env
id
ls -altr
bash -c 'export CA_URL=https://ca && \
export CA_DNS_NAME=ca && \
export ACME_ROOT=/acme && \
export PKCS11_SIGN_API_TOKEN=xyz && \
export PKCS11_TOKEN=my_test_token_1 && \
export PKCS11_PIN=1234 && \
export PKCS11_MODULE=/usr/lib/softhsm/libsofthsm2.so && \
export POSTGRES_HOST=postgres && \
export POSTGRES_USER=pkcs11_testuser1 && \
export POSTGRES_PASSWORD=DBUserPassword && \
export POSTGRES_PORT=5432 && \
export POSTGRES_DATABASE=pkcs11_testdb1 && \
export POSTGRES_TIMEOUT=5 && \
bash deploy.sh'