Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
core
tarantool
Commits
4287e464
Commit
4287e464
authored
1 year ago
by
Виталий Шунков
Committed by
Дмитрий Кольцов
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: add downstream trigger to run child pipeline
NO_DOC=internal NO_TEST=internal NO_CHANGELOG=internal
parent
265334eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-7
20 additions, 7 deletions
.gitlab-ci.yml
with
20 additions
and
7 deletions
.gitlab-ci.yml
+
20
−
7
View file @
4287e464
...
...
@@ -465,7 +465,6 @@ check-deployment-astra:
docker
:
stage
:
docker
only
:
# - web
-
tags
variables
:
DOCKER_REGISTRY_PUB
:
docker-public.binary.picodata.io
...
...
@@ -479,6 +478,7 @@ docker:
-
TAG_LONG=$(git describe --long | sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1.\2/p')
-
echo $TAG_SHORT
-
echo $TAG_LONG
-
echo "TARANTOOL_VERSION=$TAG_LONG" >> build.env
script
:
-
>
docker build docker/
...
...
@@ -487,11 +487,24 @@ docker:
-t $DOCKER_REGISTRY_PUB/tarantool:$TAG_LONG
-t $DOCKER_REGISTRY_PUB/tarantool:latest
-
docker --config $CI_PROJECT_DIR/.docker/ push -a $DOCKER_REGISTRY_PUB/tarantool
-
>
curl -X POST --fail
--form token=$TARANTOOL_MODULE_TRIGGER_TOKEN
--form ref=master
--form variables[TARANTOOL_VERSION]=$TAG_LONG
https://git.picodata.io/api/v4/projects/57/trigger/pipeline
needs
:
-
deploy-packages
artifacts
:
name
:
"
artifacts-vars-${CI_PIPELINE_ID}"
expire_in
:
20 hour
reports
:
dotenv
:
build.env
downstream
:
stage
:
docker
only
:
-
tags
variables
:
TARANTOOL_VERSION
:
$TARANTOOL_VERSION
trigger
:
project
:
picodata/picodata/tarantool-module
branch
:
master
strategy
:
depend
needs
:
-
job
:
docker
artifacts
:
true
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