Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
[opensuse-buildservice] obs service github_tarballs
Hello,


I need your help with this _Service cause I want to get an automatic
rebuild after creating a new 'tag' in github.

On my research I stumbled over 'github_tarballs' Service which seems the
one to be used for this.

sadly there is not much documentation on how to use it ...

... used info from here:

https://openbuildservice.org/2013/11/22/source-update-via_token


... so I took the sample from 'github code' ...


<services>

  <service name="obs_scm">

    <param name="url">git://github.com/openSUSE/obs-build.git</param>

    <param name="scm">git</param>

  </service>

  <service mode="buildtime" name="tar" />

  <service mode="buildtime" name="recompress">

    <param name="file">*.tar</param>

    <param name="compression">xz</param>

  </service>

  <service mode="buildtime" name="set_version" />

  <service name="github_tarballs">

    <summary>Download tarballs and update package data</summary>

    <description>This service downloads tarballs and updates the spec
file version and changes file</description>

    <param name="url">

     
<description>https://github.x.y.z/user/mpremoval/archive/1.0.tar.gz</description>

      <required/>

    </param>

    <param name="package">

      <description>mpremoval</description>

    </param>

    <param name="filename">

      <description>mpremoval</description>

    </param>

    <param name="email">

      <description>user@xxxxxxxxxxxxx</description>

      <required/>

    </param>

    <param name="repo_owner">

      <description>user</description>

      <required/>

    </param>

    <param name="repo_name">

      <description>mpremoval</description>

      <required/>

    </param>

    <param name="target">

      <description>tokencode(removed)</description>

      <required/>

    </param>

  </service>

</services>


...but then I am running into the following Error when trying to do a
local build ...

Server returned an error: HTTP Error 400: Bad Request

remote error: unknown element  summary


seems that the 'service' section for 'github_tarballs' is not correct.

Or I am doing something completely wrong.

So any help on how to get this work would be really appreciated.

Thank you for your help ...


Kind Regards

Chris


P.S.: the package 'obs-service-github_tarballs' is  installed is
installed on the  OBS instance.

both, github and obs are own instances ....


< Previous Next >