Build routine execution
GHA workflow's step build is used to submit the argo workflow build-loop-xxxx (-xxxx and similar parts of workload names here and further are auto-generated), which in it's turn generate series of workflows (one for each service) based on build-chain-p-cwft clusterworkflow template. build-chain-p-cwft has DAG workflow structure and run templates from these clusterworkflow templates:
- kaniko-s3-p-cwft
- megalinter-cwft
- trivy-fs-s3-cwft
for kaniko, megalinter and trivy rescpectively. All the workflow parameters, once calculated in Github Action workflow, are translated inside argo workflows templates structures sequentially.
---
title: "Build routine invocation"
---
flowchart
n1["`Github Action Step
__build__`"]
subgraph "./argo/build-wow-wf.yaml"
n2(build-loop-xxxx)
end
subgraph "`build-service-SN-xxxx`"
n3(["`build-chain-p-cwft:
DAG:
- kaniko-s3-p-cwft
- megalinter-cwft
- trivy-fs-s3-cwft
`"])
end
subgraph "`build-service-SN-yyyy`"
n4(["`build-chain-p-cwft:
DAG:
- kaniko-s3-p-cwft
- megalinter-cwft
- trivy-fs-s3-cwft
`"])
end
subgraph "`build-service-SN-zzzz`"
n5(["`build-chain-p-cwft:
DAG:
- kaniko-s3-p-cwft
- megalinter-cwft
- trivy-fs-s3-cwft
`"])
end
n1-->n2-->n3 & n4 & n5