Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
21c1a2a0
Commit
21c1a2a0
authored
3 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
ansible have been removed
parent
0e0a6374
No related branches found
No related tags found
1 merge request
!52
Bring all changes from dev into master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-34
0 additions, 34 deletions
.gitlab-ci.yml
with
0 additions
and
34 deletions
.gitlab-ci.yml
+
0
−
34
View file @
21c1a2a0
...
@@ -74,40 +74,6 @@ pages:
...
@@ -74,40 +74,6 @@ pages:
-
public
-
public
only
:
only
:
-
master
-
master
deploy-webserver
:
stage
:
deploy
image
:
centos:centos7
before_script
:
# install ssh-agent
-
'
which
ssh-agent
||
(
yum
-y
install
openssh-clients
)'
# run ssh-agent
-
eval $(ssh-agent -s)
# add ssh key stored in SSH_PRIVATE_KEY variable to the agent store
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
# disable host key checking (NOTE: makes you susceptible to man-in-the-middle attacks)
# WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config
-
mkdir -p ~/.ssh
-
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script
:
-
yum install -y epel-release wget
-
yum install -y gcc
-
yum install -y https://repo.ius.io/ius-release-el7.rpm
-
yum update -y
-
yum install -y python36u python36u-libs python36u-devel python36u-pip openssl-devel libffi-devel
-
python3.6 -m pip install --upgrade pip
-
export PYTHONIOENCODING=utf8
-
export LANG=en_US.UTF-8
-
export LANGUAGE=en_US:en
-
export LC_ALL=en_US.UTF-8
-
python3.6 -m pip install ansible
-
python3.6 -m pip install virtualenv
-
cd ansible
-
whoami
-
ansible-playbook -vvv -i ./hosts_deploy deploy.yaml --extra-vars "@params-server.json"
only
:
-
master
.build
:
.build
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment