1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +01:00
github.com_openSUSE_osc/osc
Michal Vyskocil a69d10616a osc build on remote --host
The new argument for osc build --host will perform the build on a remote
host. It is a shortcut for

rsync -az -e ssh `pwd` user@hostname:/remote/dir
rsync -az -e ssh prefer-dir \
user@hotname:/remote/dir/__prefer-rpms__/prefer-dir
ssh -t user@hostname "cd /remote/dir/package; osc build *build-args"
rsync -az -e ssh user@hostname:/remote/dir/__keep-pkgs__ keep-pkgs

iow it copy the current directory to the /remote/directory on hostname
(if not specified, the ~/ is supplied) and then run the osc build on
hostname. All global and local arguments are supplied to the remote osc
build, but arguments points to local path (--host, --keep-pkgs, --prefer-pkgs,
--rsync-dest, --rsync-src and --overlay) are modified to match to remote
host.

It support the OSC_ variables, so running with
OSC_BUILD_ROOT=/somewhere osc build --host ... will push the variable to
the remove osc process
2013-02-12 15:08:20 +01:00
..
util support archlinux builds 2012-04-03 16:00:06 +02:00
__init__.py add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Fix commit 438569f821 2011-07-29 11:05:06 +02:00
build.py - handle architecture parsing also right when an emulator is used. Just warn in that case, 2013-02-11 15:35:15 +01:00
checker.py avoid errors when checking rpm signkeys on files that are not rpm 2012-02-22 13:28:19 +01:00
cmdln.py Return argument to do_man back 2010-12-22 13:29:52 +01:00
commandline.py osc build on remote --host 2013-02-12 15:08:20 +01:00
conf.py Raise exception when there're no CA certificates 2013-02-06 03:50:18 +04:00
core.py - remove debug output 2013-02-11 13:01:58 +01:00
fetch.py - Fetcher.__fetch_cpio: split cpio request into smaller requests if the server returns code 414 2012-10-10 17:05:26 +02:00
meter.py - meter.py: reduced status bar (this one is used if there's no Content-Length header) 2010-09-09 14:58:33 +02:00
OscConfigParser.py - OscConfigParser.__str__: added special handling for continuation lines 2010-12-18 15:12:07 +01:00
oscerr.py - handle errors of source service runs 2011-05-24 10:49:08 +02:00
oscssl.py watchout the BEAST... 2012-07-15 23:20:19 -04:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00