services/jenkins-jobs.git
10 years agodelete no use parameter 'project'
Liu jue [Tue, 12 Aug 2014 02:59:38 +0000 (10:59 +0800)]
delete no use parameter 'project'

Change-Id: I8480e480d536c2edf41a26498d230e092e9ed7e0

10 years agoGet rid of dependency of 'gbs'.
ZhuoX Li [Fri, 8 Aug 2014 08:48:37 +0000 (16:48 +0800)]
Get rid of dependency of 'gbs'.

Jenkins scripts job_buildcheck_post.py job_policycheck.py
is unused for us. They should be removed.

Fixes: #1546

Change-Id: Ia553eeaeb07b1f4849f15c8b6994563472c128dc

10 years agoEnable access of all OBS projects for repo creation.
ZhuoX Li [Thu, 7 Aug 2014 09:15:39 +0000 (17:15 +0800)]
Enable access of all OBS projects for repo creation.

Change-Id: Iac111fc70cbf1a9c32376d9fc7be5ba8fd022a6c

10 years agoShow test results in Jenkins
Igor Stoppa [Tue, 17 Jun 2014 12:32:03 +0000 (15:32 +0300)]
Show test results in Jenkins

Change-Id: I2e6ba7223184b30f828d54f23abd893f392260f5

10 years agoTrigger the publication of testing results to OBS.
Igor Stoppa [Mon, 16 Jun 2014 10:59:02 +0000 (13:59 +0300)]
Trigger the publication of testing results to OBS.

Change-Id: Idea542208a1315bd120dc37811fcf75e3d9fea92

10 years agoJob publishing test results to OBS
Igor Stoppa [Thu, 3 Jul 2014 09:59:29 +0000 (12:59 +0300)]
Job publishing test results to OBS

Change-Id: I3f842f551bada790b2cdb096cff0eebafad86d2c

10 years agoFail the execution unless all the tests PASS
Igor Stoppa [Mon, 16 Jun 2014 10:58:17 +0000 (13:58 +0300)]
Fail the execution unless all the tests PASS

Change-Id: Iaafab2ce248701bbd1910177e2f493b814502b8a

10 years agoFilter defining paramters of the testable image.
Igor Stoppa [Mon, 19 May 2014 09:12:51 +0000 (12:12 +0300)]
Filter defining paramters of the testable image.

Currently images are of *.bz2 type and require a
.bmap companion file.
Should this change in the future, these are the
parameters to adjust.

Change-Id: I96ac2d36960c2304e910e6c77c4629600c54d4e1

10 years agoFix error in regex: remove quotes.
Igor Stoppa [Mon, 19 May 2014 12:12:35 +0000 (15:12 +0300)]
Fix error in regex: remove quotes.

The quotes around the regex are not needed and will cause
an erroneous match.

Change-Id: Iddff3aee3262181d16067110541cff7b4788c50c

10 years agoJenkins job for running tests of images on real HW
Igor Stoppa [Wed, 14 May 2014 09:56:17 +0000 (12:56 +0300)]
Jenkins job for running tests of images on real HW

Change-Id: Id86edcdcb9d21574817a7e56e649494305fa86d4

10 years agoTest only supported Tizen IVI images (mbr i586).
Igor Stoppa [Tue, 6 May 2014 13:16:59 +0000 (16:16 +0300)]
Test only supported Tizen IVI images (mbr i586).

Change-Id: I5a4f377eef1ad703596ebdf44827879ca22a197a

10 years agoTriggering of testing job - PART 2
Igor Stoppa [Wed, 14 May 2014 08:42:25 +0000 (11:42 +0300)]
Triggering of testing job - PART 2

This commit is the functional part of the changes made through the
jenkins UI, to trigger the automated testing of images that both
build successfully and target supported HW.

Change-Id: Ieda3d40b20a390c0c3d9a1eaff4e5c5352553aca

10 years agoTriggering of testing job - PART 1
Igor Stoppa [Wed, 14 May 2014 08:40:19 +0000 (11:40 +0300)]
Triggering of testing job - PART 1

This commit is purely cosmetic and contains non-functional parts
of the atomic change obtained when modifying the job from the
jenkins UI.

Change-Id: I6534bce70afbf2188e7005ba527ef335ea477b94

10 years agoAdd new job to make release from snapshot
Hasan Wan [Wed, 4 Jun 2014 06:25:36 +0000 (09:25 +0300)]
Add new job to make release from snapshot

