Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
18d0009f
You need to sign in or sign up before continuing.
Commit
18d0009f
authored
Dec 10, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: use --test-only for build by default (-e is obsoleted now)
parent
7aba8b51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
rpmbs
bin/rpmbs
+4
-5
No files found.
bin/rpmbs
View file @
18d0009f
...
@@ -27,7 +27,7 @@ FORCE=
...
@@ -27,7 +27,7 @@ FORCE=
RUNTASK
=
RUNTASK
=
UPLOADNOW
=
UPLOADNOW
=
CHECKONLY
=
CHECKONLY
=
TESTONLY
=
TESTONLY
=
"--test-only"
NOSOURCE
=
NOSOURCE
=
NOCHECK
=
NOCHECK
=
UPDATES
=
UPDATES
=
...
@@ -61,7 +61,6 @@ phelp()
...
@@ -61,7 +61,6 @@ phelp()
#echog " -k [TARGET] - generate src.rpm and publish to TARGET dir (from Source: by default)"
#echog " -k [TARGET] - generate src.rpm and publish to TARGET dir (from Source: by default)"
#echog " -r [RELEASE] - publish to RELEASE target dir version"
#echog " -r [RELEASE] - publish to RELEASE target dir version"
echog
"Ext. options:"
echog
"Ext. options:"
echog
" -e sign and run gear test only task girar build"
echog
" -c only sign package(s) with checking"
echog
" -c only sign package(s) with checking"
echog
" -f force operation (overwrite tag)"
echog
" -f force operation (overwrite tag)"
echog
" -F force operation (overwrite tag) and run task after add"
echog
" -F force operation (overwrite tag) and run task after add"
...
@@ -81,12 +80,12 @@ while getopts :hfFstTcudenop:a:Ab:z opt; do
...
@@ -81,12 +80,12 @@ while getopts :hfFstTcudenop:a:Ab:z opt; do
s
)
SIGN
=
1
;;
s
)
SIGN
=
1
;;
t
)
SIGNTAG
=
1
;;
t
)
SIGNTAG
=
1
;;
T
)
SETTAG
=
1
;;
T
)
SETTAG
=
1
;;
e
)
TESTONLY
=
"--test-only"
;
UPLOADNOW
=
1
;
SIGN
=
1
;;
f
)
FORCE
=
"-f"
;;
f
)
FORCE
=
"-f"
;;
F
)
FORCE
=
"-f"
;
RUNTASK
=
1
;;
F
)
FORCE
=
"-f"
;
RUNTASK
=
1
;;
# FIXME: handle SIGN separately
# FIXME: handle SIGN separately
c
)
CHECKONLY
=
1
;
SIGN
=
1
;;
c
)
CHECKONLY
=
1
;
SIGN
=
1
;;
u
)
UPLOADNOW
=
1
;
SIGN
=
1
;;
# e is obsoleted
e|u
)
UPLOADNOW
=
1
;
SIGN
=
1
;;
a
)
UPLOADNOW
=
1
;
SIGN
=
1
;
PREPARETASK
=
yes
;
TASKNUMBER
=
"
$(
echo
$OPTARG
|
sed
-e
's/before/ /g'
)
"
;;
a
)
UPLOADNOW
=
1
;
SIGN
=
1
;
PREPARETASK
=
yes
;
TASKNUMBER
=
"
$(
echo
$OPTARG
|
sed
-e
's/before/ /g'
)
"
;;
A
)
UPLOADNOW
=
1
;
SIGN
=
1
;
PREPARETASK
=
yes
;
TASKNUMBER
=
;;
A
)
UPLOADNOW
=
1
;
SIGN
=
1
;
PREPARETASK
=
yes
;
TASKNUMBER
=
;;
# see functions/alt:set_binaryrepo() for BINARYREPONAME
# see functions/alt:set_binaryrepo() for BINARYREPONAME
...
@@ -443,7 +442,7 @@ if [ -n "$PREPARETASK" ] ; then
...
@@ -443,7 +442,7 @@ if [ -n "$PREPARETASK" ] ; then
docmd ssh
$GEARHOST
task add
$TASKNUMBER
$TASKLIST
2>&1 |
tee
$RPMDIR
/uploaded.log.tmp
docmd ssh
$GEARHOST
task add
$TASKNUMBER
$TASKLIST
2>&1 |
tee
$RPMDIR
/uploaded.log.tmp
else
else
echo
"Create task for
$TASKLIST
"
echo
"Create task for
$TASKLIST
"
docmd ssh
$GEARHOST
build
$(
usearg
-b
$BINARYREPO
sisyphus
)
$TASKLIST
2>&1 |
tee
$RPMDIR
/uploaded.log.tmp
docmd ssh
$GEARHOST
build
$
TESTONLY
$
(
usearg
-b
$BINARYREPO
sisyphus
)
$TASKLIST
2>&1 |
tee
$RPMDIR
/uploaded.log.tmp
fi
fi
# FIXME: parse and incorporate
# FIXME: parse and incorporate
...
...
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