summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick-get-k8s-conf.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-03-21Fetch creds according scenario type(os or k8)chenjiankun1-0/+1
We have two kinds of scenario: os and k8, their creds is defferent, so we need to fetch creds according different scenario type. Change-Id: I54d1a1fcdfa981fed2a1433693aa3483abf4baf0 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-01-05Enable kubernetes test suite for compasschenjiankun1-1/+5
Compass will put admin.conf file in /opt/admin.conf in compass-tasks container. We need to cp it to $HOME/admin.conf, then do a volume mapping so that yardstick docker container can have this file. Change-Id: I33b9ab4e44e363bd8375805bad7d8e5bf6af97fa Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-30Bugfix: Bad substitution wthen run shell scriptchenjiankun1-0/+1
When run yardstick-get-k8s-conf.sh, there is an error: /tmp/hudson2171423090360971912.sh: 6: /tmp/hudson2171423090360971912.sh: Bad substitution To solve this problem, we need set using /bin/bash to run script. If we do not set it, it will using /bin/sh by default. Change-Id: Ic3aa58dfad009c42974f98ea4366b6e5f50752ca Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-28Fetch admin.conf from master on kubernetes scenariochenjiankun1-0/+7
Now we have joid deploy kubernetes scenario We need admin.conf when run test case We can fetch admin.conf by: juju scp kubernetes-master/0:config admin.conf Also we need a jenkins job to fetch it. Change-Id: I13a6a17ca13e247cfc50774bf5104480fc03631a Signed-off-by: chenjiankun <chenjiankun1@huawei.com>