Change-Id: I8f9de8da7083e3f4c058f451f44c091d093273cf
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoTrigger requests job with all OBS request events
Lin Yang [Wed, 7 May 2014 07:21:02 +0000 (15:21 +0800)]
Trigger requests job with all OBS request events

The OBS evnet dispatch job will insert 'sourceproject' into the trigger file
name. The * added means the request event from all project should trigger
request job.

Change-Id: Ie6d0dc050f225aa282da5a5e4b6eb93b9ec09623
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoDisable concurrent builds for pre-release-gerrit
Ed Bartosh [Sun, 4 May 2014 14:52:34 +0000 (17:52 +0300)]
Disable concurrent builds for pre-release-gerrit

As pre-release-gerrit job updates metadata in OBS concurrent builds
cause raise conditions for group submissions.
If group submission(multiple git trees tagged with the same submit/ tag)
is used several pre-release-gerrit builds can update meta in OBS projects
at the same time. This causes breakages like this:
Traceback (most recent call last):
  File "job_pre_release_gerrit.py", line 154, in <module>
    sys.exit(main(os.path.basename(sys.argv[0])))
  File "job_pre_release_gerrit.py", line 148, in main
    build, obs_target_prj, project)
  File "job_pre_release_gerrit.py", line 66, in create
    build.unlink_project(obs_project)
  File "common/buildservice.py", line 516, in unlink_project
    raise ObsError('project: %s has not links' %(project))

This happens whtn one job-pre-release-gerrit build disables the linking of
prerelease project and another build tries to also disable it.

Fixes: #1845

Change-Id: I50e1e7fdf6a9d6afa8e03b053f1135aa96553648
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd gerrit fetch and review url
Yang Lin [Fri, 25 Apr 2014 04:22:46 +0000 (12:22 +0800)]
Add gerrit fetch and review url

When repomaker generate manifest, it will try to get gerrit fetch and review
url from enironment variables. So add these two into jobs/configuration, and
set default value to tizen.org.

Change-Id: I3c0c3a579c3da63eec714eb857feead7a69201a6
Signed-off-by: Yang Lin <lin.a.yang@intel.com>
10 years agoTrigger multiply snapdiff after snapshot creation
Yang Lin [Fri, 25 Apr 2014 03:34:14 +0000 (11:34 +0800)]
Trigger multiply snapdiff after snapshot creation

After updated repomaker to support multiply repos into one single snapshot, it
should trigger multiply snapdiff build for the corresponding repo, because one
snapdiff build can only generate diff report for one repo.

Change-Id: I322f9e8a8a8287a2bf1d7aee7cb58f1476be3d87
Signed-off-by: Yang Lin <lin.a.yang@intel.com>
10 years agoChanged version in devel to 0.16
Ed Bartosh [Tue, 15 Apr 2014 07:20:43 +0000 (10:20 +0300)]
Changed version in devel to 0.16

Change-Id: I33d95ff62305ce1d800b41044efd2061ab3e2968
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoTrigger the post-image-creation job in post-build actions
Hasan Wan [Tue, 25 Feb 2014 13:58:24 +0000 (15:58 +0200)]
Trigger the post-image-creation job in post-build actions
Clean the workspace before every build

Fixes: #1650

Change-Id: I72ddbd6588d59f095fd251c9aeb72dd8b9aec336
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoAdded label to requests builds
Ed Bartosh [Sat, 15 Feb 2014 19:07:45 +0000 (21:07 +0200)]
Added label to requests builds

Label consists of target project, target package, SR status and SR
number.

Change-Id: I90c0c3d64c2d6f904f4900edcdd23d92b05e2ea4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded TRIGGER_INFO parameter to requests job
Ed Bartosh [Sat, 15 Feb 2014 16:55:46 +0000 (18:55 +0200)]
Added TRIGGER_INFO parameter to requests job

Without this parameter it's not possible to restart the job.

Change-Id: I868023b6379628402ed8dd59af071a567d1b7bc2
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoDisabled policy-check and build-check jobs
Ed Bartosh [Sat, 15 Feb 2014 16:56:45 +0000 (18:56 +0200)]
Disabled policy-check and build-check jobs

Disabled by Alexander Kanevskiy on tizen.org infra as they generate a
lot of noise and developers were complaining.

