I’m trying to implement a new pipeline. After exploring the documentation for gilabci i settle on the concept of parent/child pipelines with templates to improve maintainability.
The pipelines execute flawlessly, but when i create a merge request the pipeline status is always pending with the message " Checking pipeline status.".
I assumed that by having the strategy: depend on trigger the status from children pipelines would be propagated to the parent ones. Thus allowing me to see one consolidated result in the merge request page.
Gitlab Version 13.8.1 Self-Managed
stages: - triggers webcare: stage: triggers variables: SCHEMA: webcare trigger: include: pipeline/zone.gitlab-ci.yml strategy: depend only: changes: - schemas/webcare/*
stages: - triggers dev1: stage: triggers variables: ZONE: dev1 SCHEMA: $SCHEMA trigger: include: pipeline/flyway.gitlab-ci.yml strategy: depend rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop" when: never - when: on_success
stages: - info - validate - migrate before_script: - echo "Versions:" - docker-compose --version - docker --version variables: SCHEMA: $SCHEMA ZONE: $ZONE info: stage: info script: - ./tools/flyway -s $SCHEMA -z $ZONE info validate: stage: validate needs: - info script: - ./tools/flyway -s $SCHEMA -z $ZONE validate migrate: stage: migrate needs: - validate script: - echo $SCHEMA $ZONE "migrate"
Would anyone be able to point me in correct direction?