From d196843dce65539b372d98cd16bc96fabea96e83 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Tue, 29 Oct 2024 21:13:00 +0000 Subject: [PATCH] use Caddy CA in hurl options --- .github/workflows/ci.yml | 1 + caddytest/spec/http/requestbody/spec.hurl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4382dbf6774..e9d446d8e0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,6 +221,7 @@ jobs: - name: Run tests with Hurl run: | + export CADDY_DATA=$HOME/.local/share/caddy/pki/authorities/local/root.crt mkdir hurl-report find . -name *.hurl --jobs 1 -exec hurl --variables-file caddytest/spec/hurl_vars.properties --very-verbose --verbose --test --report-junit hurl-report/junit.xml --color {} \; diff --git a/caddytest/spec/http/requestbody/spec.hurl b/caddytest/spec/http/requestbody/spec.hurl index 0e2809f3964..006a565a604 100644 --- a/caddytest/spec/http/requestbody/spec.hurl +++ b/caddytest/spec/http/requestbody/spec.hurl @@ -25,7 +25,7 @@ http://localhost:8000 { GET https://localhost:9443 [Options] -cacert: /home/codespace/.local/share/caddy/pki/authorities/local/root.crt +cacert: {{CADDY_DATA}} ``` Hello ```