카카오워크에서 봇에 대한 생성 과정은 다음으로 이루어져있습니다. 제가 원하는 것은 github에서 수행한 배포 과정에 대한 결과를 카카오워크에 채팅을 보내는 것이기에 알림형을 선택하게 되었습니다. 해당 이미지는 카카오 워크 공식문서에서 참조하였습니다.https://docs.kakaoi.ai/kakao_work/botdevguide/#%EC%95%8C%EB%A6%BC%ED%98%95관리자 사이트에서 개발자에 대한 권한을 부여합니다. 그리고나서 개발자는 봇을 생성하면 App Key가 발급이 됩니다. 잘 작동하는지 테스트하기 위해 다음 요청을 보냈고 이에 대한 응답으로 user_id가 필요하다는 에러가 반환되었습니다.curl -X POST https://api.kakaowork.com/v1/conversati..
기존의 코드는 다음과 같았다. name: CI CD pipeline on: pull_request: types: [closed] branches: [main] push: branches: - mainjobs: build: defaults: run: working-directory: ./test/ runs-on: ubuntu-latest strategy: matrix: node-version: [18.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-no..
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node# For more information see: name: express CI & CD# 어떤 이벤트가 발생했을 때. 다음 작업들을 실행할 것인지.on: push: branches: [ "main" ]jobs: # job 작업 단위 build: # ubuntu 서버 환경 runs-on: ubuntu-latest steps: # github Actions plugins. 또 다른 플러그인은 해당..
Github Actions에서 설정을 한번에 넣기를 원했다. 설정에 대한 파일은 하나로 이뤄져있고 이를 하나하나 다 주입하기에는 너무나도 귀찮았다. Github Secrets은 레포지토리 - Settings에서 Secrets을 추가한다.Secrets을 추가할 때는 다음과 같이 추가해주었다.환경변수를 주입하기 위해서 echo로 시크릿을 출력하고 이를 파일에 입력으로 넣어주었다. name: CI & CDon: push: branches: [ "main" ]jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-v..
gitops - git에서 시작하여 git으로 끝나는 접근 방식 - SSOT: 신뢰 가능한 단일 소스 - 모든 운영 환경은 git에 존재한다. AgcoCD의 특징 - 지정된 대상 환경에 애플리케이션 자동 배포 - 여러 구성 관리/템플릿 도구 지원(Kustomize, Helm, Jsonnet, plain-YAML) - 여러 클러스터를 관리하고 배포하는 기능 - SSO 통합(OIDC, OAuth2, LDAP, SAML 2.0, GitHub, GitLab, Microsoft, LinkedIn) - 승인을 위한 다중 테넌시 및 RBAC 정책 - Git 리포지토리에 커밋된 모든 애플리케이션 구성으로 롤백/롤-어디서나 - 애플리케이션 리소스의 상태 분석 - 자동화된 구성 드리프트 감지 및 시각화 - 애플리케이션을 ..
1. Argo CD Notifications 와 Triggers and Templates from the catalog 를 설치한다. 설치할 때 namespace는 argocd로 한다. - kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-notifications/release-1.0/manifests/install.yaml - kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-notifications/release-1.0/catalog/install.yaml 2. 슬랙으로 접속해 새 앱을 생성한다 - https:..