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:
# Trigger building of server image and integration tests
trigger_build:
tags: [ docker ]
stage: deploy
script:
- /usr/bin/curl -X POST
-F token=$CI_JOB_TOKEN
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME"
-F "variables[PYLIB]=$CI_COMMIT_REF_NAME"
-F "variables[TriggerdBy]=PYLIB"
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
inherit:
variables:
- DEPLOY_REF
variables:
# Renaming variables.
F_BRANCH: $CI_COMMIT_REF_NAME
PYLIB: $CI_COMMIT_REF_NAME
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-testenv:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment