Job Dependency - CI/CD用語集の定義
job dependency は、ある job が開始する前に別の job の完了を待つという宣言された要件で、GitHub Actions では needs: で表現されます。
job dependency は、ある job が開始する前に別の job の完了を待つという宣言された要件で、GitHub Actions では needs: で表現されます。
job dependency は、フラットな job のリストを順序付けられたグラフに変え、たとえば deploy が build と test の成功後にのみ実行されるようにします。
例
.github/workflows/ci.yml
jobs:
build: { runs-on: ubuntu-latest, steps: [ ... ] }
deploy:
needs: build
runs-on: ubuntu-latest
steps: [ ... ]関連ガイド
Directed Acyclic Graph - CI/CD Glossary DefinitionDirected Acyclic Graph: A directed acyclic graph (DAG) is a set of nodes connected by one-way edges with no c…
Workflow Orchestration - CI/CD Glossary DefinitionWorkflow Orchestration: Workflow orchestration is the coordination of multiple jobs and their ordering, condi…
Fan-Out Fan-In - CI/CD Glossary DefinitionFan-Out Fan-In: Fan-out fan-in is a pipeline pattern where one job splits work across many parallel jobs (fan…