Here is a piece of .gitlab.yml in of project A which triggers project B pipeline (terraform which deploys dockers built by project A):
stages:
- compile
- dockerize
- test
- deploy
compile_ts_to_js:
stage: compile
image: node:8-alpine
artifacts:
paths:
- build
before_script:
- apk add --update build-base python
script:
- yarn
- ./node_modules/.bin/tsc
run_test:
stage: test
image: docker:18-git
variables:
DOCKER_DRIVER: overlay2
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
services:
- docker:18-dind
before_script:
- apk add --update bash py-pip python-dev libffi-dev openssl-dev gcc libc-dev make
- pip install docker-compose
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- ./bin/test/run.sh
except:
- master
deploy_dev_en:
stage: deploy
variables:
TENANT: en
ENV: dev
trigger:
project: shoutout/terraform-infra
branch: master
strategy: depend
only:
- dev
If triggered pipeline fails, there is no option to restart it, see attached image:
Is that unimplemented feature (restarting downstream pipeline) or my config missing anything to enable this feature?
Thanks