Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

배포가 완료되면 성공/실패 여부를 슬랙으로 전송하기 #5

Closed
hyeseung-of-dable opened this issue Feb 21, 2022 · 3 comments · Fixed by #32
Closed
Assignees

Comments

@hyeseung-of-dable
Copy link
Contributor

hyeseung-of-dable commented Feb 21, 2022

v1.0.3에서 추가 예정

@hyeseung-of-dable hyeseung-of-dable self-assigned this Feb 21, 2022
@hyeseung-of-dable
Copy link
Contributor Author

hyeseung-of-dable commented Mar 7, 2022

슬랙으로 전송하는 방법

  1. slackboy를 사용
  • runner에 라이브러리 설치하기 위한 설정들이 필요함 (.slackboy.cfg 에 token 추가 )
    -> cfg 설정 파일 없이도 파라미터로 전달 가능하도록 기능 추가해주심 ( 참고 )

  • slackboy 파이썬 스크립트가 있어야 cli로 보낼 수 있음 ( vv-deploy-actions 에 스크립튿를 복사해두면, 코드가 이원화되어 관리가 어려움. )
    대안
    i. self-hosted runner 리서치 #20
    ii. python script에서 slackboy를 import해서 사용 (python wrapper)
    -> private pypi 설정파일이 필요함. 혹은 파라미터로 전달 ( vv-edge-info 라이브러리를 설치하기위한 private pypi를 못찾음 #26 )

  1. slack으로 전송해주는 actions를 활용
  • slackboy의 web-hook url을 넣어줘도 됨

@dongwook-of-dable
Copy link

1번

  • token은 파라미터로도 전달 가능해야! 할 것 같습니다,
  • runner 에 라이브러리 설치는 판단되지 않는데, 전체 구성을 생각하면 self hosted action 같은 것도 살펴봐야하나 싶네요

@yunseung-dable
Copy link
Contributor

yunseung-dable commented Mar 8, 2022

  1. token만으로 보낼수있도록 반영
  2. 설치순서 보강

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants