Commit 97b7ec6e authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Updated .gitlab-ci.yml to multiples Ubuntu distributions' packages generation

parent 33e889ee
Pipeline #6029 passed with stages
in 28 seconds
image: docker.io/labrobotica/labrobotica
image: docker.io/labrobotica/labrobotica:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
......@@ -11,7 +11,7 @@ stages:
build-package:
stage: build
script:
- apt update
- apt update || apt -y install ca-certificates && apt update
- apt -y install iri-iriutils-dev iri-comm-dev iri-segway-rmp-200-dev
- mkdir -pv build
- cd build
......@@ -31,6 +31,6 @@ update_repo:
script:
- cd build
- "scp -i /root/.ssh/iriLabKeyNopwd -r *segway-rmp-400*.deb irilabo@labrepo.iri.upc.edu:packages/"
- "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh segway-rmp-400"
- "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh segway-rmp-400 $(lsb_release -cs)"
only:
- tags
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment