summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-21Adding Ubuntu support in Ansible - application roleJan Benedikt1-0/+64
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in application role. Issue-ID: OOM-1671 Change-Id: I7662506263a143cb7193583d2058766ac7829d93 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2020-04-21Merge "Adding Ubuntu support in Ansible - setup role"Bartek Grzybowski1-0/+24
2020-04-21Merge "Adding Ubuntu support in Ansible - dns role"Bartek Grzybowski3-0/+49
2020-04-21Merge "Adding Ubuntu support in Ansible - nfs role"Tomáš Levora6-8/+84
2020-04-21Adding Ubuntu support in Ansible - dns roleJan Benedikt3-0/+49
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in dns role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I414df46093fd300891b9df44e12a0225495cc906
2020-04-21Adding Ubuntu support in Ansible - nfs roleJan Benedikt6-8/+84
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nfs role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: Ib1c85e4df7ec2ba547a20684ed5e23e097351df2
2020-04-21Adding Ubuntu support in Ansible - nexus roleJan Benedikt2-0/+38
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nexus role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: If2750997057126405987a0362d915456ffe77fff
2020-04-08Merge "Automation adds index.rst"Jessica Wagantall0-0/+0
2020-04-07Automation adds index.rstLF Jenkins CI1-0/+1
Issue-ID: CIMAN-376 Change-Id: I340cb246cd95962e2cb8a0b5de951fbe798b5fe0 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-06Automation adds index.rstLF Jenkins CI1-0/+1
Issue-ID: CIMAN-33 Change-Id: I26c678d018b70275bff466eafd14a3ead60d4193 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-02Merge "Migrate oom-offline-installer docs"Sylvain Desbureaux9-2/+145
2020-04-02Add Sylvain and Krzysztof on offline installerSylvain Desbureaux1-0/+10
Sylvain is acting PTL of OOM and thus needs to do some administrative tasks Krzysztof is an important comitter in OOM and may help Sylvain on those tasks. Issue-ID: CIMAN-134 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I8dfd87467a983dfa3bfc7ff96e08098ab453f4f0
2020-04-01Merge "Removing python 2 reference in BuildGuide"Bartek Grzybowski1-2/+2
2020-03-31Upgrading package.py requirementsTomáš Levora1-1/+1
Upgrading gitpython from 2.11.1 to 3.1.0 because of incompatiblity with actual version of gitdb2 (4.0.2) Issue-ID: OOM-2344 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: Ibde20ee7f842858cb26f3ed4b45cb0339093a59f
2020-03-31Removing python 2 reference in BuildGuideTomáš Levora1-2/+2
As python 2 support ends, removing its rereferences from buildguide Issue-ID: OOM-2345 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I1130fd15af21d3e5a8bb80228d4cb31b5d25e41d
2020-03-25Add Sylvain as committerSylvain Desbureaux1-0/+8
Issue-ID: CIMAN-134 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icd72c24af9c7eb6a5e5ee9578fba8d32abf787a5
2020-03-20Adding Ubuntu support in Ansible - setup roleJan Benedikt1-0/+24
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in setup role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I7a609613a517932939adf2e011c3ceb4e1d15bba
2020-03-20Merge "Add necessary packages to Ubuntu Dockerfile"Bartek Grzybowski1-1/+1
2020-03-19Add necessary packages to Ubuntu DockerfileJan Benedikt1-1/+1
Added iproute2 and python3-docker to ubuntu docker file. These packages is necessary for docker functionality in Molecule testing. Is necessary to install them because there are not in ubuntu image by default. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I4e4f6bf342da3d5acba5b7b12c2dae9d64099426
2020-03-19Fixing helm lintOndřej Šmalec1-1/+1
quoting helm lint parameter Issue-ID: OOM-2339 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I56083798e4f26fb175b8d6f22c5d07de622e5b88
2020-03-18Skip helm lintOndřej Šmalec1-0/+2
Because of new templates in ONAP, make command takes a long time and our ansible role timeout Adding SKIP_LINT parameter to this role. Issue-ID: OOM-2339 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: Ie7f0db95e51816ccc781b1253539b3a0dae9eb7b
2020-03-17Adding Ubuntu support in Ansible - docker-dind roleJan Benedikt4-24/+66
Extending ansible playbooks of ubuntu support. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I6028736b54ce825d3eae257ca61cb6efab19a913
2020-03-06Merge "Specify Python in Ansible inventory template file"Bartek Grzybowski3-2/+5
2020-03-05Merge "Fix: Losing dns configuration after reboot"Bartek Grzybowski2-0/+22
2020-02-29Specify Python in Ansible inventory template fileJan Benedikt3-2/+5
Created copy of inventory template due to set var of Python interpreter. Python interpreter cannot be set in ansible.cfg file due to bug: https://github.com/ansible/ansible/issues/45852 Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I9683a2a764e8c6696a39625a6ddc40cda20f9333
2020-02-17Fix: Losing dns configuration after rebootMateusz Pilat2-0/+22
Issue-ID: OOM-2295 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ic10203be6fc2cd2c805679a293efa0f2ddea9465
2020-02-14Fix packaging script - Memory error in md5 calculationsMateusz Pilat1-3/+5
During package preparation whole file is read and stashed in to RAM. when the file is large, like ONAP package it will result in an error Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Issue-ID: OOM-2308 Change-Id: Ic2dbea4018162bd4cfb380f6fb34078062c38a09
2020-02-13Adding checksum of packages into package.infoOndřej Šmalec1-5/+42
Function to add checksum of created packges to package.info Modified --add-metadata parameter to handle more parameters in format key=value Issue-ID: OOM-2288 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I29114c4566fdfd9643ab5c60951ee65f5680d2fe
2020-02-11Use POSIX compliant shell command in cicdansibleBartek Grzybowski1-1/+1
"[[ ]]" is a bash specific command that doesn't work in dash which is Ubuntu's default shell. Change-Id: Idd09c2e1e8c409503b12756141632527ab91b5ec Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1671
2020-02-11Disable 'pipefile' shell opt in cloud-init's runcmd moduleBartek Grzybowski1-1/+1
Cloud-init runs runcmd module with default OS shell which evaluates to dash for Ubuntu and which in turn doesn't support 'pipefile' option. This makes cloud-init fail the module on Ubuntu OS. In runcmd script there are no pipes so it's safe to remove it from shell opts. Change-Id: I0402fbfe13fe528832e64d107c1bc07bb5516fc2 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1671
2020-02-06Migrate oom-offline-installer docsJessica Wagantall9-2/+145
Merging this will create https://onap-oom-offline-installer.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I73ad66c0ec946d75c5164776228f8f06550f5f7d
2020-01-30Merge "Removed version from package name"Bartek Grzybowski1-6/+3
2020-01-30Removed version from package nameOndřej Šmalec1-6/+3
Version is kept in package.info file. No need to have it as well in package name. package.info file is present in each tar package. Issue-ID: OOM-2277 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I19fd80cb18e5eac614ac743af954f049536deb3b
2020-01-24Merge "Help script to remove runtime images from datalist"Bartek Grzybowski1-0/+79
2020-01-24Help script to remove runtime images from datalistOndřej Šmalec1-0/+79
Issue-ID: OOM-2276 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I8f848dbb73747f0744a16fb5831627c20d9f8303
2020-01-23Replace master branch in BuildGuideOndřej Šmalec1-2/+6
changed master branch to generic <branch> variable. Issue-ID: OOM-2274 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I2fef04e00c6aa096e0fe3cd8d48327c5bf197cc1
2020-01-23Merge "Option for additional metadata in package.py"Tomáš Levora1-4/+13
2020-01-22Option for additional metadata in package.pyOndřej Šmalec1-4/+13
Issue-ID: OOM-2269 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I6b23512746171fdeaac3883fb61695db2c48c3ab
2020-01-20Merge changes from topic "OOM-1853"Tomáš Levora1-2/+3
* changes: Run env setup only once Fix condition for checking if tests are defined
2020-01-20Merge "Improve offline-installer-review.sh logic to only run relevant tests"Tomáš Levora1-14/+55
2020-01-20Merge "Remove reference to Appendix in BuildGuide"Tomáš Levora1-4/+2
2020-01-20Merge "Add robot config at onap install"Bartek Grzybowski10-528/+78
2020-01-20Remove reference to Appendix in BuildGuideBartek Grzybowski1-4/+2
Appendix was removed in change I8859ba42420d351ce12347cd63bf11f95a4b528d Fixed some wording. Change-Id: I3ad585b67532a4a44bf272d8ebfefec03ec3cc12 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2158
2020-01-17Run env setup only onceBartek Grzybowski1-1/+2
prep_ubuntu_16_04_for_molecule routine was taken out of run_molecule function so that it's not superfluously run on each molecule invocation Change-Id: I1e4d3f32fbec4fa1e96389d9d65740747bffcef6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853
2020-01-17Fix condition for checking if tests are definedBartek Grzybowski1-1/+1
Native shell conditional is used as previously the condition would give warnings on stderr in certain cases, e.g. when role was removed script reported: "find: ‘ansible/roles/<rolename>’: No such file or directory" Change-Id: I63f50bda94e144a17307d927a6be70ae270f28bf Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853
2020-01-17Improve offline-installer-review.sh logic to only run relevant testsBartek Grzybowski1-14/+55
Main CI wrapper script refactored so that it runs tests in a more granulated manner, i.e. matching between changed files and relevant tests to run was optimised. Change-Id: I09086099d7d16c52e29da2fe19440bcfd79ad295 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853
2020-01-16Add tests for rke playbookMichal Zegan5-0/+102
This adds tests for the rke playbook. Change-Id: Idbb90bb9674d67c1877302877b60d3d60d44e36b Issue-ID: OOM-1907 Signed-off-by: Michal Zegan <m.zegan@samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-01-16Decrease tests resource footprint on CI minionBartek Grzybowski2-6/+5
Due to constrained CI minion resources docker volumes need to be pruned after each test invocation to prevent false negative which occurs in case when multiple playbook level tests are run. Heavy VNC Server image (1GB) needs to be mocked with lightweight alpine image in play-infrastructure test for same reasons. Change-Id: I1026593a375853575cf210aefe29bc320d4e5c64 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1907
2020-01-13Add test scenario for unsafe volatile storageBartek Grzybowski2-0/+75
This tests rke role with etcd storage configured on tmpfs. Change-Id: I57feb705a38e87c1b2127294c3443d99cc2595aa Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-10Change group_vars inclusion mode in rke role testsBartek Grzybowski2-3/+1
Inclusion switched from inventory.links declaration in molecule config to filesystem symlink. Change-Id: Idcdd40ba196963f61b587c78718564c9374fa731 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259