Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
9007a1b9
Commit
9007a1b9
authored
16 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
change: - Allow sub-version.
SVN: 7901
parent
34f12610
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openbis/source/bash/sprint_install.sh
+2
-2
2 additions, 2 deletions
openbis/source/bash/sprint_install.sh
openbis/source/bash/tag_and_build.sh
+13
-8
13 additions, 8 deletions
openbis/source/bash/tag_and_build.sh
with
15 additions
and
10 deletions
openbis/source/bash/sprint_install.sh
+
2
−
2
View file @
9007a1b9
...
...
@@ -27,13 +27,13 @@ rm sprint
mkdir
sprint-
$VER
ln
-s
sprint-
$VER
sprint
cd
sprint
unzip ../openBIS-server-S
$VER
-
*
unzip ../openBIS-server-S
$VER
*
cd
openBIS-server
./install.sh
$PWD
../../service.properties
echo
Installing download server...
cd
..
unzip ../download-server-S
$VER
-
*
unzip ../download-server-S
$VER
*
cd
download-server
cp
~/old/sprint-
$PREV_VER
/download-server/etc/service.properties etc/
chmod
700 download-service.sh
...
...
This diff is collapsed.
Click to expand it.
openbis/source/bash/tag_and_build.sh
+
13
−
8
View file @
9007a1b9
...
...
@@ -6,30 +6,35 @@
# and 'cisd-vesuvio.ethz.ch'. This is typically configured in the SSH config file.
if
[
$#
-lt
1
]
;
then
echo
"Usage:
$0
<sprint number>"
echo
"Usage:
$0
<sprint number>
[subversion]
"
exit
1
fi
TODAY
=
`
date
"+%Y-%m-%d"
`
VER
=
$1
FULL_VER
=
S
$VER
.0
if
[
$2
]
;
then
SUBVER
=
$2
else
SUBVER
=
0
fi
FULL_VER
=
S
$VER
.
$SUBVER
SPRINT_SERVER
=
sprint-openbis.ethz.ch
CISD_SERVER
=
cisd-vesuvio.ethz.ch
svn checkout svn+ssh://source.systemsx.ch/repos/cisd/build_resources/trunk build_resources
cd
build_resources
echo
Tagging openBIS to
S
$VER
...
./tag_sprint.sh openbis
S
$VER
echo
Tagging openBIS to
$
FULL_
VER
...
./tag_sprint.sh openbis
$
FULL_
VER
echo
Building openBIS...
./build.sh openbis
S
$VER
./build.sh openbis
$
FULL_
VER
echo
Copying new openBIS components to
'$CISD_SERVER'
...
echo
Copying new openBIS components to
\
'
$CISD_SERVER
\
'
...
OPENBIS_PATH
=
/localhome/cisd/sprint_builds/openBIS
SPRINT_DIR
=
$OPENBIS_PATH
/
$TODAY
-
$FULL_VER
echo
"mkdir -p
$SPRINT_DIR
"
| ssh
-T
hal
echo
"mkdir -p
$SPRINT_DIR
"
| ssh
-T
$CISD_SERVER
scp
*
.zip
$CISD_SERVER
:
$SPRINT_DIR
echo
Copying new openBIS components to
'$SPRINT_SERVER'
...
echo
Copying new openBIS components to
\
'
$SPRINT_SERVER
\
'
...
scp openBIS-server-
*
.zip
$SPRINT_SERVER
:.
scp download-server-
*
.zip
$SPRINT_SERVER
:.
...
...
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