Skip to content
Snippets Groups Projects
Commit 55eb9f37 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Update .gitlab-ci.yml file

parent 074b8825
No related branches found
No related tags found
No related merge requests found
Pipeline #13127 failed
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
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