summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2016-08-04Merge "[compass] change the cmd of getting endpoint because of ugly warnings"meimei1-4/+2
2016-08-03arm-pod1: Adding arm-pod1 to the list of CI podsPaul Vaduva1-0/+1
Adding arm-pod1 to a list of hardcoded pods, marking it as a CI pod. JIRA: ARMBAND-62 Change-Id: I549cd1a546d1021338922a027f173805a2a8e285 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-08-03[compass] change the cmd of getting endpoint because of ugly warningsmeimei1-4/+2
Change-Id: I5082a6fb3a2d27d17753cf42dc1555cbb3d8eb9a Signed-off-by: meimei <meimei@huawei.com>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng3-27/+47
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-26Replace single by double quotes in fetch credentialsjose.lausuch1-1/+1
'fuel --env $env_id' fails because a variable in single quotes is not read, it is treated as a literal string. When using double quotes, the variable is replaced by its value Change-Id: I39e777ec27c547e012d6f4674bc24e20d421889c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-26Use head instead of tailDimitri Mazmanov1-1/+1
When retreiving an environment id use head to get the first available environment Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-25Merge "Enable delete for artifact retention script"Aric Gardner1-0/+2
2016-07-25Enable delete for artifact retention scriptAric Gardner1-0/+2
To see what will be deleted: https://build.opnfv.org/ci/view/All/job/artifact-cleanup-daily-master/18/console Checked with ovs team, and we are good to remove their varied rpms. No reponse from the apex, compas, armband or fuel leads, but nothing wierd being deleted there, just old isos Change-Id: If4e7592192dcc80388aa872633d1fcca6442186f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-25Make environment id dynamicDimitri Mazmanov1-1/+8
Removed hardcoded value of fuel environment. The value is now fetched from an environment variable FUEL_ENV. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: Iae8e5139f013ca7947e79a1a9a44efd82f48b95b
2016-07-25Always use controller from environment 1Dimitri Mazmanov1-1/+1
In case of multiregion fuel deployments (which is implemented using fuel environments), always use a controller from the first environment (RegionOne), as for multisite RegionOne is the master region. This fix will not affect single region deployments, because the -env 1 property will result in the same single output. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-22Redirect stdout to /dev/null when pushing results to artifactsjose.lausuch1-1/+1
Change-Id: Iafa37838337caf8c196b396f2e94c405629a0e2c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-21Don't fail the build if importing gpg key failsAric Gardner1-3/+3
I prefer that the build succeeds even if the siging fails. once we have the signing working on all pods I will revert this change. Change-Id: Icc5e0a158ccee6e09be9b275d403f5252a473430 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-21enable uploading log from huawei nodesmeimei1-2/+2
Change-Id: Ie69fa1f4493e806a8c357a4cff1f9c51bbfa591e Signed-off-by: meimei <meimei@huawei.com>
2016-07-21Implementation of testcase/pod declaration dashboard for adding tescasesraghavendracharik3-0/+297
JIRA: FUNCTEST-26 Change-Id: Iceb1c54ba8c245d43cc553533fdf4fd3284c7132 Signed-off-by: raghavendracharik <raghavendrachari.kamsali@hpe.com>
2016-07-21[compass] undo uploading test results untill got the credentialmeimei1-1/+3
Change-Id: I0352866f022b9f0ca71e5c6a21126983266d39a9 Signed-off-by: meimei <meimei@huawei.com>
2016-07-20Remove md5 hashes from OPNFV Artifact APITrevor Bramwell1-11/+0
These are not used and irrelevant Change-Id: I742b5c33087749804fb16d1df21b15e7dfe44c4d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-07-18Add support for ubuntu (keep support for centos)Aric Gardner1-7/+24
Compass signing was failing on ubuntu Change-Id: Ieda6cfd67c7b36045b0a30c01a0eb3f0e7165710 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-14Merge "Enable Artifact signing for Compass"Aric Gardner1-0/+1
2016-07-14Merge "fixes for docs-build.sh migration"Aric Gardner1-234/+0
2016-07-13Enable Artifact signing for CompassAric Gardner1-0/+1
The change to gpg_import_key is just so that I could +x it. Change-Id: I647d0586e7c5f653f6c1a479db2b1c75c4620064 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-12auto update of testAPI using ansible-playbookSerenaFeng9-58/+160
rename db related files write ansible file update README.md JIRA: FUNCTEST-360 Change-Id: Ib1a1a5ad846ed003cf90da770d94ceb7c011d39d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-07Need more coffee, I put in the pull path to the executableAric Gardner1-1/+1
Change-Id: I48eb7a57a3f08cb7e00569ab9d76e96a92709b20 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Add gsutil to pathAric Gardner1-0/+2
Change-Id: I8d59f267190f997e1d47e1d58c432d3c63337a06 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Script needs to be executableAric Gardner1-2/+2
Change-Id: I7559c654580c8131f6180e70475cec1ab12ffbcc Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Merge "Add check for Requiretty add timeout"Aric Gardner1-2/+10
2016-07-07Merge "Initial commit of retention script"Morgan Richomme1-0/+37
2016-07-07fixes for docs-build.sh migrationRyota MIBU1-234/+0
JIRA: RELENG-130 See also https://gerrit.opnfv.org/gerrit/16515 . Change-Id: I365ecc4efd6f361f76ec527b4b43fae643f8478b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-07Merge "minor bug fixes"Morgan Richomme2-21/+18
2016-07-07minor bug fixesMorgan Richomme2-21/+18
Change-Id: I8ea8b03559a27374cb387ed9a4f3b0b08364f7ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-07Merge "flake 8 fix + add logger"Morgan Richomme7-124/+208
2016-07-07flake 8 fix + add loggerMorgan Richomme7-124/+208
Change-Id: Ib8fbf0e784b57ea9be824e95fafe68e991b80aab Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06I had a hanging done...Aric Gardner1-1/+0
Change-Id: I0cba3a8e4e85c22e5cebf3085b249c6ec8ebbbe0 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06gsutil was not in pathAric Gardner1-0/+2
Change-Id: Ieaf81a93e9b7a8a0e582f93e8a1bd7faa737af46 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Initial commit of retention scriptAric Gardner1-0/+37
Includes job to kick off retention script Retention script will just list files, nothing is done at this time does not yet dive into the brahmaputra directories. Change-Id: I2e608262130326944880b9694fbb8d6a12c09be0 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Testing signing artifactsAric Gardner1-0/+25
gpg agent does not work in non interactive mode. merging this so that I can reproduce and debug Change-Id: I641e8988885aa2d0acf794c9ec7592cb6c90a3e9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Merge "Add a put result method to modify trust_indicator"Morgan Richomme7-38/+150
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng7-38/+150
update trust_indicator date model add update trust_indicator method add unittest add swagger information JIRA: FUNCTEST-309 Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-06[functest] Upload the specified version of the directorymeimei1-1/+1
Change-Id: Ia185feab00336c35888e1e7b3ff6cd71077e30f8 Signed-off-by: meimei <meimei@huawei.com>
2016-07-05Merge "This will enable artifact signing for apex uploads"Aric Gardner1-0/+42
2016-07-05This will enable artifact signing for apex uploadsAric Gardner1-0/+42
sources gpg_import_key.sh which: -installs gpg2 -imports key -grabs proper key based on $NODE_NAME only tries to sign if the key is correctly imported otherwise it will skip signing and just do the upload Keys have only been created for lf intel and ericsson labs Keys are only unique per company Master pubkey has not been sent to the key server Or brought into the web of trust. Lets see that this works as I expected rather than having to go through the pain of revoking these keys. Change-Id: Ifa4bc4e11407c53f8174f6c64945949bf66d6535 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-05fix bug + introduction of blacklist for scenario scoringMorgan Richomme3-42/+71
Change-Id: Ib1a99cbeeb66d4c51eedb56d25d317b92602d51d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-05dockerize testAPISerenaFeng3-0/+72
running testAPI in a docker container JIRA: FUNCTEST-352 Change-Id: I93d7bae847da4c6527d9907611108b79cb0cc31b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-02using ProjectUpdateRequest when update projects record in testAPISerenaFeng1-2/+2
ProjectCreateRequest -> ProjectUpdateRequest JIRA: FUNCTEST-344 Change-Id: I714bef8bd6c2e98b82dfd37ee71dea56967e8552 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-01Merge "correct swagger description of last in testAPI"Morgan Richomme1-1/+1
2016-07-01Merge "Add huawei-pod2 and huawei virtual pod as CI POD"Morgan Richomme1-1/+1
2016-07-01correct swagger description of last in testAPISerenaFeng1-1/+1
last days => last records stored until now JIRA: FUNCTEST-341 Change-Id: I59e7b73e0a5c575d65cd0aced99fc53c13906709 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30delete 'description' of 'Result' in testAPISerenaFeng1-3/+0
delete description assignments JIRA: FUNCTEST-339 Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30Add check for Requiretty add timeoutAric Gardner1-2/+10
if tty is requried monit fails, this will alert the user of this issue if the wget takes to long monit panics and restart the process Change-Id: Idf40a6150d1c87ec1b4b6652ace85680c6edb4fc Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-06-30Add huawei-pod2 and huawei virtual pod as CI PODMorgan Richomme1-1/+1
Change-Id: Id1df2534811db42c40de6212113baabad6aa864d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-30add log info when publish json to elasticsearch failedSerenaFeng2-2/+9
add logger.info when publish failed JIRA: FUNCTEST-325 Change-Id: I353001c4305af31dd725e0977ced53d52ba79470 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>