Change-Id: I9fc964b5359d093e46d53d9357ecd3283072b3c6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoNo need to limit project type in requests filter
Lingchao Xin [Fri, 14 Feb 2014 08:28:08 +0000 (16:28 +0800)]
No need to limit project type in requests filter

Since we have limited it in our scripts

Change-Id: I0ad001093a008eb7ac89e668401c3ae1df030a4b

10 years agoAdded TRIGGER_INFO parameter to pre-release-cleanup job
Ed Bartosh [Thu, 13 Feb 2014 14:34:43 +0000 (16:34 +0200)]
Added TRIGGER_INFO parameter to pre-release-cleanup job

Without this parameter it's not possible to restart the job.

Change-Id: I121d36dcfef5f8e1eb5d733bcbf1ee7a09385eaf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd templates copy
Lingchao Xin [Fri, 24 Jan 2014 08:49:45 +0000 (16:49 +0800)]
Add templates copy

Change-Id: I3fc73c06916d7e8d24eed431360e1bc430609a2e

10 years agoTypo fix
Lingchao Xin [Fri, 24 Jan 2014 08:00:58 +0000 (16:00 +0800)]
Typo fix

Change-Id: I9c3590032a562cce811e31521a4f8b460ef2c9f5

10 years agoDisable concurrent build for requests job
Lin Yang [Tue, 10 Dec 2013 14:32:03 +0000 (22:32 +0800)]
Disable concurrent build for requests job

To avoid conflict on tag name of multiply builds, and because generally requests
job will only consume 2~3 seconds, no need to build concurrently, so disable it.

Fixes: #1525

Change-Id: I14906793cac85e716091949d744912d9d076d477
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoAdd the missed definition in jobs/configuration
Hasan Wan [Fri, 17 Jan 2014 03:53:26 +0000 (05:53 +0200)]
Add the missed definition in jobs/configuration

Fixes: #1610

Change-Id: I1ed6e996618e599423983f2d49aed470d366cf26
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoAdd snapdiff-sync job
Lingchao Xin [Fri, 17 Jan 2014 08:56:45 +0000 (16:56 +0800)]
Add snapdiff-sync job

Change-Id: I0d1d528b3a8c34c68ed4b04deb3de5d149ce5502

10 years agoPre-release-create: fixed labeling
Ed Bartosh [Sun, 8 Dec 2013 14:08:40 +0000 (16:08 +0200)]
Pre-release-create: fixed labeling

Parse project from the log right way. Get rid of hardcoded
'home:prerelease'.

Change-Id: Id81bc680bba12e3982e56f5684de318a32569a88
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded TRIGGER_INFO parameter to pre-release-create job
Ed Bartosh [Wed, 4 Dec 2013 12:33:59 +0000 (14:33 +0200)]
Added TRIGGER_INFO parameter to pre-release-create job

Adding this parameter helps a lot to investigate and debug job
failures as it allows to restart builds.

Change-Id: I6cd66f0e67081689c36f54778b01dfa6c3e1388a
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd label to imager builds
Ed Bartosh [Wed, 4 Dec 2013 17:41:16 +0000 (19:41 +0200)]
Add label to imager builds

Added build id and image name as a label.

Fixes: #1514

Change-Id: I2359425920cd9cd935e2f314d9592b0ba50df0ee

10 years agoRun post-image-creation job on master
Ed Bartosh [Sun, 1 Dec 2013 19:05:51 +0000 (21:05 +0200)]
Run post-image-creation job on master

There is no point of running it on workers as it requires installing gbs
with tons of dependencies there, which is quite dangerous.

Another point is security issues. To be able to run this job, workers
must have OBS user credentials installed. Distributing credentials
through all workers is insecure.

Change-Id: Iddf5dfb1f20b810ca2603d4e47aceacbca069f98
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded TRIGGER_INFO parameter to post-image-creation job
Ed Bartosh [Sun, 1 Dec 2013 18:56:47 +0000 (20:56 +0200)]
Added TRIGGER_INFO parameter to post-image-creation job

Adding this parameter helps a lot to investigate and debug job failures
as it allows to restart builds.

Change-Id: Ic86c613507c265ef711059e026c6959dff4b910f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoadd the jobs to generate buildlogs directory in repository
Hasan Wan [Fri, 22 Nov 2013 07:24:33 +0000 (09:24 +0200)]
add the jobs to generate buildlogs directory in repository

