Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
d50028a6
Commit
d50028a6
authored
2 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Switching CI pipeline triggering to the "trigger" keyword.
parent
ec53a27e
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!77
REL: prepare release 0.8.0
,
!75
Use "trigger" keyword for pipeline.
Pipeline
#24377
passed
2 years ago
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-13
18 additions, 13 deletions
.gitlab-ci.yml
with
18 additions
and
13 deletions
.gitlab-ci.yml
+
18
−
13
View file @
d50028a6
...
...
@@ -3,10 +3,10 @@
#
# Copyright (C) 2018 Research Group Biomedical Physics,
# 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) 2020 Timm Fitschen (t.fitschen@indiscale.com)
# Copyright (C) 2020 IndiScale GmbH (info@indiscale.com)
# Copyright (C) 2020 Daniel Hornung <d.hornung@indiscale.com>
# Copyright (C) 2020-2022 Daniel Hornung <d.hornung@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
...
...
@@ -66,18 +66,23 @@ test-server-side-scripting:
-
make test-sss
# Trigger building of server image and integration tests
trigger_build
:
timeout
:
15 minutes
tags
:
[
docker
]
trigger_inttest
:
stage
:
deploy
script
:
-
/usr/bin/curl -X POST
-F token=$CI_JOB_TOKEN
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME"
-F "variables[WEBUI]=$CI_COMMIT_REF_NAME"
-F "variables[TriggerdBy]=WEBUI"
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
inherit
:
variables
:
# List the variables that shall be inherited, which also means they will override any equally
# named varibles in child pipelines.
-
DEPLOY_REF
variables
:
# Renaming variables.
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-testenv
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment