services/jenkins-jobs.git
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>
11 years agoUpdated image-creator and requests job configs
Ed Bartosh [Mon, 22 Jul 2013 18:37:42 +0000 (21:37 +0300)]
Updated image-creator and requests job configs

Included changes in priority plugin and changes caused by plugin version
upgrades.

Change-Id: I2537453546e99567e37fb1d86c2fc68a0a0c42e6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated obs-event-dispatcher job configuration
Ed Bartosh [Mon, 22 Jul 2013 17:40:02 +0000 (20:40 +0300)]
Updated obs-event-dispatcher job configuration

Updated ws-cleanup-related properties for obs-event-dispatcher plugin.
Changes caused by new version of plugin.

Change-Id: Icb1c3f5a2a73968eb53ea6e56cfd5e84fd1952b0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoMerge "Temporary disabled dependency" into devel
Lin A Yang [Wed, 24 Jul 2013 06:10:31 +0000 (23:10 -0700)]
Merge "Temporary disabled dependency" into devel

11 years agoIncreased priority of the obs-event-dispatcher job
Ed Bartosh [Sat, 20 Jul 2013 21:43:21 +0000 (00:43 +0300)]
Increased priority of the obs-event-dispatcher job

This job should have higher priority because it's handling OBS events.

Change-Id: Iaa4eff16d83289cabb2dee7700dfe2718387f78d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoTemporary disabled dependency
Ed Bartosh [Sat, 20 Jul 2013 22:21:48 +0000 (01:21 +0300)]
Temporary disabled dependency

Disabled runtime dependency to jenkins to be able to bypass installation
checks on testing environment.

Change-Id: Ia55199d4a56c8cc8868afa6b999295731136f0c6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated jobs from ppptest farm
Ed Bartosh [Sat, 6 Jul 2013 17:52:07 +0000 (20:52 +0300)]
Updated jobs from ppptest farm

This change synchronizes content of /var/lib/jenkins/jobs/ directory and
this project.

Change-Id: I188bb6449bee28acde683ef49d9c222dd67bccb8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoadd new job config for pre-release function
Lin Yang [Wed, 26 Jun 2013 06:56:00 +0000 (14:56 +0800)]
add new job config for pre-release function

Change-Id: Ib7780e6628b0de3dad41d10c449ec66d7d0485dc
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdded packaging
Ed Bartosh [Tue, 18 Jun 2013 15:56:55 +0000 (18:56 +0300)]
Added packaging

Integrated into OTC Tools Tester infra.
Versioning is changed according to Tools versioning policy.
Removed symlinking of /var/lib/jenkins/jobs as we always have jenkins
installed in /var/lib/jenkins and don't need any symlinking.

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

12 years agoInit project with current jobs setting
Lin Yang [Mon, 10 Sep 2012 08:01:32 +0000 (16:01 +0800)]
Init project with current jobs setting