Change-Id: Ib9afc53dad70559f470c3fec35ffb47235828fac
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoUpdate comments for more flexible sync pattern
Lin Yang [Tue, 26 Nov 2013 07:48:57 +0000 (15:48 +0800)]
Update comments for more flexible sync pattern

Change-Id: I261a5104ac5fc85f3e3850d6f589d784af9d27c3
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoDisable concurrent build for submit-obs job
Lin Yang [Thu, 21 Nov 2013 07:33:08 +0000 (15:33 +0800)]
Disable concurrent build for submit-obs job

Because several builds of submit-obs job may touch the same obs project, disable
concurrent build to avoid potential conflict.

Change-Id: I5dd15dd838522a4d1c59a49ad2279927e29630ea
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agotrigger the next jobs with project name info
Hasan Wan [Fri, 22 Nov 2013 07:19:45 +0000 (09:19 +0200)]
trigger the next jobs with project name info

Change-Id: Ic07f58e68b0c17ffb00f40987854338278ac2881
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoRestore mail sender releated configuration
Lin Yang [Wed, 20 Nov 2013 06:31:08 +0000 (14:31 +0800)]
Restore mail sender releated configuration

Change-Id: I977ff03c39725e4f0f1aa039a67e85fc1ce30469
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoStart to create reuglar snapshot by create-snapshot job
Hasan Wan [Thu, 21 Nov 2013 03:25:10 +0000 (05:25 +0200)]
Start to create reuglar snapshot by create-snapshot job

Fixes: #1461

Change-Id: I434ed5f37c904cdfa25b6e5e633d9d2dc73bc5be
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoOnly delete symlink when uninstall package
Lin Yang [Fri, 15 Nov 2013 04:00:12 +0000 (12:00 +0800)]
Only delete symlink when uninstall package

Change-Id: I89abe444318c5743f71ffd38dcf421ce2817ae59
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoRemoved sync package
Ed Bartosh [Wed, 13 Nov 2013 09:05:07 +0000 (11:05 +0200)]
Removed sync package

Since jenkins-scripts-sync was removed this job has to be removed.

Change-Id: I0a8dfe9de7969b2137ca49b45f481300add19f28
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoListen all gerrit projects event in sync-git job
Lin Yang [Mon, 11 Nov 2013 15:00:39 +0000 (23:00 +0800)]
Listen all gerrit projects event in sync-git job

Because the configuration to control which project has been moved to
jobs/configuration, gerrit-plugin should listen all projects event.

Fixes: #1426

Change-Id: I6184e3c489966ea470be8111a0e2123d72530169
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoUpdate sync-git config.xml to latest plugins
Lin Yang [Mon, 11 Nov 2013 14:58:49 +0000 (22:58 +0800)]
Update sync-git config.xml to latest plugins

Change-Id: I7bdf36b8397e4a62ce91094b2f67ba77bd1e55e9
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoFix create symlinks under userContent failure
Lin Yang [Fri, 8 Nov 2013 04:48:35 +0000 (12:48 +0800)]
Fix create symlinks under userContent failure

Safer way to rewrite the symlink when install and upgrade package.

Fixes: #1433

Change-Id: Iff7a7b3b134bd4b98990ee0ee27249a8813d3a06
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoMove update-local-git job to common package
Lin Yang [Tue, 29 Oct 2013 09:03:33 +0000 (17:03 +0800)]
Move update-local-git job to common package

The job update-local-git should exist both normal and sync instance to update
remote gerrit project to local cache.

Change-Id: Id73a8718e917a61b7dc2e6a4fa3e0d40928a8545
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoMoved userContent/configuration symlink to -common
Ed Bartosh [Thu, 17 Oct 2013 14:05:42 +0000 (17:05 +0300)]
Moved userContent/configuration symlink to -common

userContent/configuration symlink should be in -common for two reasons:
 - it's used by also by -sync instances.
 - jobs/configuration file is in -common package

Change-Id: I986a142ce6cbdfa07f3d0a66dcad0c21950c0068
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAuto create symlinks to jobs/configuration
Lin Yang [Tue, 15 Oct 2013 13:38:33 +0000 (21:38 +0800)]
Auto create symlinks to jobs/configuration

In %post section, automatically create symlinks /var/lib/jenkins/userContent/
configuration to /var/lib/jenkins/jobs/configuration.

Fixes: #1356

