diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..323efb990703d3cd2a20750607da83844c88f8e8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +image: gitlab.liu.se:5000/lrs/lrs_docker_images/ci-noetic:latest + + +stages: + - build + - trigger + +build: + stage: build + script: + - pwd + - source /opt/ros/noetic/setup.bash + - export GIT_SSH_COMMAND='ssh -i /root/.ssh/lrs_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=no' + - mkdir /root/.ssh + - printf "%b" "$K8S_SECRET_LRS_DEPLOY_KEY" > /root/.ssh/lrs_deploy + - chmod og-rw /root/.ssh/lrs_deploy + - cat /root/.ssh/lrs_deploy + - ls -l /root/.ssh/ + - mkdir ws + - cd ws + - mkdir src + - cd src + - git clone git@gitlab.liu.se:lrs/lrs_msgs.git + - cd .. + - catkin build