mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 02:14:29 +00:00
ci: cache: Tag agent-ctl cache
The peer pods project is using the agent-ctl tool in some tests, so tagging our cache will let them more easily identify development versions of kata for testing between releases. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
committed by
Steve Horsman
parent
75d23b8884
commit
51f41b1669
@@ -1117,6 +1117,7 @@ install_tools_helper() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${tool}" == "agent-ctl" ]]; then
|
if [[ "${tool}" == "agent-ctl" ]]; then
|
||||||
|
artefact_tag="$(git log -1 --pretty=format:"%H" ${repo_root_dir})"
|
||||||
defaults_path="${destdir}/opt/kata/share/defaults/kata-containers/agent-ctl"
|
defaults_path="${destdir}/opt/kata/share/defaults/kata-containers/agent-ctl"
|
||||||
mkdir -p "${defaults_path}"
|
mkdir -p "${defaults_path}"
|
||||||
install -D --mode 0644 ${repo_root_dir}/src/tools/${tool}/template/oci_config.json "${defaults_path}/oci_config.json"
|
install -D --mode 0644 ${repo_root_dir}/src/tools/${tool}/template/oci_config.json "${defaults_path}/oci_config.json"
|
||||||
|
Reference in New Issue
Block a user