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:
@@ -4,8 +4,8 @@
|
|||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://github.com/kata-containers/ksm-throttler.git</param>
|
<param name="url">https://github.com/kata-containers/ksm-throttler.git</param>
|
||||||
<param name="filename">kata-ksm-throttler</param>
|
<param name="filename">kata-ksm-throttler</param>
|
||||||
<param name="versionformat">@VERSION@.git+%h</param>
|
<param name="versionformat">@VERSION@.git+@HASH@</param>
|
||||||
<param name="revision">@REVISION@</param>
|
<param name="revision">@HASH@</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress">
|
<service name="recompress">
|
||||||
<param name="file">*.tar*</param>
|
<param name="file">*.tar*</param>
|
||||||
|
@@ -34,16 +34,14 @@ RELEASE=$(get_obs_pkg_release "${PROJECT_REPO}")
|
|||||||
((RELEASE++))
|
((RELEASE++))
|
||||||
[ -n "$APIURL" ] && APIURL="-A ${APIURL}"
|
[ -n "$APIURL" ] && APIURL="-A ${APIURL}"
|
||||||
|
|
||||||
|
|
||||||
set_versions "$ksm_throttler_hash"
|
set_versions "$ksm_throttler_hash"
|
||||||
|
|
||||||
replace_list=(
|
replace_list=(
|
||||||
"GO_CHECKSUM=$go_checksum"
|
"GO_CHECKSUM=$go_checksum"
|
||||||
"GO_VERSION=$go_version"
|
"GO_VERSION=$go_version"
|
||||||
"GO_ARCH=$GO_ARCH"
|
"GO_ARCH=$GO_ARCH"
|
||||||
"HASH=${HASH:0:7}"
|
"HASH=${short_hashtag}"
|
||||||
"RELEASE=$RELEASE"
|
"RELEASE=$RELEASE"
|
||||||
"REVISION=$HASH"
|
|
||||||
"VERSION=$VERSION"
|
"VERSION=$VERSION"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user