Skip to content
Snippets Groups Projects
Commit 6c9c4cee 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 !75
parents ec53a27e d50028a6
No related branches found
No related tags found
2 merge requests!77REL: prepare release 0.8.0,!75Use "trigger" keyword for pipeline.
Pipeline #25264 passed
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
# #
# Copyright (C) 2018 Research Group Biomedical Physics, # Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen # Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2020-2022 IndiScale GmbH (info@indiscale.com)
# Copyright (C) 2019 Henrik tom Wörden # Copyright (C) 2019 Henrik tom Wörden
# Copyright (C) 2020 Timm Fitschen (t.fitschen@indiscale.com) # Copyright (C) 2020 Timm Fitschen (t.fitschen@indiscale.com)
# Copyright (C) 2020 IndiScale GmbH (info@indiscale.com) # Copyright (C) 2020-2022 Daniel Hornung <d.hornung@indiscale.com>
# Copyright (C) 2020 Daniel Hornung <d.hornung@indiscale.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
...@@ -66,18 +66,23 @@ test-server-side-scripting: ...@@ -66,18 +66,23 @@ test-server-side-scripting:
- make test-sss - make test-sss
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
trigger_build: trigger_inttest:
timeout: 15 minutes
tags: [ docker ]
stage: deploy stage: deploy
script: inherit:
- /usr/bin/curl -X POST variables:
-F token=$CI_JOB_TOKEN # List the variables that shall be inherited, which also means they will override any equally
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME" # named varibles in child pipelines.
-F "variables[WEBUI]=$CI_COMMIT_REF_NAME" - DEPLOY_REF
-F "variables[TriggerdBy]=WEBUI" variables:
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA" # Renaming variables.
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline F_BRANCH: $CI_COMMIT_REF_NAME
WEBUI: $CI_COMMIT_REF_NAME
TriggeredBy: WEBUI
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