From d5d156e70e0cff08137c6bfcff4572bb4f7c4f16 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Fri, 23 Dec 2022 07:38:53 +0100 Subject: [PATCH] .gitlab-ci.yml - create test certificates --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0291b8..05f12ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,8 @@ test: before_script: - pip install -r requirements.txt - pip install pytest httpx - - cd test + - openssl genrsa -out app/instance.private.pem 2048 + - openssl rsa -in app/instance.private.pem -outform PEM -pubout -out app/instance.public.pem script: - pytest main.py