Commit 6072ce37 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Revert "Continuous Integration & Deployment"

This reverts commit 81023223.
parent d72fbd9f
variables:
GIT_SSL_NO_VERIFY: "true"
stages:
- build
- deploy
build:
stage: build
image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio-tutorials/build
script: cmake . && make
artifacts:
paths:
- html
expire_in: 1 week
deploy:
stage: deploy
image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio-tutorials/deploy
before_script:
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts
script: "scp -r html/* gitlab@iwaki.laas.fr:/var/www/html/"
environment:
name: iwaki
url: http://iwaki.laas.fr
FROM ubuntu:16.04
RUN apt-get update -qqy && apt-get install -qqy \
asciidoc \
cmake \
g++ \
source-highlight \
&& rm -rf /var/lib/apt/lists/*
FROM ubuntu:16.04
RUN apt-get update -qqy && apt-get install -qqy \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
#!/bin/bash
NAME=eur0c.laas.fr:4567/stack-of-tasks/pinocchio-tutorials
for stage in build deploy
do (
docker build -t $NAME/$stage -f Dockerfile.$stage .
docker push $NAME/$stage
) &
done
wait
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