Merge remote-tracking branch 'origin/topic/timw/send-email-on-docs-action-failure'

* origin/topic/timw/send-email-on-docs-action-failure:
  Fix generate-docs github action to send email when it fails
This commit is contained in:
Tim Wojtulewicz 2021-07-20 09:55:59 -07:00
commit 2d95c38148
3 changed files with 26 additions and 4 deletions

View file

@ -3,9 +3,6 @@ name: Generate Documentation
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- topic/timw/send-email-on-docs-action-failure
jobs:
generate:
@ -95,3 +92,16 @@ jobs:
git add doc
git status
git commit -m 'Update doc submodule [nomail] [skip ci]' && git push auth master || /bin/true
- name: Send email
if: failure()
uses: dawidd6/action-send-mail@v3.4.1
with:
server_address: ${{secrets.SMTP_HOST}}
server_port: ${{secrets.SMTP_PORT}}
username: ${{secrets.SMTP_USER}}
password: ${{secrets.SMTP_PASS}}
subject: generate-docs Github Action failed!
body: generate-docs job of ${{github.repository}} Failed! See https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} for details.
to: ${{secrets.MAIL_TO}}
from: Github Actions <${{secrets.MAIL_FROM}}>

12
CHANGES
View file

@ -1,3 +1,15 @@
4.2.0-dev.38 | 2021-07-20 09:55:59 -0700
* Fix generate-docs github action to send email when it fails (Tim Wojtulewicz, Corelight)
* Use Cirrus's new greedy mode for parallelizing builds and tests (Christian Kreibich, Corelight)
This oversubscribes our cores 2x, which testing shows we actually
run with at times: speedup is around a third on average for builds,
and a bit more than that for testing.
Also some light Bashification in ci/build.sh, for consistency.
4.2.0-dev.34 | 2021-07-19 08:56:45 -0700
* Bump highwayhash to pull in FreeBSD 14 fix (Christian Kreibich, Corelight)

View file

@ -1 +1 @@
4.2.0-dev.34
4.2.0-dev.38