Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HIFIS
Overall
hifis.net
Commits
3b6e405e
Verified
Commit
3b6e405e
authored
4 years ago
by
Huste, Tobias
Browse files
Options
Downloads
Patches
Plain Diff
Temporarily remove the deployment to production
parent
73ef4d66
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-35
0 additions, 35 deletions
.gitlab-ci.yml
with
0 additions
and
35 deletions
.gitlab-ci.yml
+
0
−
35
View file @
3b6e405e
...
@@ -207,38 +207,3 @@ stop_review:
...
@@ -207,38 +207,3 @@ stop_review:
action
:
stop
action
:
stop
tags
:
tags
:
-
review-apps
-
review-apps
production
:
stage
:
deploy
image
:
debian:stable
dependencies
:
-
build:production
variables
:
GIT_STRATEGY
:
none
before_script
:
-
apt-get -qy update && apt-get -qy install rsync
# Install ssh-agent if not already installed, it is required by Docker.
# (change apt-get to yum if you use a CentOS-based image)
-
'
which
ssh-agent
||
(
apt-get
-y
install
openssh-client
)'
# Run ssh-agent (inside the build environment)
-
eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
# In order to properly check the server's host key, assuming you created the
# SSH_SERVER_HOSTKEYS variable previously, uncomment the following two lines
# instead.
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
"$SSH_SERVER_HOSTKEYS"
>
~/.ssh/known_hosts'
script
:
-
|
for server in $PRODUCTION_SERVERS
do
rsync --delete -a --chown gitlabci:www-data public/. $server:/var/www/html/software.hifis.net/.
done
tags
:
-
internal
extends
:
-
.only_extension
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