mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-12-15 16:37:03 +01:00
ci: add install script log output in docker-test workflow
Add step to display the install script log file (openvpn-install.log) which includes timestamps and all installation activity. This makes debugging CI failures easier by providing detailed logs directly in the workflow output.
This commit is contained in:
committed by
Stanislas
parent
3c9580b5b4
commit
6cca56f5b5
6
.github/workflows/docker-test.yml
vendored
6
.github/workflows/docker-test.yml
vendored
@@ -160,6 +160,12 @@ jobs:
|
||||
if: always()
|
||||
run: docker logs openvpn-server 2>&1 || true
|
||||
|
||||
- name: Show install script log
|
||||
if: always()
|
||||
run: |
|
||||
docker cp openvpn-server:/opt/openvpn-install.log /tmp/openvpn-install.log 2>/dev/null && \
|
||||
cat /tmp/openvpn-install.log || echo "No install log found"
|
||||
|
||||
- name: Show client logs
|
||||
if: always()
|
||||
run: docker logs openvpn-client 2>&1 || true
|
||||
|
||||
Reference in New Issue
Block a user