-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,6 +140,16 @@ jobs: | |
docker exec ipa bash -c "pki acme-info | sed -n 's/\s*Status:\s\+\(\S\+\).*/\1/p' > ${SHARED}/actual" | ||
diff expected actual | ||
- name: Check PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec ipa journalctl -x --no-pager -u [email protected] | ||
- name: Check CA debug log | ||
if: always() | ||
run: | | ||
docker exec ipa find /var/log/pki/pki-tomcat/ca -name "debug.*" -exec cat {} \; | ||
- name: Gather artifacts from IPA container | ||
if: always() | ||
run: | | ||
|
@@ -155,6 +165,5 @@ jobs: | |
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ipa-acme | ||
path: | | ||
/tmp/artifacts/ipa | ||
name: ipa-acme-test | ||
path: /tmp/artifacts/ipa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,6 +244,16 @@ jobs: | |
run: | | ||
docker exec ipa cat /var/log/ipaserver-kra-install.log | ||
- name: Check PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec ipa journalctl -x --no-pager -u [email protected] | ||
- name: Check CA debug log | ||
if: always() | ||
run: | | ||
docker exec ipa find /var/log/pki/pki-tomcat/ca -name "debug.*" -exec cat {} \; | ||
- name: Gather artifacts | ||
if: always() | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -615,6 +615,26 @@ jobs: | |
- name: Remove IPA server from secondary container | ||
run: docker exec secondary ipa-server-install --uninstall -U --ignore-last-of-role | ||
|
||
- name: Check PKI server systemd journal in primary container | ||
if: always() | ||
run: | | ||
docker exec primary journalctl -x --no-pager -u [email protected] | ||
- name: Check CA debug log in primary container | ||
if: always() | ||
run: | | ||
docker exec primary find /var/log/pki/pki-tomcat/ca -name "debug.*" -exec cat {} \; | ||
- name: Check PKI server systemd journal in secondary container | ||
if: always() | ||
run: | | ||
docker exec secondary journalctl -x --no-pager -u [email protected] | ||
- name: Check CA debug log in secondary container | ||
if: always() | ||
run: | | ||
docker exec secondary find /var/log/pki/pki-tomcat/ca -name "debug.*" -exec cat {} \; | ||
- name: Gather artifacts from primary container | ||
if: always() | ||
run: | | ||
|
@@ -640,18 +660,9 @@ jobs: | |
- name: Remove network | ||
run: docker network rm example | ||
|
||
- name: Upload artifacts from primary container | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ipa-clone-primary | ||
path: | | ||
/tmp/artifacts/primary | ||
- name: Upload artifacts from secondary container | ||
- name: Upload artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ipa-clone-secondary | ||
path: | | ||
/tmp/artifacts/secondary | ||
name: ipa-clone-test | ||
path: /tmp/artifacts/secondary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,16 @@ jobs: | |
--pkcs12-password Secret.123 | ||
docker exec ipa pki -n ipa-ca-agent ca-user-show admin | ||
- name: Check PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec ipa journalctl -x --no-pager -u [email protected] | ||
- name: Check CA debug log | ||
if: always() | ||
run: | | ||
docker exec ipa find /var/log/pki/pki-tomcat/ca -name "debug.*" -exec cat {} \; | ||
- name: Gather artifacts | ||
if: always() | ||
run: | | ||
|
@@ -113,6 +123,5 @@ jobs: | |
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ipa-subca | ||
path: | | ||
/tmp/artifacts/ipa | ||
name: ipa-subca-test | ||
path: /tmp/artifacts |