Giter Club home page Giter Club logo

serverless-microsoft-teams-gitlab-connector's Introduction

Serverless Microsoft Teams Gitlab Connector

serverless

Easy integration to notify GitLab Merge Request and Issues to Microsoft Teams.




How to use

Microsoft Teams Side

Step 1️⃣

In Microsoft Teams, choose the More options (⋯) button next to the channel name in the list of channels and then choose Connectors.


Step 2️⃣

In the list, click Add for the Incoming Webhook. enter image description here


Step 3️⃣

Enter the connector name as GitLab and upload an icon. Save and copy your connector url (channel_incoming_webhook_url).

GitLab Side

Step 1️⃣

Go to your repo settings on GitLab and click Integrations section from left bar. Copy this link: https://0xjjw6j039.execute-api.us-east-1.amazonaws.com/prod/events?url=channel_incoming_webhook_url and change channel_incoming_webhook_url part with your teams url. Then paste it to url input area on GitLab.


Step 2️⃣

Enable Issues events, Merge Request events and SSL Verification then save it.

GitLab Webhook



Deploy to your aws acount

git clone [email protected]:svtek/serverless-microsoft-teams-gitlab-connector.git
cd serverless-microsoft-teams-gitlab-connector
npm install

If you don't want to add the channel_incoming_webhook_url as params to your function endpoint url: Follow Microsoft Teams steps, copy the url and add it to you env variables. export channel_incoming_webhook_url=https://outlook.office.com/webhook/...

Deploy: serverless deploy

Then follow the GitLab steps and add https://your-function-endpoint-url/events to url input area on GitLab.

Testing Locally:

serverles offline start
./ngrok http 3000
# add `/events` path to output url and paste (https://123456.ngrok.io/events) to GitLab url input.

Features

  • Merge Request
  • Issues
  • Push
  • Comments
  • Jobs

Authors

Sahin Boydas

Founder @ Remoteteam.com
LinkedIn
Muhammet

Developer @ MojiLaLa
Github
Sadik

Developer @ MojiLaLa
Github

serverless-microsoft-teams-gitlab-connector's People

Contributors

adamdilek avatar sadikay avatar sahin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.