-
- Downloads
feat(terraform): run jobs for child pipelines
What --- Add a new rule to also run the jobs when they are a [child pipeline](https://docs.gitlab.com/ee/ci/pipelines/downstream_pipelines.html#parent-child-pipelines) Why --- In <https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/25513#note_1957421745> we are trying to run the `terraform.yml` inside of a child pipeline, and have [merge request pipelines](https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html) enabled. The jobs don't end up running because we don't define the [pipeline source](https://docs.gitlab.com/ee/ci/pipelines/downstream_pipelines.html#run-child-pipelines-with-merge-request-pipelines) and it never executes. We might have to do the same for [iac-sast](https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/blob/d2b9dbfd72c4915c1a4d60b3ac327a2b5805365f/templates/terraform.yml#L39-41) but we should test it here first. Reference: https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/25513 Signed-off-by:Steve Xuereb <sxuereb@gitlab.com>
Please register or sign in to comment