Commit 3a0d5c8c authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

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

parent 16e62c75
Pipeline #6024 passed with stages
in 26 seconds
image: docker.io/labrobotica/labrobotica image: docker.io/labrobotica/labrobotica:latest
stages: stages:
- build - build
...@@ -8,10 +8,9 @@ stages: ...@@ -8,10 +8,9 @@ stages:
build-package: build-package:
stage: build stage: build
script: script:
- apt update || apt -y install ca-certificates && apt update
# Uncomment to install dependencies # Uncomment to install dependencies
# - apt update
# - apt -y install iri-<package_name>-dev # - apt -y install iri-<package_name>-dev
- apt update
- apt -y install iri-iriutils-dev iri-comm-dev iri-usb-i2c-adapter-dev - apt -y install iri-iriutils-dev iri-comm-dev iri-usb-i2c-adapter-dev
- mkdir -pv build - mkdir -pv build
- cd build - cd build
...@@ -29,7 +28,7 @@ update_repo: ...@@ -29,7 +28,7 @@ update_repo:
script: script:
- cd build - cd build
- "scp -i /root/.ssh/iriLabKeyNopwd -r *lidar-lite*.deb irilabo@labrepo.iri.upc.edu:packages/" - "scp -i /root/.ssh/iriLabKeyNopwd -r *lidar-lite*.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 lidar-lite" - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh lidar-lite $(lsb_release -cs)"
only: only:
- tags - 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