This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.3.5.9. 파이프라인 실행 트리거
Git 리포지토리에서 push
이벤트가 발생할 때마다 구성된 Webhook에서 공개 노출된 EventListener
서비스 경로로 이벤트 페이로드를 보냅니다. 애플리케이션의 EventListener
서비스는 페이로드를 처리하여 관련 TriggerBinding
및 TriggerTemplate
쌍으로 전달합니다. TriggerBinding
리소스는 매개변수를 추출하고 TriggerTemplate
리소스는 이러한 매개변수를 사용하여 리소스 생성 방식을 지정합니다. 그리고 애플리케이션을 다시 빌드 및 배포할 수도 있습니다.
이 섹션에서는 비어 있는 커밋을 프런트 엔드 pipelines-vote-ui
리포지토리로 내보냅니다. 그러면 파이프라인 실행이 트리거됩니다.
프로세스
터미널에서 분기된 Git 리포지토리
pipelines-vote-ui
를 복제합니다.git clone git@github.com:<your GitHub ID>/pipelines-vote-ui.git -b pipelines-1.4
$ git clone git@github.com:<your GitHub ID>/pipelines-vote-ui.git -b pipelines-1.4
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 비어 있는 커밋을 푸시합니다.
git commit -m "empty-commit" --allow-empty && git push origin pipelines-1.4
$ git commit -m "empty-commit" --allow-empty && git push origin pipelines-1.4
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 파이프라인 실행이 트리거되었는지 확인합니다.
tkn pipelinerun list
$ tkn pipelinerun list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 새로운 파이프라인 실행이 시작되었습니다.