Changeset 1189 for obs_notify_generic/obs_notify_generic_config.pm
- Timestamp:
- Jun 17, 2015, 6:03:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
obs_notify_generic/obs_notify_generic_config.pm
r1186 r1189 8 8 #our $logfile = "/tmp/obs_notify_generic.log"; 9 9 our $cfg = { 10 'TEST_TYPE' => [ 11 { 12 "log" => 1, 'filter' => { 'project' => 'myprj' , 'repo' => 'myrepo' }, 13 "action" => '/tmp/test.sh $repo $project', 14 } ], 10 15 "BUILD_FAIL" => [ { "log" => 1, 11 16 #{'time' => 1433345372,'arch' => 'i586','project' => 'internal-contrib','starttime' => '1433251922','endtime' => '1433251953','repository' => 'xUbuntu_12.04','verifymd5' => '8433953f4b73bd466761288c0f80e6a2','versrel' => '14.2.1.git.1433164956.fa91388-184','reason' => 'source change','release' => '184.1%{?dist}','readytime' => '1433250774','package' => 'bareos-webui','srcmd5' => 'eb58c494ef496f99f547e1aab47b7868','workerid' => 'obs-worker-hansa-2:4','rev' => '184','bcnt' => '1'} … … 13 18 }, 14 19 ], 15 "BUILD_SUCCESS" => [ { "log" => 0,20 "BUILD_SUCCESS" => [ { "log" => 1, 16 21 #"filter" => {'time' => 1433345521,'arch' => 'x86_64','project' => 'home:joergs:test','starttime' => '1433345469','endtime' => '1433345520','repository' => 'SLE_12','verifymd5' => '8ed8404ad362e7095e66119a071f3eea','versrel' => '0.1-11','reason' => 'source change','release' => '11.1','readytime' => '1433345468','package' => 'test1','srcmd5' => '8ed8404ad362e7095e66119a071f3eea','workerid' => 'obs-worker-hansa-1:4','rev' => '11','bcnt' => '1'} 17 22 }, … … 22 27 }, 23 28 { 24 29 "filter" => { 'project' => 'bareos:master', 'package' => 'bareos-docs', 'repository' => 'Debian_8.0', 'arch' => 'x86_64' }, 25 30 "action" => 'sudo -u publisher /usr/local/bin/unpack_docs_package_obs.sh $project $package $repository $arch $project_path/documentation', 26 31 "log" => 1, 27 32 }, 28 33 ], 29 "REPO_PUBLISH_STATE" => [ { "log" => 0,34 "REPO_PUBLISH_STATE" => [ { "log" => 1, 30 35 #"filter" => { 'repo' => 'Debian_8.0', 'time' => 1433345412, 'project' => 'bareos:master' }, 31 36 }, … … 38 43 }, 39 44 { 40 "filter" => { 'project' => '.*bareos.*|internal:.*', 'repo sitory' => 'win_cross' },41 "action" => 'sudo install -d $project_path/windows/ --owner=publisher; sudo -u publisher /usr/local/bin/unpack_installers_windows_single_project.sh $project_path/$repo sitory$project_path/windows/',45 "filter" => { 'project' => '.*bareos.*|internal:.*', 'repo' => 'win_cross' }, 46 "action" => 'sudo install -d $project_path/windows/ --owner=publisher; sudo -u publisher /usr/local/bin/unpack_installers_windows_single_project.sh $project_path/$repo $project_path/windows/', 42 47 "log" => 1, 43 48 }, 44 49 ], 45 "SRCSRV_COMMIT" => [],46 "SRCSRV_CREATE_PACKAGE" => [],47 "SRCSRV_CREATE_PROJECT" => [],48 "SRCSRV_DELETE_PROJECT" => [],49 "SRCSRV_UPDATE_PACKAGE" => [],50 "SRCSRV_UPDATE_PROJECT" => [],51 "SRCSRV_UPDATE_PROJECT_CONFIG" => [],50 # "SRCSRV_COMMIT" => [], 51 # "SRCSRV_CREATE_PACKAGE" => [], 52 # "SRCSRV_CREATE_PROJECT" => [], 53 # "SRCSRV_DELETE_PROJECT" => [], 54 # "SRCSRV_UPDATE_PACKAGE" => [], 55 # "SRCSRV_UPDATE_PROJECT" => [], 56 # "SRCSRV_UPDATE_PROJECT_CONFIG" => [], 52 57 "UNKNOWN" => [ { "log" => 1 } ], 53 58 };
Note:
See TracChangeset
for help on using the changeset viewer.