diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c26013576a2d6437c3b81d54fdb5a0fb1518e6d3..2ee34b7e508404db694b7b1bf15e9ca12dcee32d 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 324764751f733af1952361fb2ad4cead519e863a..d22c367707a0c21b4938fcc2cb8fd58f835d1d17 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: