Commit 9f7f34f9 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

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

parent 2922d6c7
Pipeline #6596 failed with stages
in 1 minute and 20 seconds
image: docker.io/labrobotica/labrobotica
image: docker.io/labrobotica/labrobotica:latest
stages:
- build
......@@ -8,10 +8,9 @@ stages:
build-package:
stage: build
script:
- apt update || apt -y install ca-certificates && apt update
# Uncomment to install dependencies
# - apt update
# - apt -y install iri-<package_name>-dev
- apt update
- apt -y install iri-iriutils-dev iri-comm-dev iri-trajectory-dev iri-dynamixel-dev
- apt install -y libxerces-c-dev xsdcxx
- mkdir -pv build
......@@ -30,7 +29,7 @@ update_repo:
script:
- cd build
- "scp -i /root/.ssh/iriLabKeyNopwd -r *dynamixel-motor-cont*.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 dynamixel-motor-cont"
- "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh dynamixel-motor-cont $(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