Skip to content
Snippets Groups Projects
Commit c36376e0 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-trigger' into 'dev'

Use "trigger" keyword for pipeline

See merge request !62
parents 2010c19a 1e507628
No related branches found
No related tags found
1 merge request!62Use "trigger" keyword for pipeline
Pipeline #25259 passed
...@@ -64,16 +64,21 @@ unittest: ...@@ -64,16 +64,21 @@ 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: inherit:
- /usr/bin/curl -X POST variables:
-F token=$CI_JOB_TOKEN - DEPLOY_REF
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME" variables:
-F "variables[PYLIB]=$CI_COMMIT_REF_NAME" # Renaming variables.
-F "variables[TriggerdBy]=PYLIB" F_BRANCH: $CI_COMMIT_REF_NAME
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA" PYLIB: $CI_COMMIT_REF_NAME
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline TriggeredBy: PYLIB
TriggeredByHash: $CI_COMMIT_SHORT_SHA
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