Browse Source

Fix mkcert bash script (#723)

Wrap CAROOT path in quotes to handle spaces in path
pull/724/head
Thomas Rittson 10 months ago committed by GitHub
parent
commit
c5a65a85ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/integration-test.yml
  2. 2
      openldap/mkcert.sh

4
.github/workflows/integration-test.yml

@ -8,13 +8,13 @@ on: @@ -8,13 +8,13 @@ on:
paths:
- ".github/workflows/integration-test.yml" # this file
- "src/services/ldap-directory.service*" # we only have integration for LDAP testing at the moment
- "./openldap*" # any change to test fixtures
- "./openldap/**/*" # any change to test fixtures
- "./docker-compose.yml" # any change to Docker configuration
pull_request:
paths:
- ".github/workflows/integration-test.yml" # this file
- "src/services/ldap-directory.service*" # we only have integration for LDAP testing at the moment
- "./openldap*" # any change to test fixtures
- "./openldap/**/*" # any change to test fixtures
- "./docker-compose.yml" # any change to Docker configuration
jobs:

2
openldap/mkcert.sh

@ -6,5 +6,5 @@ fi @@ -6,5 +6,5 @@ fi
mkcert -install
mkdir -p ./openldap/certs
cp $(mkcert -CAROOT)/rootCA.pem ./openldap/certs/rootCA.pem
cp "$(mkcert -CAROOT)/rootCA.pem" ./openldap/certs/rootCA.pem
mkcert -key-file ./openldap/certs/openldap-key.pem -cert-file ./openldap/certs/openldap.pem localhost openldap

Loading…
Cancel
Save