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
No related branches found
No related tags found
1 merge request!62Use "trigger" keyword for pipeline
Pipeline #24269 failed
......@@ -64,16 +64,18 @@ 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
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