shell executorとは?
shell executorは、jobのコマンドをコンテナ化せずに、runnerホスト上のシェルで直接実行するrunnerモードです。jobはホストにインストールされたツールと永続的な状態を引き継ぎます。最もシンプルなexecutorですが、job間の分離は最も弱くなります。
なぜ重要か
shell executorはコンテナのオーバーヘッドがないためセットアップが簡単で高速ですが、jobがホストの状態を共有するため、互いに干渉したりデータを漏らしたりする可能性があります。信頼できる単一目的のrunnerに適しており、共有または信頼できないワークロードにはリスクがあります。マルチテナントの利用には、エフェメラルまたはコンテナ化されたexecutorの方が安全です。
関連ガイド
What Is an SSH Executor?An SSH executor runs CI job commands on a remote machine by connecting over SSH, using that host's environmen…
What Is a Custom Executor?A custom executor is a runner mode that delegates job environment setup and teardown to user-provided scripts…
What Is a Kubernetes Executor?A Kubernetes executor runs each CI job as a pod in a cluster, using Kubernetes to schedule, isolate, and clea…