Skip to content

Commit

Permalink
Add search and VLV indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Dec 13, 2023
1 parent dbd2b94 commit fd3c054
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ca-clone-replicated-ds-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,27 @@ jobs:
--pkcs12 $SHARED/ca-certs.p12 \
--password Secret.123
- name: Configure connection to CA database
run: |
# store DS password
docker exec secondary pki-server password-add \
--password Secret.123 \
internaldb
# configure DS connection params
docker exec secondary pki-server ca-db-config-mod \
--hostname secondaryds.example.com \
--port 3389 \
--secure false \
--auth BasicAuth \
--bindDN "cn=Directory Manager" \
--bindPWPrompt internaldb \
--database ca \
--baseDN dc=ca,dc=pki,dc=example,dc=com \
--multiSuffix false \
--maxConns 15 \
--minConns 3
# https://github.com/dogtagpki/389-ds-base/wiki/Configuring-DS-Replication-with-DS-Tools
- name: Preparing DS backend
run: |
Expand Down Expand Up @@ -288,6 +309,16 @@ jobs:
diff primaryds.dn secondaryds.dn
- name: Create search indexes
run: |
docker exec secondary pki-server ca-db-index-add -v
docker exec secondary pki-server ca-db-index-rebuild -v
- name: Create VLV indexes
run: |
docker exec secondary pki-server ca-db-vlv-add -v
docker exec secondary pki-server ca-db-vlv-reindex -v
# https://github.com/dogtagpki/pki/wiki/Installing-CA-Clone-with-Existing-DS
- name: Install secondary CA
run: |
Expand Down

0 comments on commit fd3c054

Please sign in to comment.