We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6bb81 commit 86c0522Copy full SHA for 86c0522
.github/workflows/cypress.yml
@@ -54,6 +54,15 @@ jobs:
54
start: yarn start
55
spec: cypress/e2e/${{ matrix.groups }}/**/*.spec.ts
56
wait-on: ${{env.MAAS_UI_URL}}/MAAS/r/machines
57
+ - name: Generate logs
58
+ if: failure()
59
+ shell: bash
60
+ run: journalctl -u snap.maas.pebble.service --since="1 hour ago" > cypress/maas_logs.txt
61
+ - uses: actions/upload-artifact@v4
62
63
+ with:
64
+ name: maas_logs.txt
65
+ path: cypress/maas_logs.txt
66
- uses: actions/upload-artifact@v4
67
if: failure()
68
with:
0 commit comments