stages:
  - build
  - test
  - deploy

default:
  tags: ["pipelines-dependent-relationship-9115fb9e07940a85"]

job1:
  stage: build
  script: echo "build success" > output.txt
  artifacts:
    paths:
      - output.txt

job2:
  stage: test
  trigger:
    include: ".child-ci.yml"
    strategy: depend

job3:
  stage: deploy
  script: echo "parent deploy done"