Can we get a mail from gitlab , If the pipeline started itself? - gitlab

We're using gitlab for ci/cd .By using gitlab notification setup , we are getting mails but If the pipeline ends only, mail will triggered the status of the pipeline. Is there any possibility for getting mail when pipeline starts status?
and another one thing , by using SMTP ,gitlab.rb , Please any one explain about this. The recipients whoever getting my mail, they need more information regarding the pipeline status. I searched for that , it shows relatedly gitlab.rb and smtp .But I didn't getting clear about that. Please anyone explain about the SMTP .We want the deployment for email notification. Thanks in advance

Call a Web API that sends email (e.g. - mailgun, sendgrid) via curl/wget as the first command in the script: section of the deploy Job within .gitlab-ci.yml
Or, use a CLI tool such as sendmail or ssmtp.
Either option will require configuration in the form of an API token or SMTP credentials.
See an example for using the Mailgun API, here.

Related

Can we invoke (run) azure pipeline on receiving email

We are looking for the possibility of a situation
Where our vendor sends us email on the update and upon receiving that email we want to run our azure pipeline or release
Automatically
So is it possible to do that
Our mail server is office Outlook and pipelines are in azure dev ops
Our intention is if we received update to email then we want to run pipeline
Note: we can even maintain specific email id to get update notifications and set it like once we receive that email olwe should invoke pipeline
Please help me if we can do it or not
If yes any info about this is very helpful

get email ID of person debuging azure data factory pipeline

I have a production and a development environment in azure data factory. I have developed the pipeline such that when the pipeline fails, we get an email notification. However the issue is if someone tests a pipeline in development and it fails we still get error email and this is bugging a lot of people as no one wants to see email of someone else's error run.
Is there a way to implement the pipeline in such a way that, if a pipeline fails in production everyone should receive an email but if a pipeline fails in development, only the developer should get the email? I cannot seem to find any system assigned variable or something like User().email just like we have in powerapps.
Please see: We cannot have a parameter in pipeline like email: <>. I need a way to get email id of the person using the pipeline dynamically.
You can invoke a REST API to activity logs and get the event initiated by - which has user information of who triggered the pipeline.
Sample Request
https://management.azure.com/subscriptions/<SUBSCRIPTION>/providers/Microsoft.Insights/eventtypes/management/values?api-version=2015-04-01&$filter=eventTimestamp ge '<CurrenTime - 5 mins>' and eventTimestamp le '<CURRENT TIME + 5 mins>' and resourceUri eq /subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCEGROUP>/providers/Microsoft.DataFactory/factories/<DATAFACTORYNAME>'
Refer this link for more information

Send Email when Azure CI Pipeline Just Started Running

I know there is an option to send an email when Azure CI pipeline completes/failed, but what I'm looking for is an option when a particular pipeline has just started/upon running, is there such thing? Thanks!
Check this extension: CatLight. It does not send emails just popups in your tray.
Azure DevOps does not have this notification, we could install the extension Send Email, and use the task Send email to get the email notification that the pipeline has just run.
We could also refer to this doc to use email task to send email.
Note: We could not send email for a azure DevOps team group via these tasks

Zabbix Wesite monitoring email notification

Configured Zabbix server to monitor websites if status code 200 is ok or not. I did created also the triggers and actions like you can view in the screenshots but so far still no email notification at all, email server work ok.
Configured Trigger
Configure Actions
Any though on this?
Thank you in advance
You need to set up your SMTP server settings, add the recipient email in the desired user's media and configure an action accordingly.
The quickstart guide covers all the required steps.

Is there a way to turn slack messages into gitlab issues?

I'm looking for a way to get messages from our customer support channel on Slack turned into issues in Gitlab as they come in. Is that possible?
You could enable the New issue via mail feature to allow issues to be created using emails.
You could then use a solution proposed here to send emails from Slack to the email address that creates issues within Gitlab.

Resources