SuMineLee / OES_L2DSR

0 stars 0 forks source link

Follw the Learning Path 04 #53

Closed SuMineLee closed 2 years ago

SuMineLee commented 2 years ago

CD : Deply to Azure and Protection rules(Public)

CD Workflow 실행 트리거 옵션 2개 ; ChatOps / Label

  on:
        pull-request : 
                types ; [labeled]

if : contains(${{github.event.pull_request.lavels.*.name}},'stage')

SuMineLee commented 2 years ago

DEPLOY : Marketplace / Azure actions ex) azure/login (cred: ${{secrets.Azure_CREDENTIALS}}) --> azure/docker-login(username/password) --> azure/webapps-container-deploy(app-name, images,)

CREATE / DELETE : New Workflow // Azure CLI set-up-azure-resources / destroy-azure-resources

SuMineLee commented 2 years ago
  1. GitHub Artifact&Log : 기본 90일 / 각 단계 별 / 각 workflow 별( in workflow 파일) 커스텀 가능 수동 삭제|REST API // 기간 변경
  2. STATUS BADGE 추가 : URL/ bracnth, event 매개변수 설정
  3. Protection RULES : 1) REquired REviewers 2) SECRETS
SuMineLee commented 2 years ago

CD by AZURE

https://app.zenhub.com/files/490497794/6a7c2e55-d28f-4ce9-b980-1312606aaf12/download