Skip to content

Commit

Permalink
add logs in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-gouin committed Oct 22, 2024
1 parent 073ad7d commit 2394a62
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,16 @@ jobs:
run: |
echo "verify certificate"
echo | openssl s_client -showcerts -servername example.com -connect localhost:30636 2>/dev/null | openssl x509 -inform pem -noout -text > /tmp/test-cert.txt
if ! grep -q "CN = example.com" /tmp/test-cert.txt; then echo exit 1; fi
if ! grep -q "CN = Self-Signed CA" /tmp/test-cert.txt; then exit 1; fi
- name: fetch logs
shell: bash
run: |
echo "kubectl logs openldap-0"
kubectl logs openldap-0
echo "kubectl logs openldap-1"
kubectl logs openldap-1
echo "kubectl logs openldap-2"
kubectl logs openldap-2
- name: apply chaos tests
shell: bash
run: |
Expand Down

0 comments on commit 2394a62

Please sign in to comment.