Commit 39abc776 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

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

parent 124efaad
Pipeline #6583 failed with stages
in 1 minute and 7 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 iri-<package_name>-dev # - apt -y iri-<package_name>-dev
- apt update
- apt -y install iri-iriutils-dev - apt -y install iri-iriutils-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 *comm*.deb irilabo@labrepo.iri.upc.edu:packages/" - "scp -i /root/.ssh/iriLabKeyNopwd -r *comm*.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 comm" - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh comm $(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