Soumettre la recherche
Mettre en ligne
GitLab Issue Handler 社内IT問い合わせ窓口のSlack Bot化
•
0 j'aime
•
1,896 vues
iRidge, Inc.
Suivre
PyCon JP 2020 アイリッジブースで公開していたスライドコンテンツです。
Lire moins
Lire la suite
Ingénierie
Signaler
Partager
Signaler
Partager
1 sur 9
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
30%のMAU増加と78%のコスト削減を両立する方法.pptx
30%のMAU増加と78%のコスト削減を両立する方法.pptx
iRidge, Inc.
システム高速化に使えるJSON関連ライブラリ
システム高速化に使えるJSON関連ライブラリ
iRidge, Inc.
JMeterクラスタをAWS上にPythonで上げるテンプレートを作ってみた
JMeterクラスタをAWS上にPythonで上げるテンプレートを作ってみた
iRidge, Inc.
負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おう
iRidge, Inc.
pytest × TDD テスト駆動開発のススメ
pytest × TDD テスト駆動開発のススメ
iRidge, Inc.
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
Recommandé
30%のMAU増加と78%のコスト削減を両立する方法.pptx
30%のMAU増加と78%のコスト削減を両立する方法.pptx
iRidge, Inc.
システム高速化に使えるJSON関連ライブラリ
システム高速化に使えるJSON関連ライブラリ
iRidge, Inc.
JMeterクラスタをAWS上にPythonで上げるテンプレートを作ってみた
JMeterクラスタをAWS上にPythonで上げるテンプレートを作ってみた
iRidge, Inc.
負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おう
iRidge, Inc.
pytest × TDD テスト駆動開発のススメ
pytest × TDD テスト駆動開発のススメ
iRidge, Inc.
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
Contenu connexe
En vedette
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
En vedette
(20)
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
ChatGPT webinar slides
ChatGPT webinar slides
GitLab Issue Handler 社内IT問い合わせ窓口のSlack Bot化
1.
GitLab Issue Handler 社内IT問い合わせ窓口のSlack
Bot化
2.
1 モチベーション • 社内IT作業の効率化 主にGitLab issueで課題管理しているが、Slackでの問合せが多く、その度にIssueを担当者が起票していた。 •
表記の揺れを統一して管理しやすく 表記ブレがあることも課題であっり、同じような問い合わせはテンプレート化したいという要望があった。 • 検討事項 • 社内IT担当はSlackにてやり取りされた依頼をGitLabに転記する必要がある • 依頼者はMarkdown形式を理解して、GitLab上で起票しなければならずハードルが若干高い • また、入力フォームがあるわけでもないため、記載の自由度が高く、表記ブレが起こりやすい 1 上課題を解決するため、AWS上にPythonでSlack Botを構築し、Slackからの社内ITへ の依頼をGitLabに自動起票するようにした。
3.
2 インターフェース • API Gateway
+ Lambda関数のシンプルな構成 Slack上で特定のスラッシュコマンドを叩くと、依頼形式選択のメニューが表示される。 依頼形式を選択すると、該当形式に対応した依頼詳細を記載するフォームが表示される 依頼作成ボタンを押下すると、GitLab SDKを利用してGitLab上に自動でissueが作成される ※ SlackAPIのinteractive系のサービス群を利用してAPIGatewayまでの設定をしている ※自社のワークスペースからのリクエストであるかはSlackでも公表されているHMAC-SHA256認証形式を利用 2 コマンド入力から宛先決定 依頼内容をプルダウンから選択 必要情報を入力して「新規作成」ボタ ン押下するとissueが作られる
4.
3 issueフォームの構成について とてもシンプルでslackとlambda、gitの3つで構成されている。 基本はslackからコマンドでリクエストを送り、lambda側 でslack側に依頼フォーム
を表示するようレスポンスを返したり、Gitにissueを作るようにリクエストを送ったり してる。 ※インフラも手作業でGUIポチポチするのではなく、CLIコマンド一発でデプロイ可能にし、インフラソースとLambda関 数ソースを別々に管理し、別々にデプロイ可能にしている 3
5.
4 ソースコード紹介 lambda関数 4 全体的にslackの機能を利用しました。ダイアログの入出力はInteractive message機能を利用しています。 ダイアログ生成
ダイアログ呼び出し
6.
5 ソースコード紹介 lambda関数 5 IncommingWebHockを利用して、GitLabIssue作成時の通知も行っています。
7.
6 ソースコード紹介 AWS cdkコマンドのdeployから構築出来るようにCI/CD化しました。デプロイ管理はgitlabciで自動化しています。ビルド〜 差分チェックまでをgitlabCIに任せdeployは手動で行っています。 6 差分が発生すると警告表示 →
8.
7 まとめ 大体、構築に1ヶ月程度かかりました。(片手間での作業のため、期間としては3〜4ヶ月) 7 本番運用はまだ行われていませんが、 プレテストでの評判は上々↑↑ コスト削減と管理コスト削減に期待出来る結果となりました。
Télécharger maintenant