Change-Id: Ic2e45eb14b647b9a57c94b908f7ce8d3aa5aed36
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoDeleted delete-tag job
Ed Bartosh [Tue, 15 Oct 2013 10:41:19 +0000 (13:41 +0300)]
Deleted delete-tag job

The reason is that we don't need to delete any tags. We may need another
job to delete old tags, but we don't need to delete them just because
the change was rejected like delete-tag does.

Moreover job_deletetag.py has bugs. It may end up in infinite loop if it
can't force push to git repo. Removing the job automatically fixes this
issue.

Fixes: #1379

Change-Id: Ifa3e607bb3175851e250a17d1a5568674bfc09ca
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRun the load-repo-conf job on OBS server
Hasan Wan [Fri, 11 Oct 2013 06:56:59 +0000 (09:56 +0300)]
Run the load-repo-conf job on OBS server

Fixes: #1357

Change-Id: I7d702ffb15c2451c403834b8daa0c2450e907fec
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdded jenkins-job-tzs package
Ed Bartosh [Mon, 7 Oct 2013 17:04:44 +0000 (20:04 +0300)]
Added jenkins-job-tzs package

Package includes jobs, specific for tzs customer appliance.

Change-Id: I64992ab6d586486b0244cb460602de9d7d48ea44
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded create-snapshot job
Ed Bartosh [Mon, 7 Oct 2013 17:00:18 +0000 (20:00 +0300)]
Added create-snapshot job

This job creates new snapshot. It uses repomaker to convert target
project repo to snapshot directory structure.

Change-Id: I032a646ca431c06847c5eb490b04c535c9d6d827
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded submit job
Ed Bartosh [Mon, 7 Oct 2013 16:53:16 +0000 (19:53 +0300)]
Added submit job

Submit job is triggered by Gerrit trigger for submit/ tags. It uploads
packages to target projects using submit.py in snapshot mode.

For pre-release-gerrit job submit.py is run in prerelease mode. It
uploads packages to prerelease project, linked to taget.

Change-Id: Ib160b0afc9d815fbec612e3edae263f7d7c029e2
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoobs-event-dispatcher: clean up plugin config test-devel
Ed Bartosh [Mon, 7 Oct 2013 15:55:03 +0000 (18:55 +0300)]
obs-event-dispatcher: clean up plugin config

Removed non-existing directories testprojects and gitbuildsys from c
copytoslave plugin configuration.

Change-Id: I842d2a2a0a3a3b243adf03350bf796b8c5e97774
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoobs-event-dispatcher: Make label more informative
Ed Bartosh [Mon, 7 Oct 2013 15:51:08 +0000 (18:51 +0300)]
obs-event-dispatcher: Make label more informative

Label now includes project, repository and event type.

Change-Id: Icfe01ec5d29d4ce0003678dcf9405fef72a178b3
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoimage-creator: Make label more informative
Ed Bartosh [Mon, 7 Oct 2013 12:26:54 +0000 (15:26 +0300)]
image-creator: Make label more informative

Label now includes project, build id and image name.

Change-Id: I88a2e27d501d1778f22664c8f619e387b26c3213
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoEnable mail_sender job
Lin Yang [Mon, 30 Sep 2013 09:59:13 +0000 (17:59 +0800)]
Enable mail_sender job

This job was disabled in internal testing farm to avoid duplicate email, which
should be enabled in production domain.

Change-Id: I11e8eba186935cd91ed87a6c70f21cd7b45abd0e
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoStarted work for 0.15
Ed Bartosh [Mon, 23 Sep 2013 11:17:50 +0000 (14:17 +0300)]
Started work for 0.15

Update version and .changes

Change-Id: I73938596aee62447d46ded968ac0bed8ad610b28
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRelease 0.14
Ed Bartosh [Mon, 23 Sep 2013 11:12:27 +0000 (14:12 +0300)]
Release 0.14

Changed versioning. Updated changelog.

Change-Id: Ib8de9548a52e202cce579353886332dd8179b4c6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRestrict more jobs only can be run on master
Lin Yang [Mon, 23 Sep 2013 09:15:51 +0000 (17:15 +0800)]
Restrict more jobs only can be run on master

The job 'delete-tag' and 'requests' include several gerrit operation, which rely
on private ssh key on master server, so only can be run on master.

Change-Id: I5c417669d3a80271187abed2748281e69381ab09
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoRemoved references to 'package-build' label
Ed Bartosh [Sun, 22 Sep 2013 13:06:06 +0000 (16:06 +0300)]
Removed references to 'package-build' label

