Skip to content
Snippets Groups Projects
Verified Commit 81c848ec authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Using trigger keyword in .gitlab-ci.yml

parent be8ca54b
Branches
Tags
1 merge request!62Use "trigger" keyword for pipeline
Pipeline #24269 failed
...@@ -64,16 +64,18 @@ unittest: ...@@ -64,16 +64,18 @@ unittest:
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
trigger_build: trigger_build:
tags: [ docker ]
stage: deploy stage: deploy
script: variables:
- /usr/bin/curl -X POST # Renaming variables.
-F token=$CI_JOB_TOKEN F_BRANCH: $CI_COMMIT_REF_NAME
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME" PYLIB: $CI_COMMIT_REF_NAME
-F "variables[PYLIB]=$CI_COMMIT_REF_NAME" TriggeredBy: PYLIB
-F "variables[TriggerdBy]=PYLIB" TriggeredByHash: $CI_COMMIT_SHORT_SHA
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline trigger:
project: caosdb/src/caosdb-deploy
branch: $DEPLOY_REF
strategy: depend
# Build a docker image in which tests for this repository can run # Build a docker image in which tests for this repository can run
build-testenv: build-testenv:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment