Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio-tutorials
Commits
6072ce37
Commit
6072ce37
authored
Apr 11, 2018
by
Guilhem Saurel
Browse files
Revert "Continuous Integration & Deployment"
This reverts commit
81023223
.
parent
d72fbd9f
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
deleted
100644 → 0
View file @
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
cicd/Dockerfile.build
deleted
100644 → 0
View file @
d72fbd9f
FROM ubuntu:16.04
RUN apt-get update -qqy && apt-get install -qqy \
asciidoc \
cmake \
g++ \
source-highlight \
&& rm -rf /var/lib/apt/lists/*
cicd/Dockerfile.deploy
deleted
100644 → 0
View file @
d72fbd9f
FROM ubuntu:16.04
RUN apt-get update -qqy && apt-get install -qqy \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
cicd/update.sh
deleted
100755 → 0
View file @
d72fbd9f
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment