Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prod_build_cellframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
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
cellframe
prod_build_cellframe-node
Compare revisions
85c90bee9afbde616c12b5cbf59a5007e2cb0e42 to 5f35511bafbbd59bc8e746e73704ff2452ca9135
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
cellframe/prod_build_cellframe-node
Select target project
No results found
5f35511bafbbd59bc8e746e73704ff2452ca9135
Select Git revision
Swap
Target
cellframe/prod_build_cellframe-node
Select target project
dapcash/prod_build_dapcash-node
1 result
85c90bee9afbde616c12b5cbf59a5007e2cb0e42
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Looking through the repo issues
· 5f35511b
alexandr.kravchenko
authored
4 years ago
5f35511b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linux/debian/scripts/deploy.sh
+1
-2
1 addition, 2 deletions
linux/debian/scripts/deploy.sh
with
1 addition
and
2 deletions
linux/debian/scripts/deploy.sh
View file @
5f35511b
...
...
@@ -19,11 +19,11 @@ MOD=$(echo $MOD | sed 's/-\?static-\?//') && [ ! $MOD = "" ] && MOD="-$MOD"
#echo "We have $DISTR_CODENAME there"
#echo "On path $REPO_DIR_SRC we have debian files."
[[
$CI_COMMIT_REF_NAME
==
"master"
]]
&&
scp
-i
$CELLFRAME_REPO_KEY
../prod_build/linux/debian/scripts/publish_remote/reprepro.sh
"
$CELLFRAME_REPO_CREDS
:~/tmp/"
for
pkgfile
in
$PKGFILES
;
do
pkgname
=
$(
echo
$pkgfile
|
sed
's/.deb$//'
)
pkgname_public
=
$(
echo
$pkgname
|
cut
-d
'-'
-f1-4
,7-
)
#cutting away Debian-9.12
pkgname_weblink
=
"
$(
echo
$pkgname
|
cut
-d
'-'
-f2
,8
)
-latest"
#leaving only necessary entries
echo
"Package name for public is
$pkgname_public
"
mv
$pkgfile
$wd
/
$PACKAGE_PATH
/
$pkgname$MOD
.deb
||
{
echo
"[ERR] Something went wrong in publishing the package. Now aborting."
;
exit
-4
;
}
CODENAME
=
$(
echo
$pkgname
| rev |
cut
-d
'-'
-f1
| rev
)
cp
-r
../prod_build/general/essentials/weblink-latest ../prod_build/general/essentials/
$pkgname_weblink
...
...
@@ -41,7 +41,6 @@ for pkgfile in $PKGFILES; do
fi
rm
-r
../prod_build/general/essentials/
$pkgname_weblink
done
[[
$CI_COMMIT_REF_NAME
==
"master"
]]
&&
ssh
-i
$CELLFRAME_REPO_KEY
"
$CELLFRAME_REPO_CREDS
"
"rm -v ~/tmp/reprepro.sh"
# export -n "UPDVER"
cd
..
...
...
This diff is collapsed.
Click to expand it.