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

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

parent 472534a7
No related branches found
No related tags found
No related merge requests found
Pipeline #6016 passed
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 - apt -y install iri-iriutils-dev iri-comm-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 *asterx1-gps*.deb irilabo@labrepo.iri.upc.edu:packages/" - "scp -i /root/.ssh/iriLabKeyNopwd -r *asterx1-gps*.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 asterx1-gps" - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh asterx1-gps $(lsb_release -cs)"
only: only:
- tags - tags
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