Commit 78d600ac authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update .gitlab-ci.yml

parent c5519456
Pipeline #4111 passed with stages
in 1 minute and 9 seconds
image: docker.io/alopeziri/labrobotica
#variables:
#GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt update
- apt -y install git #add to docker image?
- apt -y install sudo #needed for sudo commands in privileges.sh script
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan -p 2202 gitlab.iri.upc.edu >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- ssh -p 2202 git@gitlab.iri.upc.edu #test
- git submodule sync --recursive
- git submodule update --init --recursive
image: docker.io/labrobotica/labrobotica
stages:
- build
......@@ -26,6 +8,8 @@
build-package:
stage: build
script:
- git submodule sync --recursive
- git submodule update --init --recursive
- apt update
- apt -y install iri-iriutils-dev iri-comm-dev iri-dynamixel-dev
- apt -y install gcc-avr avr-libc #firmware dependencies
......
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