Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-project
Commits
04fcd5ee
Commit
04fcd5ee
authored
5 years ago
by
Jenkins
Browse files
Options
Downloads
Plain Diff
submodules: update nightly branch
parents
a5b17b83
d11f37fc
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
client-macosx
+1
-1
1 addition, 1 deletion
client-macosx
daemon
+1
-1
1 addition, 1 deletion
daemon
scripts/deploy-packages.sh
+18
-7
18 additions, 7 deletions
scripts/deploy-packages.sh
with
20 additions
and
9 deletions
client-macosx
@
26ba2308
Subproject commit
3e487995fb61eba7f7b88fb6fe294d7c26e4a15b
Subproject commit
26ba23081401627ec1cb26f53b26109e9b0c6f7e
This diff is collapsed.
Click to expand it.
daemon
@
622ae14d
Subproject commit
2e1fa4ff49f592321ca92b080ec2d81190633d44
Subproject commit
622ae14dd11c036b43e10d7c48cff4f36223440a
This diff is collapsed.
Click to expand it.
scripts/deploy-packages.sh
+
18
−
7
View file @
04fcd5ee
...
@@ -41,7 +41,6 @@ function package_deb()
...
@@ -41,7 +41,6 @@ function package_deb()
echo
"#########################"
echo
"#########################"
DISTRIBUTION_REPOSITOIRY_FOLDER
=
$(
realpath
repositories
)
/
${
DISTRIBUTION
}
DISTRIBUTION_REPOSITOIRY_FOLDER
=
$(
realpath
repositories
)
/
${
DISTRIBUTION
}
rm
-rf
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
mkdir
-p
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
/conf
mkdir
-p
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
/conf
# Distributions file
# Distributions file
...
@@ -123,7 +122,6 @@ function package_rpm()
...
@@ -123,7 +122,6 @@ function package_rpm()
echo
"#########################"
echo
"#########################"
DISTRIBUTION_REPOSITOIRY_FOLDER
=
$(
realpath
repositories
)
/
${
DISTRIBUTION
}
DISTRIBUTION_REPOSITOIRY_FOLDER
=
$(
realpath
repositories
)
/
${
DISTRIBUTION
}
rm
-rf
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
mkdir
-p
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
mkdir
-p
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
# .repo file
# .repo file
...
@@ -208,9 +206,6 @@ function deploy()
...
@@ -208,9 +206,6 @@ function deploy()
echo
"#####################################"
echo
"#####################################"
rsync
--archive
--recursive
--verbose
--delete
${
DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER
}
${
REMOTE_MANUAL_DOWNLOAD_LOCATION
}
rsync
--archive
--recursive
--verbose
--delete
${
DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER
}
${
REMOTE_MANUAL_DOWNLOAD_LOCATION
}
# remove deployed files
rm
-rf
manual-download
rm
-rf
repositories
}
}
...
@@ -231,6 +226,13 @@ function package()
...
@@ -231,6 +226,13 @@ function package()
fi
fi
}
}
function
remove-deployed-files
()
{
# remove deployed files
rm
-rf
manual-download
rm
-rf
repositories
rm
-rf
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
}
for
i
in
"
$@
"
for
i
in
"
$@
"
do
do
...
@@ -262,5 +264,14 @@ case $i in
...
@@ -262,5 +264,14 @@ case $i in
esac
esac
done
done
if
[
-z
"
${
KEYID
}
"
]
;
then
DISTRIBUTION_REPOSITOIRY_FOLDER
=
$(
realpath
repositories
)
/
${
DISTRIBUTION
}
DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER
=
$(
realpath
manual-download
)
/
${
DISTRIBUTION
}
deploy
remove-deployed-files
else
package
package
deploy
deploy
fi
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