Support trigger:include:component

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

trigger:include is used to start a child pipeline. It can be used with include:local, include:project, include:template, and include:artifact.

Some components may trigger a child pipeline and they can't use include:local because of how trigger:include works. So, they must use include:project, for example; https://gitlab.com/components/opentofu/-/blob/0.48.0/templates/validate-plan.yml#L242-243. However, include:project is not suitable for components because we want to support self-hosted instances.

Proposal

a_component_job:
  trigger:
    include:
      - component: $CI_SERVER_FQDN/components/opentofu/validate-plan@1.2.3
        inputs:
          stage_validate: abc
Edited by 🤖 GitLab Bot 🤖