Master and 'package-build' is the same node. This change is replacing
'package-build' with 'master' to avoid confusion.

Change-Id: Ifab5a284cf939fa9c51182af55940a63b32c3f30
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoActivated ws_cleanup plugin for obs-event-dispatcher
Ed Bartosh [Thu, 19 Sep 2013 09:12:02 +0000 (12:12 +0300)]
Activated ws_cleanup plugin for obs-event-dispatcher

Workspace Cleanup plugin was enabled during last testing round but
issue #1328 was not appeared. Let's give this plugin last chance.

Change-Id: I13fe6e560f15d329cc2c0d16026469ff533aa442
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoDisabled ws cleanup for obs-event-dispatcher job
Ed Bartosh [Mon, 16 Sep 2013 19:17:15 +0000 (22:17 +0300)]
Disabled ws cleanup for obs-event-dispatcher job

Workspace cleanup plugin doesn't work properly when job allows parallel
build execution. It removes workspaces for other builds, which causes
spectacular crashes like this:
[workspace@2] $ /bin/bash /tmp/hudson934458048082312142.sh
python: can't open file
'/var/lib/jenkins/jobs/obs-event-dispatcher/workspace@2/jenkins-scripts/job_jobs_dispatcher.py':
[Errno 2] No such file or directory
Build step 'Execute shell' marked build as failure

This change replaces buggy magic of workspace cleanup plugin with simple
deletion of *.env files.

Fixes: #1328

Change-Id: I7f9b59dcc10d11ba985f6ae58933d6d250e4b820
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded VM-related defaults to jobs/configuration
Ed Bartosh [Mon, 16 Sep 2013 11:10:08 +0000 (14:10 +0300)]
Added VM-related defaults to jobs/configuration

Change-Id: I1e322c031a68cf1b2e39e0b523af102571183c6f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdjusted deletion of image-creator workspaces
Ed Bartosh [Sun, 15 Sep 2013 12:43:38 +0000 (15:43 +0300)]
Adjusted deletion of image-creator workspaces

Without 'deleteDirs' enabled mic/ subdirectory letf untouched by
'delete workspace' plugin.

Change-Id: Iabd68652486d1ae8e504271b70b6d70698e0ed9c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRemoved http*_proxy unsetting
Ed Bartosh [Sun, 15 Sep 2013 12:23:24 +0000 (15:23 +0300)]
Removed http*_proxy unsetting

As imager runs mic in VM there is no need in proxy setting/unsetting.

Change-Id: Ia6735081fa126844cb47a18f5f19dd816015082d

11 years agoUpdate repo project to scm/meta/snapshot-repo-conf
Lin Yang [Fri, 13 Sep 2013 07:07:18 +0000 (15:07 +0800)]
Update repo project to scm/meta/snapshot-repo-conf

Finally the repo config project name in gerrit has been decided to be
scm/meta/snapshot-repo-conf. So update the project name in job conf.

Change-Id: I2a96309267379a500cd1e9f426e58b9cd64ff856
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoUpdated settings for keeping old builds
Ed Bartosh [Thu, 12 Sep 2013 15:10:16 +0000 (18:10 +0300)]
Updated settings for keeping old builds

Without this settings Jenkins accumulates all old builds and for some
jobs it's really a lot. This makes Jenkins starting very slow as it
scans builds/ directories for every job on the start.

Change-Id: Ia9ca5c5171e9006a6506d5ecb7f50cdf9d8f17e6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded parameter TRIGGER_INFO to image-creator job
Ed Bartosh [Wed, 11 Sep 2013 10:57:41 +0000 (13:57 +0300)]
Added parameter TRIGGER_INFO to image-creator job

With this parameter it became possible to retrigger the job.

Change-Id: I7b9a9113062188d12fc2869eeab7ac1029b07e55
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdd regular expression in jobs/configuration
Lin Yang [Tue, 27 Aug 2013 09:38:17 +0000 (17:38 +0800)]
Add regular expression in jobs/configuration

Script will use this re to control which project should be synced to inside
gerrit when it update.

Fixes: #1124

Change-Id: I159a00c31422e021f3a7c35e9c34d30e685ebbe5
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdded Tools repository to .extra-repos
Ed Bartosh [Tue, 27 Aug 2013 07:56:32 +0000 (10:56 +0300)]
Added Tools repository to .extra-repos

