From df839061cdf82837174c7cd1a5fe6b4a8b48e408 Mon Sep 17 00:00:00 2001 From: fherrero <fherrero@iri.upc.edu> Date: Tue, 14 Apr 2020 10:17:42 +0200 Subject: [PATCH] Update package server address name, in README and ci --- .gitlab-ci.yml | 68 +++++++++++++++++++++++++------------------------- README.md | 4 +-- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c260135..2ee34b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,37 +1,37 @@ - image: docker.io/labrobotica/labrobotica +image: docker.io/labrobotica/labrobotica - variables: - GIT_SUBMODULE_STRATEGY: recursive +variables: + GIT_SUBMODULE_STRATEGY: recursive - stages: - - build - - test - - deploy +stages: + - build + - test + - deploy - build-package: - stage: build - script: - - apt update - - apt -y install iri-iriutils-dev iri-comm-dev - - mkdir -pv build - - cd build - - cmake -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG .. - - ls .. - - make package -j $(nproc) - - artifacts: - paths: - - build/*.deb - expire_in: 2 weeks - only: - - tags - - update_repo: - stage: deploy - script: - - cd build - - "scp -i /root/.ssh/iriLabKeyNopwd -r *segway-rmp-200*.deb irilabo@147.83.76.226:packages/" - - "ssh irilabo@147.83.76.226 -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh segway-rmp-200" - only: - - tags - +build-package: + stage: build + script: + - apt update + - apt -y install iri-iriutils-dev iri-comm-dev + - mkdir -pv build + - cd build + - cmake -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG .. + - ls .. + - make package -j $(nproc) + + artifacts: + paths: + - build/*.deb + expire_in: 2 weeks + only: + - tags + +update_repo: + stage: deploy + script: + - cd build + - "scp -i /root/.ssh/iriLabKeyNopwd -r *segway-rmp-200*.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-200" + only: + - tags + diff --git a/README.md b/README.md index 3247647..d22c367 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ This driver is in charge to operate motion of a SegwayRMP200 and as well as moni * Add the labrobotica repository if it is not already added: -``` sudo sh -c 'echo "deb [arch=amd64] http://147.83.76.226/~irilabo/packages xenial main" > /etc/apt/sources.list.d/labrobotica_repo.list' ``` +``` sudo sh -c 'echo "deb [arch=amd64] http://labrepo.iri.upc.edu/packages xenial main" > /etc/apt/sources.list.d/labrobotica_repo.list' ``` -``` wget -O - http://147.83.76.226/~irilabo/labrobotica_repo.gpg.key | sudo apt-key add - ``` +``` wget -O - http://labrepo.iri.upc.edu/labrobotica_repo.gpg.key | sudo apt-key add - ``` * Install the package: -- GitLab