Changeset 1185


Ignore:
Timestamp:
Jun 12, 2015, 3:43:05 PM (10 years ago)
Author:
joergs
Message:

configured extraction of bareos-docs, winbareos installer and opsi packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obs_notify_generic/obs_notify_generic_config.pm

    r1178 r1185  
    1717            #"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'}
    1818        },
     19        {
     20            "filter" => { 'project' => '.*bareos.*|internal:.*', 'package' => 'winbareos-opsi', 'repository' => 'win_cross', 'arch' => 'x86_64' },
     21            "action" => 'install -d $project_path/windows/opsi --owner=publisher; su - publisher /usr/local/bin/unpack_opsi_package_obs.sh $project $package $repository $arch $project_path/windows/opsi',
     22            "log"    => 1,
     23        },
     24        {
     25                        "filter" => { 'project' => 'bareos:master', 'package' => 'bareos-docs', 'repository' => 'Debian_8.0', 'arch' => 'x86_64' },
     26            "action" => 'su - publisher /usr/local/bin/unpack_docs_package_obs.sh $project $package $repository $arch $project_path/documentation',
     27            "log"    => 1,       
     28        },
    1929     ],
    2030    "REPO_PUBLISH_STATE" => [ { "log" => 0,
     
    2434    "REPO_PUBLISHED"     => [
    2535        {
    26             "filter" => { 'project' => '.*bareos.*', },
     36            "filter" => { 'project' => '.*bareos.*|internal:.*', },
    2737            #"action" => 'printf "%s\n" $project',
     38            "log"    => 1,
     39        },
     40        {
     41            "filter" => { 'project' => '.*bareos.*|internal:.*', 'repository' => 'win_cross' },
     42            "action" => '/usr/local/bin/unpack_installers_windows_single_project.sh $project_path/$repository $project_path/windows/',
    2843            "log"    => 1,
    2944        },
Note: See TracChangeset for help on using the changeset viewer.