Loading templates/gitlab-ci-hurl.yml +10 −1 Original line number Diff line number Diff line Loading @@ -149,6 +149,15 @@ stages: fi } function as_content() { file_or_content=$1 if [[ -f "${file_or_content}" ]]; then cat "${file_or_content}" else echo "${file_or_content}" fi } function install_ca_certs() { certs=$1 if [[ -z "$certs" ]] Loading @@ -171,7 +180,7 @@ stages: if [[ -f "${bundle}" ]] then # Import certificates in bundle echo "${certs}" | tr -d '\r' >> "${bundle}" as_content "$certs" | tr -d '\r' >> "${bundle}" # pass cacert file to Hurl with $HURL_cacert export HURL_cacert="${bundle}" Loading Loading
templates/gitlab-ci-hurl.yml +10 −1 Original line number Diff line number Diff line Loading @@ -149,6 +149,15 @@ stages: fi } function as_content() { file_or_content=$1 if [[ -f "${file_or_content}" ]]; then cat "${file_or_content}" else echo "${file_or_content}" fi } function install_ca_certs() { certs=$1 if [[ -z "$certs" ]] Loading @@ -171,7 +180,7 @@ stages: if [[ -f "${bundle}" ]] then # Import certificates in bundle echo "${certs}" | tr -d '\r' >> "${bundle}" as_content "$certs" | tr -d '\r' >> "${bundle}" # pass cacert file to Hurl with $HURL_cacert export HURL_cacert="${bundle}" Loading