forked from iartarisi/obs-service-github_tarballs
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgithub_tarballs.service
29 lines (29 loc) · 1.26 KB
/
github_tarballs.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<service name="github_tarballs">
<summary>Download latest release tarball and update package data</summary>
<description>This service downloads the latest release tarball found on GitHub repository and updates the spec file version and changes file.
When you create a tag and upload to your GitHub repository you should also create a Release based on this tag.
Without having Releases this service will not work cause GitHub API only offers the ability to get 'latest release' but not 'latest tag'.
</description>
<parameter name="repourl">
<description>upstream URL of the github repository.</description>
<required/>
</parameter>
<parameter name="email">
<description>User's email that will be used to sign the rpm's .changes file</description>
<required/>
</parameter>
<parameter name="api">
<description>The github API URL, needed for github enterprise, e.g. github.example.com/api/v3 </description>
</parameter>
<parameter name="package">
<description>OBS package name.</description>
</parameter>
<parameter name="repo_owner">
<description>GitHub repository owner</description>
<required/>
</parameter>
<parameter name="repo_name">
<description>GitHub repository name</description>
<required/>
</parameter>
</service>