kata-manager: do not depend on git,go or local repos#829
kata-manager: do not depend on git,go or local repos#829jodh-intel merged 1 commit intokata-containers:masterfrom
Conversation
|
/cc @grahamwhaley |
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
cute! :)
Nit: Minor typo though as this should probably be downloaders_list (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
cmd/kata-manager/kata-manager.sh
Outdated
| typeset -r default_config_file="/usr/share/defaults/kata-containers/${config_file_name}" | ||
| typeset -r local_config_file="/etc/kata-containers/${config_file_name}" | ||
| typeset -r kata_doc_to_script="${test_repo}/.ci/kata-doc-to-script.sh" | ||
| typeset -r -A dowloaders_list=([curl]="-fsSL" [wget]="-O -") |
There was a problem hiding this comment.
Cute!
Nit: Typo as this should be downloaders_list presumably (missing n)?
chavafg
left a comment
There was a problem hiding this comment.
once the minor typo issue is fixed, this l g t m.
Tested on centos and works great 👍
12b27d0 to
8fa76a4
Compare
Make kata-manager able to run on base non development systems, where git, golang and kata local repos may not be available. Fixes: kata-containers#828 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
8fa76a4 to
1988d50
Compare
|
Glad to see this works for you too :) I guess I can remove the WIP then,, and thanks for spotting the typo. |
grahamwhaley
left a comment
There was a problem hiding this comment.
Interesting set of changes - funky use of bash array ;-)
lgtm
|
/test |
|
Umm, not sure what happened here. I close the issue as I thought this PR was merged but github tells me I closed it?!? I'm going to merge this with the following justification:
If there are issues, we can fixup in a follow-up PR. I'm about to re-test once it lands too and will report back here... |
|
Tested latest Hopefully, we'll get the automated CI tests on kata-containers/documentation#280 landed "real soon now" :) |
Make kata-manager able to run on base non development systems,
where git, golang and kata local repos may not be available.
Fixes: #828
Signed-off-by: Marco Vedovati mvedovati@suse.com