-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.txt
72 lines (49 loc) · 2.23 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
================================================================================
1. PRE REQUISITES:
================================================================================
1. Install zypper and osc
# dnf -y install zypper
# sudo zypper in osc
2. add your user and password details at end of ~/.config/osc/oscrc
# vim ~/.config/osc/oscrc
user=<YOUR USER NAME in OBS>
credentials_mgr_class=osc.credentials.TransientCredentialsManager
pass=<YOUR PASSWORD for OBS>
==================================================================================
2. CONTENTS
==================================================================================
There are three scripts in this repo:
a. clone-gluster-suse.sh
b. trigger-build.sh
c. push-changes.sh
=================================================================================
a. clone-gluster-suse.sh
=================================================================================
USAGE:
# bash clone-gluster-suse.sh <suse falvor> <glusterfs series> <glusterfs version>
EXAMPLE:
# bash clone-gluster-suse.sh leap15 8 8.5
WORKING:
clones the recent glusterfs suse repo and makes the necessary changes at specfile.
=================================================================================
b. trigger-build.sh
=================================================================================
USAGE:
# bash trigger-build.sh <suse flavor> <glusterfs version>
EXAMPLE:
# bash trigger-build.sh leap15 8.5
WORKING:
using a tool names osc, takes care of triggering the build at
https://build.opensuse.org/project/subprojects/home:glusterfs
================================================================================
c. push-changes.sh
================================================================================
USAGE:
# bash push-changes.sh <suse flavor> <series> <version>
EXAMPLE:
# bash push-changes.sh leap15 8 8.5
WORKING:
This script can be triggered if the build is successful at OBS.
If the build requires any more changes or additional of patches to succeed, those changes should be added to the remote suse repo and updated at OBS.
Once the changes made at local suse repo are committed using: # git commit -a --amend
push-changes.sh can be triggered.