Skip to content

Commit

Permalink
Merge branch 'main' into smallchange
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-ke committed Oct 29, 2024
2 parents c5c59a5 + 8a27759 commit df6f3f2
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ on:
- cron: '1 8 * * 0,2,4'

jobs:
es-node-integration-test:
integration-test:
runs-on: self-hosted
outputs:
test_status: ${{ job.status }}
timeout-minutes: 2880

steps:
Expand Down Expand Up @@ -72,8 +74,26 @@ jobs:
with:
name: logs
path: |
es-node-it-bootnode.log
./cmd/integration-test-server/itserver.log
./integration_tests/scripts/upload.log
./integration_tests/scripts/upload2.log
es-node-it-bootnode.log
es-node-it.log
./cmd/integration-test-server/itserver.log
notification:
if: ${{ always() }}
needs: integration-test
runs-on: ubuntu-latest
steps:
- name: Send notification email
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.SMTP_USERNAME }}
password: ${{ secrets.SMTP_PASSWORD }}
subject: ${{ github.repository }} GitHub Actions ${{ github.workflow }} Run ${{ needs.integration-test.outputs.test_status }} - ${{ github.sha }}
to: [email protected],[email protected],[email protected]
from: ${{ secrets.SMTP_USERNAME }}
body: |
"GitHub Action job completed with status: ${{ needs.integration-test.outputs.test_status }}! Check the details at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit df6f3f2

Please sign in to comment.