mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-23 01:37:27 +00:00
pkgs: ksm-throttler: allow to build any commit
Build any commit not only a tag. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!--- XML Structure defined here: https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService -->
|
||||
<!--- XML Structure defined here: https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService -->
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/kata-containers/ksm-throttler.git</param>
|
||||
<param name="filename">kata-ksm-throttler</param>
|
||||
<param name="versionformat">@VERSION@.git+%h</param>
|
||||
<param name="revision">@REVISION@</param>
|
||||
<param name="versionformat">@VERSION@.git+@HASH@</param>
|
||||
<param name="revision">@HASH@</param>
|
||||
</service>
|
||||
<service name="recompress">
|
||||
<param name="file">*.tar*</param>
|
||||
|
@@ -34,16 +34,14 @@ RELEASE=$(get_obs_pkg_release "${PROJECT_REPO}")
|
||||
((RELEASE++))
|
||||
[ -n "$APIURL" ] && APIURL="-A ${APIURL}"
|
||||
|
||||
|
||||
set_versions "$ksm_throttler_hash"
|
||||
|
||||
replace_list=(
|
||||
"GO_CHECKSUM=$go_checksum"
|
||||
"GO_VERSION=$go_version"
|
||||
"GO_ARCH=$GO_ARCH"
|
||||
"HASH=${HASH:0:7}"
|
||||
"HASH=${short_hashtag}"
|
||||
"RELEASE=$RELEASE"
|
||||
"REVISION=$HASH"
|
||||
"VERSION=$VERSION"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user