Commit 22cf5444 authored by Mitar's avatar Mitar

Adding triggers.

parent b180ccc1
......@@ -43,3 +43,32 @@ validate_devel:
- python3 ./run_validation.py --devel
allow_failure: true
trigger_images_rebuild:
stage: deploy
tags:
- docker
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-bionic-python36
script:
# This triggers a pipeline in https://gitlab.com/datadrivendiscovery/images
- if [ -n "$TRIGGER_TOKEN" ]; then curl --fail -X POST -F token=$TRIGGER_TOKEN -F ref=master https://gitlab.com/api/v4/projects/5024100/trigger/pipeline; fi
only:
- master
trigger_index_rebuild:
stage: deploy
tags:
- docker
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-bionic-python36
script:
- if [ -n "$INDEX_PRIMITIVES_TOKEN" ]; then curl --fail -X POST -F token=$INDEX_PRIMITIVES_TOKEN -F ref=primitives https://gitlab.datadrivendiscovery.org/api/v4/projects/528/trigger/pipeline; fi
only:
- master
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment