DEV Community

Cover image for CICD Runer vs excutor
JU DaDao
JU DaDao

Posted on

CICD Runer vs excutor

Image description
CICD可以分為兩個部分CI(Continuous Integration)以及CD(Continuous Deployment)。使用者藉由將Code push至server,同時做到Test後deploy。在server上會創建Docker container來處理Push的code。此篇文章會專注介紹CI的流程以及gitlab 基礎的CICD yaml。

Image description

Image description

Image description

Image description

將使用者push code後的流程,定義為三個腳色分別為: Gitlab, runner以及excutor

  • 當使用者push code後會觸發CICD pipeline,而cicd pipeline會去讀取gitlab yaml,得知目前pipeline中該做哪些工作。並且呼叫gitlab runner接下這些工作,runner會依工作的類型選擇不同的excutor

Top comments (0)