CI: Journal-log is accessible and encrypted
This commit is contained in:
parent
117886a75f
commit
82ee9661a9
2 changed files with 13 additions and 5 deletions
|
|
@ -2,3 +2,8 @@
|
|||
|
||||
# use tee, otherwise shellcheck complains
|
||||
sudo journalctl --boot | tee journal-log >/dev/null
|
||||
|
||||
# As it might contain sensitive information and is important for debugging
|
||||
# purposes, encrypt journal-log with a symmetric passphrase.
|
||||
gpg --batch --yes --passphrase "$GPG_SYMMETRIC_PASSPHRASE" -o journal-log.gpg --symmetric journal-log
|
||||
rm journal-log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue