Skip to content

Commit

Permalink
Fix CA cloning test with secure DS connection
Browse files Browse the repository at this point in the history
The tests for CA with secure DS connection (including
cloning) have been updated to use DS containers instead
of DS RPM packages from Fedora to avoid DS issue #6316.

389ds/389-ds-base#6316
  • Loading branch information
edewata committed Sep 9, 2024
1 parent 9d8d70f commit 27cb810
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ca-clone-secure-ds-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up primary DS container
run: |
tests/bin/ds-create.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--hostname=primaryds.example.com \
--password=Secret.123 \
primaryds
Expand Down Expand Up @@ -98,17 +98,17 @@ jobs:
sudo chmod go+r primaryds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--input=primaryds_server.p12 \
--password=Secret.123 \
primaryds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
primaryds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
primaryds
- name: Install CA in primary PKI container
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Set up secondary DS container
run: |
tests/bin/ds-create.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--hostname=secondaryds.example.com \
--password=Secret.123 \
secondaryds
Expand Down Expand Up @@ -218,17 +218,17 @@ jobs:
sudo chmod go+r secondaryds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--input=secondaryds_server.p12 \
--password=Secret.123 \
secondaryds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
secondaryds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
secondaryds
- name: Install CA in secondary PKI container
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ca-secure-ds-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up DS container
run: |
tests/bin/ds-create.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--hostname=ds.example.com \
--password=Secret.123 \
ds
Expand Down Expand Up @@ -97,18 +97,18 @@ jobs:
sudo chmod go+r ds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
--input=ds_server.p12 \
--password=Secret.123 \
--debug \
ds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
ds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DB_IMAGE }} \
ds
- name: Install CA
Expand Down

0 comments on commit 27cb810

Please sign in to comment.