This change will hopefully allow us to remove gbs and its dependencies
from Services* OBS projects as we'll be able to install gbs from its own
repository.

Change-Id: I96760df29ae78278fbb61f8b4c715cb96d65fbb0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoReturned back dependency to jenkins
Ed Bartosh [Thu, 22 Aug 2013 08:45:53 +0000 (11:45 +0300)]
Returned back dependency to jenkins

This change adds jenkins repository to packaging/.extra-repos and
returns back dependency to Jenkins. Tester job should be able to install
jenkins from the repository for the installation check.

Change-Id: I1ef9646cec16dd5c4fa713172d8241c8de5a0830
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoShow more information beside build history labels
Hasan Wan [Thu, 22 Aug 2013 11:23:35 +0000 (14:23 +0300)]
Show more information beside build history labels

Fixes: #1181

Change-Id: Ic9bdd20fb85ee4928f785c4ef803ac75ce78678e
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoCleanup and misc changes
Hasan Wan [Thu, 22 Aug 2013 08:31:21 +0000 (11:31 +0300)]
Cleanup and misc changes

Change-Id: I76fff9126c0da4bb7088a3f9bb452c3b4ae315ce
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoTrigger the prereelease-cleanup job when project get deleted
Hasan Wan [Thu, 22 Aug 2013 08:36:37 +0000 (11:36 +0300)]
Trigger the prereelease-cleanup job when project get deleted

Change-Id: I5cea1786173e6a8dde0af732589267e2a538d0dc
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd post-image-creation into workflow
Hasan Wan [Thu, 22 Aug 2013 08:35:02 +0000 (11:35 +0300)]
Add post-image-creation into workflow

Change-Id: Ie0db9010c0765e797136da225b6f41e9f8a1dbe4
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoMerge "Add new job post-image-creation" into devel
Eduard Bartosh [Wed, 21 Aug 2013 12:22:51 +0000 (05:22 -0700)]
Merge "Add new job post-image-creation" into devel

11 years agoAdd new job post-image-creation
Hasan Wan [Tue, 20 Aug 2013 10:22:25 +0000 (13:22 +0300)]
Add new job post-image-creation

This job updates image information to OBS, generate manifest files etc

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoNo need to linten changemerged event
Lin Yang [Tue, 20 Aug 2013 06:23:25 +0000 (14:23 +0800)]
No need to linten changemerged event

Because submission process changed, the job don't need to listen changemerged
event to check whether the merged commit is already tagged.

Change-Id: Iefd835b229f9dee577686bfc8a180ead20ef4712
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdded manual triggering of pre-release-gerrit
Ed Bartosh [Sun, 18 Aug 2013 06:34:21 +0000 (09:34 +0300)]
Added manual triggering of pre-release-gerrit

Introducing parameters to the job makes it possible to trigger it
manually by 'Build Now' link and remotely.

This change implements triggering pre-release workflow manually.

I've added 3 parameters for the job:
 GERRIT_PROJECT, GERRIT_REFNAME and GERRIT_NEWREV

GERRIT_NEWREV can be set to the same value as GERRIT_REFNAME to trigger
the workflow. Usually it's submit tag.

Change-Id: Ic373beb4238016170130a8cb3ca156ea6dcffd43
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoupdate jobs configures for postscripts and misc changes
Hasan Wan [Fri, 16 Aug 2013 08:58:50 +0000 (11:58 +0300)]
update jobs configures for postscripts and misc changes

Fixes: #1180

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoMerge "Update job conf because plugin upgrade" into devel
Hasan Wan [Fri, 9 Aug 2013 14:32:04 +0000 (07:32 -0700)]
Merge "Update job conf because plugin upgrade" into devel

11 years agoAdd job to pull remote change to local git cache
Lin Yang [Fri, 9 Aug 2013 10:40:16 +0000 (18:40 +0800)]
Add job to pull remote change to local git cache

Fixes: #1035

Change-Id: I0c64d381dc78b1f209d2bb3442170ce4389d233e
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoUpdate job conf because plugin upgrade
Lin Yang [Fri, 9 Aug 2013 10:32:10 +0000 (18:32 +0800)]
Update job conf because plugin upgrade

Change-Id: Ia92553b9ae366c8eba77717e0abedde8383af202
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdd job to load repo conf to backend redis
Lin Yang [Fri, 2 Aug 2013 03:50:55 +0000 (11:50 +0800)]
Add job to load repo conf to backend redis

