Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added email notification in CD
  • Loading branch information
HarikaChebrolu committed Jul 26, 2021
commit bb5b09e29ac3e96c00b58a97ed03075ead86e53f
19 changes: 19 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,22 @@ jobs:

- name: Push the tagged Docker image
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV6.2

- name: Send mail notifier about status of pipeline
uses: dawidd6/action-send-mail@v2
with:
server_address: smtp-mail.outlook.com
server_port: 587
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: OneViewSDK Daily Deployment Results – ${{job.status}}
body: |
Hi All,
OneViewSDK daily deployment on build 6.20.00 is considered a ${{job.status}} for Synergy Composer and VM appliances.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since our release version and ov version is same can we use ${{ env.RELEASE_VERSION }} instead of giving the build versione everytime

link: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

Thanks,
OneView SDK Deployment Automation
to: bala-sai-harika.chebrolu@hpe.com
from: github-actions
priority: high
19 changes: 0 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,6 @@ jobs:
# pip install pylint
# pylint $(git ls-files '*.py')

- name: Send mail notifier about status of pipeline
uses: dawidd6/action-send-mail@v2
with:
server_address: smtp-mail.outlook.com
server_port: 587
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: OneViewSDK Daily Deployment Results – ${{job.status}}
body: |
Hi All,
OneViewSDK daily deployment on build 6.30.00 is considered a ${{job.status}} for Synergy Composer and VM appliances.
link: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

Thanks,
OneView SDK Deployment Automation
to: bala-sai-harika.chebrolu@hpe.com
from: github-actions
priority: high

- name: Run unit tests using tox
run: tox

Expand Down