Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SIDER
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Constantin Jucovschi
SIDER
Commits
c778518b
Commit
c778518b
authored
11 years ago
by
Constantin Jucovschi
Browse files
Options
Downloads
Patches
Plain Diff
deploy scripts
parent
0bf67fe1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
deploy/after_push
+17
-0
17 additions, 0 deletions
deploy/after_push
deploy/before_restart
+5
-0
5 additions, 0 deletions
deploy/before_restart
deploy/restart
+3
-0
3 additions, 0 deletions
deploy/restart
with
25 additions
and
0 deletions
deploy/after_push
0 → 100755
+
17
−
0
View file @
c778518b
#!/usr/bin/env bash
set
-e
oldrev
=
$1
newrev
=
$2
run
()
{
[
-x
$1
]
&&
$1
$oldrev
$newrev
}
echo
files changed:
$(
git diff
$oldrev
$newrev
--diff-filter
=
ACDMR
--name-only
|
wc
-l
)
umask
002
git submodule
sync
&&
git submodule update
--init
--recursive
run deploy/before_restart
run deploy/restart
&&
run deploy/after_restart
This diff is collapsed.
Click to expand it.
deploy/before_restart
0 → 100755
+
5
−
0
View file @
c778518b
#!/usr/bin/bash
cd
mmt-service-wrapper
;
mvn clean
install
cd
defindexer
;
mvn clean
install
This diff is collapsed.
Click to expand it.
deploy/restart
0 → 100755
+
3
−
0
View file @
c778518b
#!/bin/sh
pkill
-9
-f
defindexer
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