aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/_functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-07-15Provide wrapper functions for issuing k8splugin API callsKonrad Bańka1-0/+38
In plugin.sh and plugin_edgex.sh test scenarios, there are executed many curl calls to API endpoint. As curl's default behavior for handling 4xx and 5xx status code is not perfect, wrapper functions have been created to easily ensure correctness of issued API call. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I0c6dd5e4f896972245a6fa6c8c2a10d8df8ec406
2019-06-20Unify resolving current directory in KUD scriptsSamuli Silvius1-1/+1
Issue-ID: MULTICLOUD-685 Change-Id: I62199f64da360627a13c467139a39430ae389167 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-06-10Make ovn-central network interface configurableSamuli Silvius1-11/+12
installer.sh script is configuring ovn-central address <ip>:<port> to environment variable. Ip address is detected from the ovn-central host through ansible by grepping ifconfig output, but in this step detected network interface is hard-coded in the code to be "eth1". This commit makes network interface configurable in aio/vagrant deployment. Issue-ID: MULTICLOUD-621 Change-Id: Icbe22ffdcb45c5f16067ea609eec76fb70c0ea78 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-23Install jq as an dependency for yqSamuli Silvius1-23/+0
Before using yq binary we need to install also its dependency jq. This commit is fixing jq installation in case it was required as dependency for yq. Also refactored a bit dependency installations of tests. Issue-ID: MULTICLOUD-617 Change-Id: I0ea1143befa1cff809c231422b5cfb14fba1de4e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-09Source /etc/environment for testsSamuli Silvius1-0/+2
After KUD deployment (at least aio.sh), if running related tests immediately in the same shell session, system wide environment variables (/etc/environment) are not effective. This commit sources /etc/environment in commonly used _functions.sh. Issue-ID: MULTICLOUD-619 Change-Id: I75cccdd8bdc8a67b92239704160331c58ad69d08 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-22Restructuring the repo.Akhila Kishore1-0/+155
The idea is to restructure the existing repo create a deployment independent of Vagrant or other hosting providers. Renamed KRD to KUbernetes Deploy(Kud) including the ansible scripts Added new path to functional tests. Moved samples pdfs to sites. Minor changes to Readme. Updated aio.sh, moved sample config Corrected other nits. Updated and verified test cases. Addressed comments and changes associated with it. Updated Readme and minor change in Vagrantfile. Validated test cases again. Moved aio.sh into vagrant folder. Added new README for each hosting provider and project on the whole. Updated the installer script with relative path. Updated the name to deployment_infra, moved the cFW sripcts to tests. Updated the gitignore file. Issue-ID: MULTICLOUD-301 Change-Id: Ie48c26b12ab58b604493fba58a9c5b9f8ba10942 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>