summaryrefslogtreecommitdiffstats
path: root/qtip/scripts
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21mistaken delete usefuel public keywu.zhihui1-2/+2
Previously, cleanup_creds.sh will delete public keys which of comment info is "root@$hostname". It could delete useful keys by accident. In this patch, cleanup_creds.sh will only delete the key which matches the key's content. JIRA: QTIP-228 Change-Id: I1095de656570b816b7e170688acd01c27b98e74c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit eaa225cf0c9b8b7bc63b35acdeef75dbacb8b905)
2017-03-15add the cleanup step in runner.pywu.zhihui1-1/+10
Add the cleanup step in runner.py Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit 57ec2e7a9757cbb1da8a1f73f0c55e8a5cb67bec)
2017-03-11env cleanupwu.zhihui1-0/+11
If IF_DEBUG is True, there is not cleanup step. If IF_DEBUG is False, host file and keypair will be deleted on local and public key will be removed from remote nodes in the end of test. Change-Id: I4a88acc2d428e41e4abaedacb011e27468b2cb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit d37dad746e504e833abcf2ae058f2b81e2a9d365)
2017-03-03bugfix on bash scriptswu.zhihui2-21/+18
When debugging on real environment, I found these two bugs. Local test is ok. Change-Id: I799afe6a4c24fcdf370d761c83376ca3f2ce43d2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-28refactor code related with setup envwu.zhihui2-17/+23
- modify env.py and scripts - add unit test Change-Id: I416cd517bdddfeb907675705009d83ecada7f87c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-23refactor useful legacy code about preparing test enviromentwu.zhihui2-0/+147
- move useful scripts to qtip/scripts - refactor some functions which belong to env_setup.py and add them to qtip/runner/env.py Change-Id: Ibf6c27103dfc45016920f4b602cd72d703c1f636 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>