aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sdc
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09Add support for https tests for SDC-DCAE-DPetr Ospalý1-12/+35
This commit introduces a new set of variables for sdc-dcae-d test in the same style as was for sdc tests. Some refactor had to be done to make it work and make it less copy-pasted. Issue-ID: SDC-2564 Change-Id: Ic0725dbc4643d0563594f28d2a772968e291f788 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-10-02Fix SDC_LOCAL_GITREPO for relative pathsPetr Ospalý1-0/+1
SDC_LOCAL_GITREPO will not do what you want (most likely) if used with a relative path - it worked only with an absolute one. This commit fixes this but it adds a new requirement: 'realpath'; which should be on any system as it is part of the coreutils and similar package sets. Issue-ID: SDC-2553 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I2d79252cb315538997c91b754acb59f52469df00
2019-09-20Add support for HTTPS in SDC sanity/uiSanity testsPetr Ospalý1-25/+73
New variable: SDC_TEST_HTTPS Adjusted robot test too and fixed bad naming there - it was not the SDC BE container but SDC FE. For this change to work the upstream change in SDC has to be merged too - or use this only with a local repo and with some proper setup. + Added quotes around shell variables Issue-ID: SDC-2564 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I3db9f2e1c22a539df3b6c356bd91f67f0328cbd7 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-09-09Remove noop codePetr Ospalý1-38/+0
This commit removes one 2 minutes sleep which seems to be unnecessary and removes copy-pasted "timeout" code from sdc's docker_run.sh which also seems to be pointless and broken - the script fails to populate variable which results in broken docker command and that triggers pipefail if not disabled and if disabled then it just simply breaks out of the loop in the first iteration. Issue-ID: SDC-2558 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I65f92c5fda5b126b8178382fc463c31e67029d5a
2019-09-09Add support for testing of local SDC imagesPetr Ospalý1-3/+56
By default it is disabled and the test works as before, but by providing the SDC_LOCAL_IMAGES variable with a value of true/yes it will not use the upstream images (from registry) but instead the local one (in docker cache) - they have to be build beforehand of course. They are two more optional variables (if SDC_LOCAL_IMAGES == true/yes): SDC_LOCAL_GITREPO .. for local git repo instead of an upstream branch SDC_LOCAL_TAG .. it will use local images with this docker tag Issue-ID: SDC-2553 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: Ib64ca17e81aa9c3406e0a5d8fb403f1c1b0862a1
2019-06-26Adjust DCAE-DS CSIT for Jenkins and to masterkaihlavi2-99/+0
- directory structures of DCAE-DS CSIT plans, scripts and tests have been changed to be more compatible with jjb templates to enable working Jenkins jobs - robot tests adjusted to latest changes in robotframework-onap library Change-Id: Id05602a88557267cc7ae77f066877680ae431a7f Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-25Merge "Remove data folder in CSIT teardown"Gary Wu1-8/+5
2019-06-25Merge "Clean up startup script"Gary Wu1-13/+0
2019-06-25Merge "Add initial CSIT case for DCAE-DS"Gary Wu2-2/+70
2019-06-25Remove data folder in CSIT teardownkaihlavi1-8/+5
- Remove data folder by force as sudo in kill script - Fix script name output (also in vid's corresponding script) Issue-ID: SDC-2362 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I91f031c74e7ae05ec4645677ec8c07b34ed28c0b
2019-06-18Add initial CSIT case for DCAE-DSkaihlavi2-2/+70
Add CSIT robot test and structure for DCAE-DS This test case provides initial basic implementation for monitoring configuration service creation and approval procedure - only unauthenticated backend http interfaces are used - distribution of the service is excluded - keyword libraries and templates should be refactored into testsuite repo - no logs are verified on runtime Change-Id: Ied08206fe8567a249c309bcd243e25b153b33da7 Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-07Clean up startup scriptkaihlavi1-13/+0
Issue-ID: SDC-2361 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I23823478fdc09207a084ebb328c1aa6f13638bdc
2019-06-04Remove obsolete start scriptskaihlavi2-187/+0
Issue-ID: SDC-2352 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: Id89ccc01e0e945d69e2eb576b5efead928843535
2019-05-30Merge "Add temporary kill script for SDC DCAE containers"Gary Wu1-0/+31
2019-05-30Add temporary kill script for SDC DCAE containerskaihlavi1-0/+31
Currently it is possible to start SDC's DCAE-DS docker containers with docker_run.sh (see https://gerrit.onap.org/r/#/c/sdc/+/88549/) but the containers are not killed by corresponding kill_containers_and_remove_dataFolders.sh - this script provides the ability to kill them until image naming and tagging has more complete solution that should render this one obsolete Change-Id: I623db3ace0d4e14b925254bd21528bfa8e00f458 Issue-ID: SDC-2342 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-27Correct minor typos in scriptkaihlavi1-5/+4
Issue-ID: SDC-2333 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I5d5d44cd8dfcb8d81250af182915c163efb9a576
2019-05-21Combine similar SDC setup scripts into onekaihlavi2-94/+22
Replace almost identical setup scripts for SDC api and ui tests with one that takes the wanted SDC test suite as an argument Change-Id: Ic48ffa82a41d80da860eb043e3dfb71f55cc08ad Issue-ID: INT-1084 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2018-09-27Adjust relative paths for CSIT filesGary Wu4-14/+14
Remove leading test/csit/ from all relative paths to accomodate the move into integration/csit repo. Change-Id: Id9482b46df839f5eba28135e9f987a3eda1d7d94 Issue-ID: INT-671 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-09-27Move CSIT to integration/csit repoGary Wu6-0/+419
To facilite branching of CSIT tests, all CSIT test code and scripts are relocated to the integration/csit repo. Change-Id: I1e4c0eff44691f73f8098b3c52764107f6b8b8df Issue-ID: INT-671 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>