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 d78316d commit 59ea649
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.DS_IMAGE }} \
--hostname=primaryds.example.com \
--password=Secret.123 \
primaryds
Expand Down Expand Up @@ -100,17 +100,17 @@ jobs:
sudo chmod go+r primaryds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
--input=primaryds_server.p12 \
--password=Secret.123 \
primaryds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
primaryds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
primaryds
- name: Install CA in primary PKI container
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Set up secondary DS container
run: |
tests/bin/ds-create.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
--hostname=secondaryds.example.com \
--password=Secret.123 \
secondaryds
Expand Down Expand Up @@ -224,17 +224,17 @@ jobs:
sudo chmod go+r secondaryds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
--input=secondaryds_server.p12 \
--password=Secret.123 \
secondaryds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
secondaryds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DS_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.DS_IMAGE }} \
--hostname=ds.example.com \
--password=Secret.123 \
ds
Expand Down Expand Up @@ -99,18 +99,18 @@ jobs:
sudo chmod go+r ds_server.p12
tests/bin/ds-certs-import.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
--input=ds_server.p12 \
--password=Secret.123 \
--debug \
ds
tests/bin/ds-stop.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
ds
tests/bin/ds-start.sh \
--image=pki-runner \
--image=${{ env.DS_IMAGE }} \
ds
- name: Install CA
Expand Down

0 comments on commit 59ea649

Please sign in to comment.