summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Li Yi [Thu, 9 Aug 2012 10:48:18 +0000 (18:48 +0800)]
[jenkins repomaker]: add repomaker build script for jenkins job
import repomaker from boss and do the same thing as a jenkins job
Lin Yang [Thu, 20 Dec 2012 03:06:51 +0000 (11:06 +0800)]
set default encoding to utf-8
Change-Id: Iaed758154f3f094c6a0998886f7d6d6e3420a27e
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Wed, 19 Dec 2012 07:06:44 +0000 (15:06 +0800)]
Support " in tag message
Change-Id: I9db045f3dd28e0803c1510747d963acdf8be6f11
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Tue, 18 Dec 2012 02:45:18 +0000 (10:45 +0800)]
cut off reqinfo if it exceed 100 lines
Change-Id: I0e81bf1646ced6c984b667bf08b96a97a797e527
Lin Yang [Mon, 17 Dec 2012 11:06:13 +0000 (19:06 +0800)]
more strict check for spec file
Change-Id: If14d682a287b2bdb3b3cb2106b81c9b8f4f45454
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 17 Dec 2012 09:13:24 +0000 (17:13 +0800)]
upgrade gbs related command to fit gbs 0.12
Change-Id: I3837555be41981674ba44e8a7e818a781ac0aba2
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 17 Dec 2012 08:19:40 +0000 (16:19 +0800)]
drop msger module
Change-Id: Ibce76832ccd31f5d189ef753c76a1be4071fec72
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 17 Dec 2012 06:08:32 +0000 (14:08 +0800)]
fetch tags when update local git repo
Change-Id: I62e9b6f135d1e63511d92f5e1b6c20caba8da356
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Thu, 13 Dec 2012 06:57:47 +0000 (14:57 +0800)]
Handle the issue of missing git repo under cache dir
Change-Id: I768d179120d953c22142e4bc8e274f3556f95e96
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 10 Dec 2012 06:18:03 +0000 (14:18 +0800)]
Use another script to update local git tree
Change-Id: Icc682744e0c4c26e17f52c32d94fc6b14fe8bc25
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 7 Dec 2012 10:08:42 +0000 (18:08 +0800)]
Give warning about multiply spec files
Change-Id: Idab6624c1e9e7ba7a926774229f585076526c1b6
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 7 Dec 2012 04:01:19 +0000 (12:01 +0800)]
give warning for multiply specfile under packaging
Change-Id: I5689a1fbd0744837d30cdfdd81b869960069af93
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 7 Dec 2012 03:26:19 +0000 (11:26 +0800)]
catch no specfile exception when buildcheck
Change-Id: I346c47a964c1c0b589c19fbda607204fac0b256c
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 23 Nov 2012 09:55:54 +0000 (17:55 +0800)]
more clear feedback when change still under review
Change-Id: I7d5e20bef47e17e34e87f77c70e53e33094aad6d
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 23 Nov 2012 09:53:41 +0000 (17:53 +0800)]
only update git cache when refupdate
Change-Id: Ib1b99ca2d2e20ddf5805924fd5ffd7f08da3cddb
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Fri, 23 Nov 2012 08:25:30 +0000 (16:25 +0800)]
give warning if no new changelog entry
Change-Id: Ia6ec8b9eb08c474db6209e3277fc33e2805e9e6a
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 19 Nov 2012 06:30:00 +0000 (14:30 +0800)]
Support pristine-tar when generate tarball
Because gbs based on local upstream and pristine-tar branch, not
remote, to support pristine-tar. So checkout these two branches before
gbs export.
Change-Id: I1340497f6cc702be650fbea465f6a291342f5255
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Lin Yang [Mon, 5 Nov 2012 09:47:40 +0000 (17:47 +0800)]
combine build result of all repo into one message
Hasan Wan [Fri, 2 Nov 2012 08:25:52 +0000 (16:25 +0800)]
rename triggerbuild to buildtrigger, fix bugs
Change-Id: I8cb140ddb42ab7a85f663a151d3ce1c64865c6a8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Fri, 2 Nov 2012 08:19:28 +0000 (16:19 +0800)]
listen obs event to get buildcheck result
Lin Yang [Fri, 2 Nov 2012 05:57:03 +0000 (13:57 +0800)]
use parameter file to trigger downstream job
Lin Yang [Mon, 29 Oct 2012 07:24:33 +0000 (15:24 +0800)]
send out warning if no mapping for this project
Lin Yang [Wed, 26 Sep 2012 04:37:39 +0000 (12:37 +0800)]
Clean unused function in utils module
Lin Yang [Wed, 26 Sep 2012 04:29:24 +0000 (12:29 +0800)]
Move rpmlint to isolate module
Lin Yang [Thu, 20 Sep 2012 08:37:42 +0000 (16:37 +0800)]
Improve gerrit comment when submit to OBS directly
Lin Yang [Thu, 20 Sep 2012 03:46:05 +0000 (11:46 +0800)]
Support more gerrit client function
Lin Yang [Wed, 19 Sep 2012 05:40:49 +0000 (13:40 +0800)]
Merge branch 'devel' of otctools:jenkins-scripts into devel
Hasan Wan [Wed, 19 Sep 2012 02:21:03 +0000 (19:21 -0700)]
Merge "Optimize code" into devel
Lin Yang [Tue, 18 Sep 2012 09:21:23 +0000 (17:21 +0800)]
use new method to parse git-obs-mapping xml file
Lin Yang [Mon, 17 Sep 2012 06:54:45 +0000 (14:54 +0800)]
Quit execution when tag is deleted
Lin Yang [Fri, 14 Sep 2012 06:59:30 +0000 (14:59 +0800)]
Disable check tag format when it don't map to OBS
Lin Yang [Fri, 14 Sep 2012 06:25:12 +0000 (14:25 +0800)]
Fix typo when use 'GIT_CACHE_DIR' variable
Hasan Wan [Wed, 12 Sep 2012 02:12:35 +0000 (10:12 +0800)]
Create a mapping file handle lib
Change-Id: I46aa301e245be5c5334be3cf00c37e632821255a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
LingchaoX Xin [Wed, 12 Sep 2012 10:41:42 +0000 (18:41 +0800)]
Optimize code
Change-Id: I759c4fae0470d5d0b44842b026d7e358ac5a84b6
Lin Yang [Wed, 12 Sep 2012 06:17:33 +0000 (14:17 +0800)]
support send email to CC list
Lin Yang [Fri, 7 Sep 2012 07:26:04 +0000 (15:26 +0800)]
Support abstract message from GPG signed tag
Hasan Wan [Fri, 7 Sep 2012 05:16:19 +0000 (13:16 +0800)]
Fix compat issue with older OBS, fix email send bug in request
Change-Id: Iae48f86f6b3ce9fbd272c9cc03e1b215e6b141d0
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Thu, 6 Sep 2012 10:32:47 +0000 (18:32 +0800)]
Add "job_" prefix to all jenkins scripts
Lin Yang [Thu, 6 Sep 2012 09:30:53 +0000 (17:30 +0800)]
Enhance the message of tag format check
Lin Yang [Thu, 6 Sep 2012 09:16:53 +0000 (17:16 +0800)]
Support special character in gerrit comment
use single quotes to strong quoting all meta-characters in SSH
Hasan Wan [Thu, 30 Aug 2012 09:08:31 +0000 (17:08 +0800)]
Buildcheck scripts clean up
Change-Id: I4c2cb7a47d1f69484332406170011977b9d7e937
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Thu, 30 Aug 2012 09:07:02 +0000 (17:07 +0800)]
Fix a bug about mail_sener
Change-Id: Ib493f73b405631f5117ea47735f84051e14d9fb5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Thu, 30 Aug 2012 08:17:56 +0000 (16:17 +0800)]
Support check whether commit exist in remote branch
Hasan Wan [Wed, 29 Aug 2012 09:35:39 +0000 (17:35 +0800)]
Mail sender clean up
Prepare the mail body before trigger the mail sender job
Change-Id: Ia2523f219b97b19a7dc5e0d46ad76d150dbc68db
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Wed, 29 Aug 2012 08:26:47 +0000 (16:26 +0800)]
Revert "bug fix: use base64 encoded string to pass email env"
This reverts commit
f8adc8b006c6f50b994df8ef9238e4adf6230e6a.
LingchaoX Xin [Wed, 29 Aug 2012 02:54:24 +0000 (10:54 +0800)]
Fix return error when call get_config
When I call get_config with `get_config('remote.origin.url')` in IPython
, it occured bellow:
Out[10]: 'ssh://xxx@xxx/jenkins-scripts.gi'
But right result should be:
Out[10]: 'ssh://xxx@xxx/jenkins-scripts.git'
Change-Id: I0d45b34cc3d6879170d8aeb819a53c1efffda462
Lin Yang [Tue, 28 Aug 2012 09:42:33 +0000 (17:42 +0800)]
use gerrit module instead of using gerrit command directly
Hasan Wan [Tue, 28 Aug 2012 08:11:42 +0000 (16:11 +0800)]
bug fix: use base64 encoded string to pass email env
Change-Id: I4ab023703b16844d3ffb477d9e69790f44073dac
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Mon, 27 Aug 2012 07:15:15 +0000 (15:15 +0800)]
Update _gerritinfo file when submit to OBS
_gerritinfo will follow below format:
PROJECT: ${gerrit_project}
COMMIT_ID: ${commit_id}
Hasan Wan [Fri, 24 Aug 2012 07:10:06 +0000 (15:10 +0800)]
Auto generate new changelog entry baseon submit tag
Change-Id: I05f542e75d93b1e34cd340a0306717718e7cb26b
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Fri, 24 Aug 2012 07:16:24 +0000 (15:16 +0800)]
Supoort create new package in OBS linked project
When OBS project is linked to another one, before commit code to this
OBS project, should branch corresponding package to this linked project.
Hasan Wan [Wed, 22 Aug 2012 06:38:26 +0000 (14:38 +0800)]
Fix several bugs:
1. Unicode issues when wirting to file as envs
2. Remove update git ops, supposed that git tree are latest, because git pull
will lead to failed if called in parallel
3. Remove Debug Env settings
4. Handle the char ':' in git subject when split the key-value by it
Change-Id: I605aca812cd88c8a2e49adf7efe52a90c432a5d2
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Wed, 22 Aug 2012 06:37:26 +0000 (14:37 +0800)]
Fix bug when no build log found
Change-Id: I90f457673042650ae844079ee1ae3ea2a9574107
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Wed, 22 Aug 2012 06:35:23 +0000 (14:35 +0800)]
support light weight tag "build/*"
Hasan Wan [Mon, 20 Aug 2012 06:32:35 +0000 (14:32 +0800)]
OBS_GIT data clean up, show SR comments in Gerrit messages
Change-Id: I5af14a4b2b0897d29f436756a642c04adfef73ed
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Mon, 20 Aug 2012 03:09:33 +0000 (11:09 +0800)]
Post a comments when request is rejected
Change-Id: I09261ef86d4a4434e4d338b6bcd7c10a80edba3a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Fri, 17 Aug 2012 09:35:29 +0000 (17:35 +0800)]
1. cleanup environment variable
2. support checkout package from obs linked project
Hasan Wan [Wed, 15 Aug 2012 06:35:21 +0000 (14:35 +0800)]
email template amend
Change-Id: I8592b7d677469b18b59c1e5ab4b11a7b3bbe7c6f
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Wed, 15 Aug 2012 03:18:27 +0000 (11:18 +0800)]
accepted tag format accepted/${version}/${accepte_datetime}
fix a bug about mailer
Change-Id: I6c9954bdadb56dc2ce5b93e92aa66f02b75c2177
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Mon, 13 Aug 2012 08:19:09 +0000 (16:19 +0800)]
use gerrit class to handle comments posting, fix attachment bug
Change-Id: Ic00b720d3dabdf60e7a8bd07ed5e00858358f5e6
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Mon, 13 Aug 2012 08:16:36 +0000 (16:16 +0800)]
push accepted tag back, fix some email addr issues
Change-Id: I016acddfee8b7b2d6ef123023b289bc035454a31
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Fri, 10 Aug 2012 06:50:05 +0000 (14:50 +0800)]
create accpeted tag when SR accepted on OBS
Change-Id: I52968766806f16f006cfc0649d7aa5db51a08344
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Fri, 10 Aug 2012 06:49:28 +0000 (14:49 +0800)]
Include commit id in tag object, fix an issue about create tag
Change-Id: Iab3a6df168e327abc34cf4e1ac726f62951df3d3
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Fri, 10 Aug 2012 02:36:48 +0000 (10:36 +0800)]
Add the request job, reuse boss-participant-requests
Change-Id: I0ca05a6e2a062d633b3d2b3e007a94fd28d21f62
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Thu, 9 Aug 2012 10:17:42 +0000 (18:17 +0800)]
adapt mail sender to mail_sender jobs
Change-Id: Id7d7a977b66c866fa31dcf22222386d49c3487da
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Thu, 9 Aug 2012 09:29:22 +0000 (17:29 +0800)]
Add gerrit module
Change-Id: I474a0c51c533598c27d129085e813a57ab26c00d
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Thu, 9 Aug 2012 08:18:13 +0000 (16:18 +0800)]
move all submodules to common directory
Li Yi [Tue, 7 Aug 2012 08:12:47 +0000 (16:12 +0800)]
new script for ruote_workitems job to dispatch obsevent
two slave job 'requests' and 'repomaker' will keep listening
to amqp queues which specified by job name for the dispatched events
Hasan Wan [Tue, 7 Aug 2012 04:53:18 +0000 (12:53 +0800)]
Move share module to common directory, create new job script mail_sender
Change-Id: Ibdf28256a4da32ed75deec89d48f9cbd84a16cb8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Mon, 6 Aug 2012 13:17:53 +0000 (21:17 +0800)]
Enhance email sender
Change-Id: I15248262a230be0c954cf6c423ab1c63dcc3a454
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Fri, 3 Aug 2012 09:59:14 +0000 (17:59 +0800)]
continue support previous tag format 'build/*'
Hasan Wan [Thu, 2 Aug 2012 09:43:56 +0000 (17:43 +0800)]
clean up the log output, delete the testing project from OBS after check
Change-Id: Ibfeeb177d05e052e98f51c968cb91b0689bb96cb
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Thu, 2 Aug 2012 08:54:18 +0000 (16:54 +0800)]
parse branch name from tag name, submitted by gbs submit
Hasan Wan [Wed, 1 Aug 2012 03:31:32 +0000 (11:31 +0800)]
Enable mail sending when buildcheck failed
Change-Id: I1ad5c95d793c5ac0b47406aa0f0a67c851ef6d89
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Hasan Wan [Tue, 31 Jul 2012 13:41:24 +0000 (21:41 +0800)]
add simple email sender
Change-Id: I480e0f499f1a60ae5d106b4c19aaaa47d19a1d5c
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Mon, 30 Jul 2012 04:21:11 +0000 (12:21 +0800)]
use git clone --reference to improve network performance
Lin Yang [Fri, 27 Jul 2012 11:47:15 +0000 (19:47 +0800)]
use tag submit/* to trigger submission to obs
Hasan Wan [Fri, 27 Jul 2012 07:48:52 +0000 (15:48 +0800)]
Implement build check job
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Wed, 25 Jul 2012 02:46:52 +0000 (10:46 +0800)]
re-implement scripts to python
Hasan Wan [Fri, 13 Jul 2012 03:09:30 +0000 (11:09 +0800)]
add mysql.py
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
Lin Yang [Wed, 25 Jul 2012 02:41:40 +0000 (10:41 +0800)]
support rpmlint in policy check
Lin Yang [Tue, 26 Jun 2012 08:48:30 +0000 (16:48 +0800)]
import existing scripts to init project