Template:CustomCIStatus: Difference between revisions
No edit summary |
(Swap around the order to surface gitlab, promote GitLab to primary, update links to travis-ci.com) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next | {{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next}} | ||
</pre> | </pre> | ||
Give: | Give: | ||
{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next | {{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next}} | ||
=== Parameters === | |||
* user - username (assumes you use the same one across systems) | * user - username (assumes you use the same one across systems) | ||
* repo - name of your repo | * repo - name of your repo | ||
* branch - branch you are tracking | * branch - branch you are tracking | ||
[[Category:Template]] | [[Category:Template]] | ||
=== Defaults === | |||
The defaults are set to track the master branch of the main repository: | |||
</noinclude>{| class="wikitable sortable" border=1 | </noinclude>{| class="wikitable sortable" border=1 | ||
! System | ! System | ||
! Summary | |||
! Focus | ! Focus | ||
! | ! Branch:{{{branch|master}}} status | ||
|- valign="top" | |- valign="top" | ||
| [[Testing/ | | [[Testing/CI/GitLabCI|GitLab CI]] | ||
| | | [https://gitlab.com/{{{user|qemu}}}/{{{repo|qemu}}}/pipelines pipelines] | ||
| Primary CI, tries to incorporate data from others | |||
| https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/badges/{{{branch|master}}}/pipeline.svg [https://gitlab.com/{{{user|qemu-project}}}/{{{repo|qemu}}}/pipelines/charts] | |||
|- | |- | ||
| [https://cirrus-ci.com/github/qemu/qemu | | [[Testing/CI/CirrusCI|Cirrus CI]] | ||
|[https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}} build history] | |||
| FreeBSD compiles | | FreeBSD compiles | ||
| | | {{CirrusCIStatus|user={{{user|qemu}}}|repo={{{repo|qemu}}}|branch={{{branch|master}}}}} | ||
|- | |- | ||
| [ | | [[Testing/Travis|Travis]] | ||
| | | [https://travis-ci.com/{{{user|qemu}}}/{{{repo|qemu}}}/builds build history] | ||
| Non-x86_64 hosts | |||
| {{TravisCIStatus|user={{{user|qemu}}}|repo={{{repo|qemu}}}|branch={{{branch|master}}}}} | |||
|} | |} | ||
[[Category:CI Tracking Pages]] | [[Category:CI Tracking Pages]] |
Latest revision as of 10:12, 30 June 2021
Usage
This template can be embedded on any page to report the status of any branch using the template transclusion syntax:
{{CustomCIStatus|user=stsquad|repo=qemu|branch=testing/next}}
Give:
System | Summary | Focus | Branch:testing/next status |
---|---|---|---|
GitLab CI | pipelines | Primary CI, tries to incorporate data from others | https://gitlab.com/stsquad/qemu/badges/testing/next/pipeline.svg [1] |
Cirrus CI | build history | FreeBSD compiles | https://api.cirrus-ci.com/github/stsquad/qemu.svg [2] |
Travis | build history | Non-x86_64 hosts |
Parameters
* user - username (assumes you use the same one across systems) * repo - name of your repo * branch - branch you are tracking
Defaults
The defaults are set to track the master branch of the main repository:
System | Summary | Focus | Branch:master status |
---|---|---|---|
GitLab CI | pipelines | Primary CI, tries to incorporate data from others | https://gitlab.com/qemu-project/qemu/badges/master/pipeline.svg [3] |
Cirrus CI | build history | FreeBSD compiles | https://api.cirrus-ci.com/github/qemu/qemu.svg [4] |
Travis | build history | Non-x86_64 hosts |