summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19Merge "Add fix for Molecule Docker"Samuli Silvius2-4/+8
2019-04-19Merge "Sanitize Molecule code for 'nfs' role"Samuli Silvius2-4/+1
2019-04-18Add fix for Molecule DockerMateusz Pilat2-4/+8
Molecule Docker was not running when built by the root user Issue-ID: OOM-1808 Change-Id: I27c3ecb6d5670ac1c447acba688b25e10d5a5a4d Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
2019-04-17Reducing number of NPMs in listTomáš Levora1-717/+319
Reducing list of NPMs needed for offline deployment based on download stats from Nexus repository from running environment Issue-ID: OOM-1709 Change-Id: I402c4802210a63ed90ab97f7bcbfe79852b7e92e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-17Sanitize Molecule code for 'nfs' roleBartek Grzybowski2-4/+1
Cleaning up of nfs mounts should only happen on clients, not on server itself. Explicit declaration of 'cleanup' stage playbook not needed as it's in the default location. Change-Id: I54e00220048f01160c15fc9631ae62586596114c Issue-ID: OOM-1809 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-17Merge "Molecule tests for chrony role"Samuli Silvius8-4/+118
2019-04-17Improve nfs roleMichal Zegan9-8/+36
This commit improves the nfs role by using cluster_ip variable instead of ansible_host for getting nfs client/server address, and using /etc/exports.d instead of /etc/exports for exporting nfs filesystem. Also, this commit fixes other issues in molecule found along the way. Change-Id: Ibd4ea5d4fd937116e2dc9e1b6f85c3e019f62e17 Issue-ID: OOM-1770 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-04-17Molecule tests for rancher roleSamuli Silvius10-2/+192
Issue-ID: OOM-1775 Change-Id: I6ea11db932cd77e03909e4c72acc4b92a544eb4b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for chrony roleBartek Grzybowski8-4/+118
Change-Id: I2cfee4ef44b1aa0ddff0b5d93712390988846c90 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-16Molecule test run wrappers against CISamuli Silvius2-0/+97
Add ci-molecule.sh script to work as an interface towards CI pipe for running Molecule tests. Issue-ID: OOM-1749 Change-Id: Ib6e74d9b03b569a172a606f4db41b707602bf279 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Fix for running Molecule on Centos hostBartek Grzybowski2-1/+2
On Centos7.6 /dev/loop* device nodes are created dynamically upon alocation (by default there is no /dev/loop<N> device nodes) - this has effect of failing to allocate those in Docker container, even when run in privileged mode. Change-Id: If2c852de3a74ea7fe1df9f5c863f184b9bc13acb Issue-ID: OOM-1774 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-16Molecule container for running MoleculeSamuli Silvius5-0/+143
Add own Dockerfile and build script for creating customized molecule runner image from Molecule image provided by https://quay.io/repository/ansible/molecule. Customization enables running of molecule container with current host's user to avoid root owned files bloating to developer's machine. Add wrapper script molecule.sh to utilize custom image and suitable for testing offline-installer roles. Issue-ID: OOM-1768 Change-Id: I14ed75decb8fa637c044675543de56f1c0796271 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for certificates roleSamuli Silvius12-3/+170
Issue-ID: OOM-1762 Change-Id: Ic13d7ec775a52ad95fc0388e8b84ea8ab7367666 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for docker roleSamuli Silvius13-2/+206
Issue-ID: OOM-1759 Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Merge "Molecule tests for resource-data role"Michal Ptacek13-2/+235
2019-04-16Merge "Molecule tests for firewall role"Michal Ptacek8-0/+102
2019-04-16Merge "Molecule role tests for setup role"Michal Ptacek7-2/+83
2019-04-16Merge "Molecule tests for package-repository role"Michal Ptacek8-4/+122
2019-04-16Merge "Add monitoring script for deployment progress"Tomáš Levora2-0/+254
2019-04-16Molecule role tests for setup roleSamuli Silvius7-2/+83
Issue-ID: OOM-1742 Change-Id: I3087952f3d4e5de20af83e714c0d5444999a5ee2 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for firewall roleSamuli Silvius8-0/+102
Issue-ID: OOM-1757 Change-Id: I48639bd0fb67383a58f736aa1c12c38e3ddc9ab0 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for package-repository roleSamuli Silvius8-4/+122
Issue-ID: OOM-1755 Change-Id: Iac20072200f24a3102c9ed2edf5c5aa8054dd9c2 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule tests for resource-data roleSamuli Silvius13-2/+235
Initial molecule tests. Tests now ssh transfer but test files fully supports also testing nfs transfer. Creating nfs transfer as separate scenario later when find out better ways to share common code. Issue-ID: OOM-1754 Change-Id: Ia728ecfed4378c01f7e305d5a4446b0172fe42d9 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-15Add monitoring script for deployment progressMilan Verespej2-0/+254
Issue-ID: OOM-1724 Change-Id: Ie634a441641abd3afd4093661c5d4f57245946ee Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-04-15Merge "Dockerfile and build script for Ubuntu"Samuli Silvius2-0/+35
2019-04-09Merge "Update Testing Guide"Samuli Silvius1-5/+51
2019-04-09Merge "Improve dockerfile for Centos7"Samuli Silvius1-0/+5
2019-04-09Merge "Fix patching registry in NPM"Michal Ptacek1-2/+1
2019-04-09Merge "Fixing minor inaccuracies in BuildGuide"Michal Ptacek1-25/+66
2019-04-09Update Testing GuideBartek Grzybowski1-5/+51
Covers aspects related to multi scenario testing. Clarifies build scripts and pre-build images usage scenarios. Change-Id: Ib30a80a8c695387b51c9014d046cabff33229244 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-09Update image name for MoleculeBartek Grzybowski1-2/+2
Sanitizing image name for Molecule testing with new updated naming pattern. Change-Id: I1565242f0ddd88b0df758ebb3519f2e059f22c02 Issue-ID: OOM-1774 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-09Improve dockerfile for Centos7Bartek Grzybowski1-0/+5
All packages are upgraded and '/run' volume is being created. Change-Id: I9a7056cf4615932b322c1c5b073ab60787ac54e0 Issue-ID: OOM-1774 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-09Fixing minor inaccuracies in BuildGuideMichal Ptacek1-25/+66
Repos are configured differently on RHEL/Centos platforms Issue-ID: OOM-1761 Change-Id: Ic91b7c91f0c0fb47170709d6628f210b65a56425 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-04-09Fix patching registry in NPMTomáš Levora1-2/+1
Fix URL in patching of registry in NPM package tsscmp-1.0.5.tgz Issue-ID: OOM-1787 Change-Id: I937b851edf0b09a1f43b309310ce21bf66a09b8b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Changing version control for rancherTomáš Levora2-3/+3
Changing the way of version control for rancher in accordance with patchset #83634 Issue-ID: OOM-1767 Change-Id: I67f08dcf47f469c35da9a62ff435e187fae07724 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Merge "Adding versions for infra related docker images"Michal Ptacek15-29/+51
2019-04-05Merge "Simplify Centos Dockerfile for Molecule"Tomáš Levora3-39/+3
2019-04-05Adding versions for infra related docker imagesTomáš Levora15-29/+51
1. latest tag replaced by version number for vnc server 2. added specific version for own_nginx image 3. version control improved in ansible roles accordingly Solves OOM-1766 Issue-ID: OOM-1767 Change-Id: I147c56b46a419188099d8ed3e78fed68810893e2 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Merge "Our bare repos need to have casablanca branch"Michal Ptacek12-2489/+21
2019-04-05Our bare repos need to have casablanca branchMichal Ptacek12-2489/+21
This is required to align with OOM charts, otherwise some components like DMAAP might be not initialized properly. Furthmore removing duplicated files, most of our data_lists are same for Casablanca MR and Casablanca base releases. Change-Id: I376410c7915d8f2682287c31392e2f3796adc990 Issue-ID: OOM-1771 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-04-05Simplify Centos Dockerfile for MoleculeBartek Grzybowski3-39/+3
Base the Centos image for molecule on official CentOS systemd docker container. Align the tagging policy with Centos images on docker hub. Change-Id: Ia2743ab78faed858dc5a7f3611cffb779b23d463 Issue-ID: OOM-1774 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-05Merge changes I2e1aef32,Ib93e9d2aMichal Ptacek9-8/+130
* changes: Molecule test for nfs role Fix nfs role issues based on molecule testing
2019-04-05Fix wrapper shell script in chrootPetr Ospalý1-0/+2
Change-Id: I4f88d47c633096a82ef113dca2d58e584c43d1ae Issue-ID: OOM-1744 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-04-05Merge "Building and Dockerfile for centos7"Michal Ptacek4-0/+96
2019-04-05Dockerfile and build script for UbuntuBartek Grzybowski2-0/+35
Dockerfile that allows building a Systemd compliant Ubuntu image (for Ubuntu releases that support it). A build script for building the image. Change-Id: I3456e40e7ac96e611e957b2912405f9030dc0f04 Issue-ID: OOM-1774 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-04Merge "Rewrite the run_chroot.sh script"Michal Ptacek1-262/+156
2019-04-04Merge "Document molecule testing"Samuli Silvius2-1/+366
2019-04-04Document molecule testingSamuli Silvius2-1/+366
Documentation for Molecule testing used in offline installer. Issue-ID: OOM-1703 Change-Id: I00fb74dbfcd39ce22107c981df14cb42da73808a Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-03Merge "Improving docker restart handler"Michal Ptacek2-4/+19
2019-04-03Verify offline app repo is workingBartek Grzybowski3-1/+35
A patch for failing fast if configured offline application repository is not working properly. Just adding repo to repolist doesn't guarantee it's really operational. Change-Id: I65372b9b1ea5f5dcb797548b14e3ae1295668592 Issue-ID: OOM-1689 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>