summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot
AgeCommit message (Collapse)AuthorFilesLines
2022-01-06[CPS] Add CPS Global VariablesNagendra902871-0/+6
Adding CPS Global Variables to be used in running cps robot tests Issue-ID: CPS-840 Change-Id: I7aa562708323c73b3d4c74103f2061b5be02a8fa Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
2021-12-09Merge "[ROBOT] ADD BULKPM testsuite to use helm based component services"Sylvain Desbureaux3-10/+90
2021-12-08[ROBOT] ADD BULKPM testsuite to use helm based component servicesKrzysztof Kuzmicki3-10/+90
Changes required in OOM before adding BULKPM test cases that use helm based component services Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: I188c847ff7b4f66c88f2b067c0c05ba1c19ac1d7
2021-12-07[GLOBAL] Migrate to helm v3efiacor2-27/+14
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-11-30[POLICY] Add references to new policyadmin usernameadheli.tavares2-0/+4
Adding a new username for PAP and API changes for the robot testcases. Issue-ID: POLICY-3815 Change-Id: Iccef19828a34be9c2ff28201ee27caad37d83504 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux2-3/+5
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-1/+1
- create a .pre-commit-config.yaml configuration file with * gitlint * trailing blanks linter * tabs removal linter - exclude .git folder from it - exclude Makefiles since tabs are mandatory by default in them - create a tox pre-commit profile to run it from tox note gitlint is not runnable at this pre-commit stage - create pre-commit-install and pre-commit-uninstall tox profiles to (un)install hooks locally and (un)perform tests at each "git commit" call (i.e. without calling manually the pre-commit tox profile) - precise pre-commit stages/types in the pre-commit configuration file so that hooks are installed correctly. This avoids messages about skipped tests when they are run at a wrong stage. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ie95bb4f6f90be80b05a1398973caffeff7936881
2021-09-22[COMMON] Enforce checkbashisms tox profileGuillaume Lambert7-7/+8
- add checkbahims to tox.ini default profiles - remove -f options to unforce bashisms detection in explicit bash scripts and to differentiate treatments between bash and sh - migrate #!/bin/bash shebangs to #!/bin/sh for scripts without bashisms The following scripts have not been migrated since they still use bashisms difficult to migrate (mostly arrays - more details below) ./kubernetes/common/mariadb-init/resources/config/db_init.sh ./kubernetes/portal/components/portal-mariadb/resources/config/ \ mariadb/docker-entrypoint.sh ./kubernetes/helm/plugins/deploy/deploy.sh ./kubernetes/helm/plugins/undeploy/undeploy.sh ./kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncActive.sh $ find . -not -path '*/\.*' -name *.sh -exec checkbashisms -f {} + 2>&1\ | grep line | cut -d' ' -f 7- | sort | uniq -c | sort -k1,1nr 18 (bash arrays, ${name[0|*|@]}): 2 (declare): 1 ($FUNCNAME): 1 (shopt): 1 (trap with ERR|DEBUG|RETURN): https://mywiki.wooledge.org/Bashism#Arrays https://mywiki.wooledge.org/Bashism#Special_Variables https://mywiki.wooledge.org/Bashism#Builtins https://www.oilshell.org/release/0.5.alpha2/test/spec.wwz/builtin-trap.html Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id06ad1d45004321a293bdd26038d8da5f7b6b4ac
2021-09-20[COMMON] Replace tabs by 4 ws in shell scriptsguillaume.lambert3-151/+151
with the following command $ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} + then realign manually what deserves it and in particular, unindent some EOF scripting tags so they do not trigger errors. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
2021-09-14Merge "[AAI] Service Mesh compatibility"Sylvain Desbureaux1-2/+2
2021-09-13[AAI] Service Mesh compatibilityosk114611-2/+2
This patch makes AAI to work on service mesh by removing https calls from everywhere. It allows also to use AAI on an environment without need of TLS. Issue-ID: OOM-2670 Signed-off-by: Ondrej Frindrich <ondrej1.frindrich@orange.com> Change-Id: I19adabc7b33c1ada243ec16f77dbf8fde19b1386
2021-08-31[COMMON] Fix brace expansion bashismsGuillaume Lambert1-3/+3
pointed out by checkbashisms Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: If162bba41eec0998bd6eaf321eebe2e7834aca29
2021-06-29[COMMON] Fix read -s, echo -e and $'...' bashismsGuillaume Lambert1-1/+4
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I527f9b8dcad98a5dd9eb30390d26c95c1d918c09
2021-06-24[COMMON] Fix some bashismsGuillaume Lambert3-3/+3
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
2021-06-23[COMMON] Revert "[COMMON] Fix a few bashisms"Krzysztof Opasiak3-3/+3
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242. This commit introduced regression on portal db config job which is now unable to start: /usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `(' Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
2021-06-22Merge "[COMMON] Fix a few bashisms"Sylvain Desbureaux3-3/+3
2021-06-16[COMMON] Fix $BASH_SOURCE and pushd/popd bashismsGuillaume Lambert1-3/+4
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic9c4edc0fc6bd94a95bcb85d84379e868fb09930
2021-06-15[COMMON] Fix a few bashismsGuillaume Lambert3-3/+3
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - variable increments - sleep with suffix And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00
2021-05-17[COMMON] Fix condition bracket bashisms - step 1Guillaume Lambert4-4/+4
pointed out by checkbashisms $ mycmd=$(tox -e checkbashisms | grep '(\[\[ foo \]\] should be \[ foo \])' | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i '\2s/\\\[\\\[\\\( [^]]*\\\)\\\]\\\]/[\\\1]/g' \1;@") $ eval $mycmd plus fix manually quoting hells induced and bash specific regex and multi-conditions Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ie7ca5b71938fae22c200b7fead418618160fbe19
2021-05-06[COMMON] Fix trailing blanks in shell scriptsGuillaume Lambert1-4/+4
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/ *$//g' {} + Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id813526ec21e9c39daba697448bd6dea0b4e4d70
2021-05-04[ROBOT] Bumb 1.8.0 for Honolulumorganrol1-1/+1
This version include the robot test updates based on honolulu testing campaign Please note that this pod is not used in CI, we systematically rebuild the xtesting dockers However the robot pod shall be aligned for the release Issue-ID: TEST-335 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I1ab7bca94097332089d584d2af583ddfc9114d9e
2021-04-27Merge "[COMMON] Fix condition equality bashisms"Krzysztof Opasiak3-5/+5
2021-04-19Merge "[COMMON] Fix function declarations bashisms"Sylvain Desbureaux2-3/+3
2021-04-16[COMMON] Fix condition equality bashismsGuillaume Lambert3-5/+5
pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "(should be 'b = a')" | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/==/=/g' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I9032130bc4717e111de11a73187c2f1052376e45
2021-04-14[COMMON] Fix function declarations bashismsGuillaume Lambert2-3/+3
pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "^possible .*'function' is useless " | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/functio n \\\([^ ()]*\\\) *(\\\?)\\\?/\\\1 ()/\' -e '\2s/(){/() {/' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41c8ba8288b7a90db9f5775cd601c09ff2ab663
2021-04-13[COMMON] Fix shell scripts missing shebangsGuillaume Lambert4-8/+8
pointed out by checkbashisms. $ tox -e checkbashisms |grep 'interpreter line' | cut -d' ' -f2 |xargs grep -lv '#!/bin/sh' | xargs sed -i -e '1i#!/bin/sh' -e '1i\\' plus manual fixes Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41fec6ebadd162cecf889f2b119ac82551bd21d
2021-04-06[SO] Release the H release for sol005 adapterseshukm1-2/+2
Rename the vfc-adapter to etsi-sol005-adapter. Issue-ID: SO-3473 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I79949521c58b05f9b7eacad591d06f62e3ab1983
2021-03-29[SO] Change sub component namesSylvain Desbureaux1-3/+2
Some SO components have changed their names: * so-monitoring is now so-admin-cockpit * so-etsi-nfvo-ns-lcm has a new repository * so-vnfm-adapter is now so-etsi-sol003-adapater Issue-ID: SO-3473 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I75be10b42fc7b44ac0f654853953f6139f3b1c13
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-3/+3
Updating the documentation and bumping version to 8.0.0 Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f942f1466fed64264c44fb8fc0e1ffc93a98f18
2021-03-20[ROBOT] Add properties for DCAE MS healthcheckJack Lucas2-0/+9
Add global variables needed for robot to invoke MS healthcheck. Issue-ID: DCAEGEN2-2660 Issue-ID: DCAEGEN2-2615 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I44fb209de59c077a7e446acac5a4c6ded6995775
2021-03-09[ROBOT] Set version to 1.7.3morganrol1-1/+1
due to the reinsourcing of the chart in OOM, I missed the guilin maintenance update from 1.7.2 to 1.7.3 There are ongoing discussions on the future of this pod It is not really used by the integration team but it may still be used by operation teams a mail has been sent to get a broader view on who is using this pod, references in use case documentation are also under investigation This pod shall be either remove or heaviliy refactored to follow the rules than the other ONAP components (no root, limits, no full distri no python 2.7, micro service approach,...) and it shall be launch out of onap namespaces (onap-testing) Meanwhile the master version shall be at least aligned with the guilin version.. Issue-ID: TEST-283 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I2709c6fa5046ad7f72ee86a75269dd4672386a3c
2021-02-25[ROBOT] Add DCAE MOD smoke/verification test using simple appKrzysztof Kuzmicki1-0/+16
Add robot properties required by newly introduced DCAE MOD smoke/verification test cases Issue-ID: INT-1855 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: Ifd33e64b775c33354e99b88dea92f003daac01c1
2021-02-11[POLICY] Migration of clamp to policy areasebdet1-2/+2
Creation of the clamp subcharts + fusion of the clamp database to policy mariadb Issue-ID: POLICY-2951 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8192f82bc393e3fc8d5884d6ab73912a0466edcd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-12-09[ROBOT] Uses new tpls for repos / imagesSylvain Desbureaux2-2/+4
This commit makes Robot chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7e29b4178a84b27c2fa98d1ae3de6f2635f3b19a
2020-12-07[ROBOT] Reintegrate robot in main repositorySylvain Desbureaux34-0/+2426
Robot chart is currently in its own directory. As a lot will be done in the charts with tight coordination between "common" part and components parts, it's a lot easier to have everything in a same place for now. we're using commit 85b5af5058bbda19b557add185d917f60c2188ee from robot Issue-ID: OOM-2645 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7c187b616d3436ed2eab7bf7e95cb6a1a90edf31
2020-12-01Update git submodulesMorgan Richomme1-0/+0
* Update kubernetes/robot from branch 'master' to 85b5af5058bbda19b557add185d917f60c2188ee - Merge "Removed heatbridge" - Removed heatbridge Issue-ID: INT-1791 Change-Id: I6ef364f1110b6aeb1d43a8cb8609b7d24f836458 Signed-off-by: Brian Freeman <bf1936@att.com>
2020-11-30Update git submodulesMorgan Richomme1-0/+0
* Update kubernetes/robot from branch 'master' to 4b76d896522b113eff620a732a6ce7b363529f7f - Merge "[ROBOT] Version bump for Guilin" - [ROBOT] Version bump for Guilin Guilin chart uses 7.0.0 version. Issue-ID: OOM-2638 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icceec640d07075d67038ee8b41fd50639f7c2c21
2020-11-20Update git submodulesmrichomme1-0/+0
* Update kubernetes/robot from branch 'master' to 37ac984e35503182f7fc1b771cefa16bf0c84203 - Add Lasse as Integration committer Issue-ID: INT-1788 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If17d3df740936c3f21f0e10883406aaf1c303629
2020-11-16Update git submodulesBrian Freeman1-0/+0
* Update kubernetes/robot from branch 'master' to 4e61a1c981b7e00846c0ca2857cd32be027294e1 - Update script and artifact default value Issue-ID: INT-1779 Change-Id: Iaa41b42a091b182a30d3b1215ad22555e78bfc6c Signed-off-by: Brian Freeman <bf1936@att.com>
2020-11-06Update git submodulesMorgan Richomme1-0/+0
* Update kubernetes/robot from branch 'master' to f3afcb0e60f54840d386084ee3ee2e364b2650f1 - Merge "[SO] SOL003 adapter,bpmn-infra, nfvo HTTPs to HTTP" - [SO] SOL003 adapter,bpmn-infra, nfvo HTTPs to HTTP Removing https communication as SO SOL003 Adapter has used its own keystore for communications with bpmn-infra and etsi-nfvo with hardcoded password.Common way of certicates will break existing communication so going for HTTP path due to time constraint . Will revisit security in Honululu as part of https://jira.onap.org/browse/SO-3350 epic. Change-Id: I75acd05feb4b244892261cf9c95d33a78dbe687d Issue-ID: SO-3349 Signed-off-by: Mukesh <mukeshsharma@est.tech>
2020-11-06Update git submodulesmrichomme1-0/+0
* Update kubernetes/robot from branch 'master' to 3b9adc67e6ae2a65480d80dc50cee88b674604a3 - [Testsuite] bump version 1.7.2 for Guilin RC1 Issue-ID: INT-1768 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I533da0afac4f853c6ef018f978f05df00e05087e
2020-10-15Update git submodulesMorgan Richomme1-0/+0
* Update kubernetes/robot from branch 'master' to da28d1cdc573a726d3fc8a19638ebc8b3679295f - Merge "Add tag "vescollector" for running E2E test suite ves.robot" - Add tag "vescollector" for running E2E test suite ves.robot Issue-ID: INT-1258 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I7b42b1997b2926790cea8910dd4f2d3b04a8c05e
2020-10-14Update git submodulessekharhuawei1-0/+0
* Update kubernetes/robot from branch 'master' to c4aa2a9a01ad435b20b242b76edeea2e8dcc5bce - SO health check failed Issue-ID: OOM-2595 Signed-off-by: sekharhuawei <reddi.shekhar@huawei.com> Change-Id: I7ac19c53313c6b50297242b068a7277079e625ed
2020-10-08Update git submodulessumitc291-0/+0
* Update kubernetes/robot from branch 'master' to 34913f2223539640c81ae9e7a65744a09a95c9ce - Adding global variable for NSSMF adapter Issue-ID: OOM-2585 Change-Id: Id9274349ba841f173da5774de8b53b7758cc2795 Signed-off-by: sumitc29 <sumit.chandak@amdocs.com>
2020-10-02Update git submodulesmrichomme1-0/+0
* Update kubernetes/robot from branch 'master' to d4d20fe81e2fb4ee98e16c2b350b0981202f57d6 - Bump testsuite 1.7.0 for Guilin It consists mainly in simple robot changes It is far from our target for the moment - chart not brought back to OOM repo - baseline image too big - pod launched as root - pod still dealing with python 2.7 A refactoring of the pod was planned for Guilin but it is not ready. Note: The changes are already taken into account in CI through the xtesting dockers Issue-ID: INT-1690 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I169f65638bb01fb5ef417344119f9526ef5daa08
2020-09-28Update git submodulesmrichomme1-0/+0
* Update kubernetes/robot from branch 'master' to 0611262fbb68714cfdb922f13ffb009b58a43f71 - Update INFO.yaml Issue-ID: INT-1724 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I198320e56131e031d5364214e64a9192c8da1024 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-20Update git submodulesKrzysztof Kuzmicki1-0/+0
* Update kubernetes/robot from branch 'master' to b093c77b4faa2c4f0bfc67e481f724b6d67c7229 - [ROBOT] robot_properties.py configmap contains failing character Issue-ID: INT-1700 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I93004428c4c794dc50f8518698a72a95e9386591
2020-08-12Update git submodulesjhh1-0/+0
* Update kubernetes/robot from branch 'master' to 1ab576be1d226a586738658943253f3e721e5a62 - change drools hostname to policy-drools-pdp This is a companion review for https://gerrit.onap.org/r/c/oom/+/111069 Issue-ID: POLICY-1000 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I031e0c13478ab196b929765f389dd9df1431c87b Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-20Update git submodulesMarcin Przybysz1-0/+0
* Update kubernetes/robot from branch 'master' to ad58ed92bd7c5cc7d51c09b405a99fd360ff5268 - Merge "Make ROBOT compatible with Kubernetes v1.17" - Make ROBOT compatible with Kubernetes v1.17 Issue-ID: OOM-2464 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Iaacf334bc72f5c529c522fcc3ee598447b2cb916
2020-07-16Update git submodulesHany Abdelbaki1-0/+0
* Update kubernetes/robot from branch 'master' to 068514942a7af8ddfabd55697a67a8d27f799af8 - run cds bootstrap before vlb_cds instantiation Issue-ID: TEST-248 Signed-off-by: Hany Abdelbaki <habdelbaki.ext@orange.com> Change-Id: Iaef0445548f3d6b97a15c00399382eedd332643d