aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sdc/setup_sdc_for_sanity.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-07-09Adding basic E2E test for workflow designerAshish Singh1-6/+8
Change-Id: I45c3fb5a8b26fdd75084c07a9f934b8800259c35 Signed-off-by: Ashish-uzumaki <1998ashishsingh@gmail.com> Issue-ID: SDC-3193 Signed-off-by: Ashish-uzumaki <1998ashishsingh@gmail.com>
2020-03-23Replace ifonfig with ip aLasse Kaihlavirta1-1/+1
- replace obsolete ifconfig with more modern command ip a Issue-ID: SDC-2824 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I5341e49f45b263c3dde3dc4923dc8233331f518e
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-07Clean up startup scriptkaihlavi1-13/+0
Issue-ID: SDC-2361 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I23823478fdc09207a084ebb328c1aa6f13638bdc
2019-05-21Combine similar SDC setup scripts into onekaihlavi1-0/+98
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>