Changeset 1189 for obs_notify_generic


Ignore:
Timestamp:
Jun 17, 2015, 6:03:44 PM (10 years ago)
Author:
joergs
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obs_notify_generic/obs_notify_generic_config.pm

    r1186 r1189  
    88#our $logfile = "/tmp/obs_notify_generic.log";
    99our $cfg     = {
     10    'TEST_TYPE' => [
     11        {
     12            "log" => 1, 'filter' => { 'project' => 'myprj' , 'repo' => 'myrepo' },
     13            "action" => '/tmp/test.sh $repo $project',
     14        } ],
    1015    "BUILD_FAIL"         => [ { "log" => 1,
    1116            #{'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'}
     
    1318        },
    1419     ],
    15     "BUILD_SUCCESS"      => [ { "log" => 0,
     20    "BUILD_SUCCESS"      => [ { "log" => 1,
    1621            #"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'}
    1722        },
     
    2227        },
    2328        {
    24                         "filter" => { 'project' => 'bareos:master', 'package' => 'bareos-docs', 'repository' => 'Debian_8.0', 'arch' => 'x86_64' },
     29            "filter" => { 'project' => 'bareos:master', 'package' => 'bareos-docs', 'repository' => 'Debian_8.0', 'arch' => 'x86_64' },
    2530            "action" => 'sudo -u publisher /usr/local/bin/unpack_docs_package_obs.sh $project $package $repository $arch $project_path/documentation',
    2631            "log"    => 1,       
    2732        },
    2833     ],
    29     "REPO_PUBLISH_STATE" => [ { "log" => 0,
     34    "REPO_PUBLISH_STATE" => [ { "log" => 1,
    3035            #"filter" => {  'repo' => 'Debian_8.0', 'time' => 1433345412, 'project' => 'bareos:master' },
    3136        },
     
    3843        },
    3944        {
    40             "filter" => { 'project' => '.*bareos.*|internal:.*', 'repository' => '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/$repository $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/',
    4247            "log"    => 1,
    4348        },
    4449    ],
    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" => [],
    5257    "UNKNOWN"                      => [ { "log" => 1 } ],
    5358};
Note: See TracChangeset for help on using the changeset viewer.