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
5f35511bafbbd59bc8e746e73704ff2452ca9135 to 87709ff3aecc5bccdc6e5a4961b8adeb80e10b8c
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
87709ff3aecc5bccdc6e5a4961b8adeb80e10b8c
Select Git revision
Swap
Target
cellframe/prod_build_cellframe-node
Select target project
dapcash/prod_build_dapcash-node
1 result
5f35511bafbbd59bc8e746e73704ff2452ca9135
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Added pubtest branches pub support. Reviewing the repo issues
· 87709ff3
alexandr.kravchenko
authored
4 years ago
87709ff3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linux/debian/scripts/deploy.sh
+3
-1
3 additions, 1 deletion
linux/debian/scripts/deploy.sh
with
3 additions
and
1 deletion
linux/debian/scripts/deploy.sh
View file @
87709ff3
...
...
@@ -28,14 +28,16 @@ for pkgfile in $PKGFILES; do
CODENAME
=
$(
echo
$pkgname
| rev |
cut
-d
'-'
-f1
| rev
)
cp
-r
../prod_build/general/essentials/weblink-latest ../prod_build/general/essentials/
$pkgname_weblink
sed
-i
"/document/s/cellframe.*deb/
$pkgname_public$MOD
.deb/"
../prod_build/general/essentials/
$pkgname_weblink
/index.php
if
[[
$(
echo
$CI_COMMIT_REF_NAME
|
grep
"master
\|
^release"
)
!=
""
]]
;
then
if
[[
$(
echo
$CI_COMMIT_REF_NAME
|
grep
"master
\|
^release
\|
^pubtest
"
)
!=
""
]]
;
then
echo
"REF_NAME is
$CI_COMMIT_REF_NAME
"
ssh
-i
$CELLFRAME_REPO_KEY
"
$CELLFRAME_FILESERVER_CREDS
"
"mkdir -p
$CELLFRAME_FILESERVER_PATH
/
$SUBDIR
"
scp
-i
$CELLFRAME_REPO_KEY
$wd
/
$PACKAGE_PATH
/
$pkgname$MOD
.deb
"
$CELLFRAME_FILESERVER_CREDS
:
$CELLFRAME_FILESERVER_PATH
/
$SUBDIR
/
$pkgname_public$MOD
.deb"
scp
-r
-i
$CELLFRAME_REPO_KEY
../prod_build/general/essentials/
$pkgname_weblink
"
$CELLFRAME_FILESERVER_CREDS
:
$CELLFRAME_FILESERVER_PATH
/
$SUBDIR
/"
if
[[
$CI_COMMIT_REF_NAME
==
"master"
]]
;
then
set
-x
scp
-i
$CELLFRAME_REPO_KEY
$wd
/
$PACKAGE_PATH
/
$pkgname$MOD
.deb
"
$CELLFRAME_REPO_CREDS
:~/aptly/repo_update/
$pkgname_public$MOD
.deb"
ssh
-i
$CELLFRAME_REPO_KEY
"
$CELLFRAME_REPO_CREDS
"
--
"~/aptly/repo_update.sh"
set
+x
fi
# ssh -i $CELLFRAME_REPO_KEY "$CELLFRAME_FILESERVER_CREDS" "ln -sf $CELLFRAME_FILESERVER_PATH/$pkgname$MOD.deb $CELLFRAME_FILESERVER_PATH/$pkgname$MOD-latest.deb"
fi
...
...
This diff is collapsed.
Click to expand it.