Fixes: #1069

Change-Id: I01154a10b9d5b5f87cd4f4aa119168a96aefe1ed
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoMerge "Add parameters for sync jenkins instance" into devel
Eduard Bartosh [Tue, 30 Jul 2013 14:58:46 +0000 (07:58 -0700)]
Merge "Add parameters for sync jenkins instance" into devel

11 years agoMerge "Updated job configuration changes" into devel
Lin A Yang [Tue, 30 Jul 2013 14:20:17 +0000 (07:20 -0700)]
Merge "Updated job configuration changes" into devel

11 years agoAdd parameters for sync jenkins instance
Lin Yang [Tue, 30 Jul 2013 09:09:24 +0000 (17:09 +0800)]
Add parameters for sync jenkins instance

Change-Id: I76e3fa62bfb18252da4f9b5dee8825c0f73f1d09
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoMove mail-sender job to common package
Lin Yang [Tue, 30 Jul 2013 08:40:58 +0000 (16:40 +0800)]
Move mail-sender job to common package

Change-Id: If44f1e914277f7969c13345e7ca73d011b35f085
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoDelete duplicate sync-git job conf
Lin Yang [Mon, 29 Jul 2013 07:18:25 +0000 (15:18 +0800)]
Delete duplicate sync-git job conf

Change-Id: I119544a3524d3808507e0ef605ff61f874d31797
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoMerge changes I8fface6e,I834d67dc into devel
Hasan Wan [Mon, 29 Jul 2013 02:43:08 +0000 (19:43 -0700)]
Merge changes I8fface6e,I834d67dc into devel

* changes:
  Added GERRIT_SILENT_MODE to confguration
  Added -synctd -syncto and -common packages.

11 years agoMerge "Updated build-check job configuration" into devel
Hasan Wan [Mon, 29 Jul 2013 02:40:22 +0000 (19:40 -0700)]
Merge "Updated build-check job configuration" into devel

11 years agoMerge "Updated pre-release-create job configuration" into devel
Hasan Wan [Mon, 29 Jul 2013 02:39:27 +0000 (19:39 -0700)]
Merge "Updated pre-release-create job configuration" into devel

11 years agoMerge "Updated image-creator and requests job configs" into devel
Hasan Wan [Mon, 29 Jul 2013 02:39:04 +0000 (19:39 -0700)]
Merge "Updated image-creator and requests job configs" into devel

11 years agoAdded GERRIT_SILENT_MODE to confguration
Ed Bartosh [Fri, 26 Jul 2013 21:17:57 +0000 (00:17 +0300)]
Added GERRIT_SILENT_MODE to confguration

This variable is used in job_submitobs. It must be set to 1 for sync
Jenkins instances, where reporting back to Gerrit should be disabled.

Change-Id: I8fface6e1cb7dc5fdfcf7e3e6484affbcca2fd0a
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded -synctd -syncto and -common packages.
Ed Bartosh [Fri, 26 Jul 2013 16:53:02 +0000 (19:53 +0300)]
Added -synctd -syncto and -common packages.

Added -common, -synctd and -syncto binary packages.
-synctd and -syncto are to be installed on tizen.org and tizendev
Jenkins instances. -common is to keep configuration and jobs, common for
all instances.

Change-Id: I834d67dcc33aecb7e66dac66db76f0c642470f37
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated build-check job configuration
Ed Bartosh [Mon, 22 Jul 2013 17:46:04 +0000 (20:46 +0300)]
Updated build-check job configuration

Synchronized changes with pptest Jenkins.

Change-Id: Iaa89b3c1a31aa033ce2bc831c702a4550b0ac1d6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated job configuration changes
Ed Bartosh [Mon, 22 Jul 2013 17:55:33 +0000 (20:55 +0300)]
Updated job configuration changes

Similar changes to multiple jobs. Mainly caused by priority plugin(no
default value anymore) and plugin version upgrades.

Change-Id: I76229d91db65b39efbd3f52afcb99830b5e7f587
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated pre-release-create job configuration
Ed Bartosh [Mon, 22 Jul 2013 18:00:35 +0000 (21:00 +0300)]
Updated pre-release-create job configuration

Updated from pre-production testing. Inluded ws-cleanup changes,
priority sorter and plugin version updates.

Change-Id: I64928f4b64421429651d33f30fd04f10d75683b3
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>