File tree Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 77set -e
88#
99# For all images prepared by build-packages-for-obs.sh in
10- # $WORKSPACE/SRPMS/<package> prepare and submitt changed images
10+ # $WORKSPACE/SRPMS/<package> prepare and submit changed images
1111# to one GIT repository.
1212#
13+ # To exec push.sh you may need OSC access with credentials
1314# Use $OSCRC ot pass an osc configfile containing required credentials
14- # (otherwise ~/.oscrc)
15+ # (otherwise ~/.config/ oscrc)
1516#
1617# srpm_package_defs() has a hardcoded list of packages excluded by default.
1718#
@@ -48,6 +49,17 @@ grep -v -- "\(--help\|-h\|-?\)\>" <<<"$@" || {
4849Usage: push-images-to-obs.sh [IMAGE]..
4950Submit changed images from \$ WORKSPACE/SRPMS/<image> ($WORKSPACE )
5051to GIT ($GIT_ORG ). Without argument all images in SRPMS are processed.
52+
53+ This script add all images to 1 git repo in a sub directory.
54+
55+ Optionally you can provide the following environment valiables:
56+ GIT_ORG: The git organization (Default: galaxy)
57+ GIT_SRV: The git server (Default: src.suse.de)
58+ GIT_PRODUCT_REPO: The git repository name (Default: MLM-products)
59+ GIT_BRANCH: The git default branch where to submit to (Default: the current branch you are in)
60+
61+ NO_PUSH: Specify when you do not want to push but check what commits were created
62+
5163EOF
5264 exit 0
5365}
Original file line number Diff line number Diff line change 1010# $WORKSPACE/SRPMS/<package> prepare and submit changed packages
1111# to OBS.
1212#
13- # Use $OSCRC to pass an osc configfile containing required credentials
14- # (otherwise ~/.oscrc)
13+ # To execute push.sh you may need OSC access with credentials
14+ # Use $OSCRC ot pass an osc configfile containing required credentials
15+ # (otherwise ~/.config/oscrc)
1516#
1617# srpm_package_defs() has a hardcoded list of packages excluded by default.
1718#
@@ -47,6 +48,16 @@ grep -v -- "\(--help\|-h\|-?\)\>" <<<"$@" || {
4748Usage: push-packages-to-obs.sh [PACKAGE]..
4849Submit changed packages from \$ WORKSPACE/SRPMS/<package> ($WORKSPACE )
4950to GIT ($GIT_ORG ). Without argument all packages in SRPMS are processed.
51+
52+ This script add the packages to its own git repo.
53+
54+ Optionally you can provide the following environment valiables:
55+ GIT_ORG: The git organization (Default: galaxy)
56+ GIT_SRV: The git server (Default: src.suse.de)
57+ GIT_BRANCH: The git default branch where to submit to (Default: the current branch you are in)
58+
59+ NO_PUSH: Specify when you do not want to push but check what commits were created
60+
5061EOF
5162 exit 0
5263}
You can’t perform that action at this time.
0 commit comments