Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deployer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
deployer
Commits
188f087b
Commit
188f087b
authored
Oct 05, 2023
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move the current build to /htdocs/ to match my preferred apache configuration
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
5a8b0357
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
utils/bzr.sh
utils/bzr.sh
+1
-1
utils/deploy.sh
utils/deploy.sh
+1
-1
utils/git.sh
utils/git.sh
+1
-1
No files found.
utils/bzr.sh
View file @
188f087b
...
@@ -25,7 +25,7 @@ bzr_needs_update() {
...
@@ -25,7 +25,7 @@ bzr_needs_update() {
name
=
"
$1
"
name
=
"
$1
"
repo
=
"
${
DIR_BASE
}
/
${
name
}
/repo"
repo
=
"
${
DIR_BASE
}
/
${
name
}
/repo"
current
=
"
${
DIR_BASE
}
/
${
name
}
/
current
/.revision"
current
=
"
${
DIR_BASE
}
/
${
name
}
/
htdocs
/.revision"
if
[[
!
-f
"
${
current
}
"
]]
;
then
if
[[
!
-f
"
${
current
}
"
]]
;
then
return
0
return
0
...
...
utils/deploy.sh
View file @
188f087b
...
@@ -25,7 +25,7 @@ deploy_switch() {
...
@@ -25,7 +25,7 @@ deploy_switch() {
build
=
"
$2
"
build
=
"
$2
"
base
=
"
${
DIR_BASE
}
/
${
name
}
"
base
=
"
${
DIR_BASE
}
/
${
name
}
"
current
=
"
${
base
}
/
current
"
current
=
"
${
base
}
/
htdocs
"
# Switch the current/ symlink to the new build
# Switch the current/ symlink to the new build
ln
-sfT
"
${
build
}
"
"
${
current
}
"
ln
-sfT
"
${
build
}
"
"
${
current
}
"
...
...
utils/git.sh
View file @
188f087b
...
@@ -27,7 +27,7 @@ git_needs_update() {
...
@@ -27,7 +27,7 @@ git_needs_update() {
name
=
"
$1
"
name
=
"
$1
"
repo
=
"
${
DIR_BASE
}
/
${
name
}
/repo"
repo
=
"
${
DIR_BASE
}
/
${
name
}
/repo"
current
=
"
${
DIR_BASE
}
/
${
name
}
/
current
/.commit"
current
=
"
${
DIR_BASE
}
/
${
name
}
/
htdocs
/.commit"
if
[[
!
-f
"
${
current
}
"
]]
;
then
if
[[
!
-f
"
${
current
}
"
]]
;
then
return
0
return
0
...
...
Write
Preview
Markdown
is supported
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