Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test_ci
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Alejandro Lopez Gestoso
test_ci
Commits
55eb9f37
Commit
55eb9f37
authored
2 years ago
by
Alejandro Lopez Gestoso
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
074b8825
No related branches found
No related tags found
No related merge requests found
Pipeline
#13127
failed
2 years ago
Stage: rdepends
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-41
21 additions, 41 deletions
.gitlab-ci.yml
with
21 additions
and
41 deletions
.gitlab-ci.yml
+
21
−
41
View file @
55eb9f37
image
:
docker.io/labrobotica/labrobotica:latest
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
FROM_RDEPENDS_CI
:
"
false"
TAG_VERSION
:
$CI_COMMIT_TAG
stages
:
-
build
-
update_package
-
update_reverse_dependencies
-
rdepends
####### template definitions #######
variables
:
ALGO
:
"
TRUE"
.build_package
:
&build_package
mal
:
stage
:
rdepends
script
:
-
echo "build package with tag $TAG_VERSION"
-
exit
1
.update_repo
:
&update_repo
bien
:
stage
:
rdepends
script
:
-
echo "update repo"
#############################
build_package_tag
:
stage
:
build
<<
:
*build_package
-
exit
0
update_repo_tag
:
stage
:
update_package
<<
:
*update_repo
generate_new_tag
:
stage
:
update_reverse_dependencies
when_bien
:
stage
:
rdepends
when
:
always
needs
:
[
bien
]
script
:
-
TAG_VERSION = "9.9.9"
-
echo "Modified to $TAG_VERSION"
-
echo "GOOD"
build_package_rdep
:
stage
:
update_reverse_dependencies
needs
:
[
generate_new_tag
]
<<
:
*build_package
update_repo_rdep
:
stage
:
update_reverse_dependencies
needs
:
[
build_package_rdep
]
<<
:
*update_repo
when_mal
:
stage
:
rdepends
when
:
always
needs
:
[
mal
]
script
:
-
echo "GOOD"
\ No newline at end of file
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