summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2019-04-03Merge "Support time synchronization on hosts"Michal Ptacek7-3/+113
2019-04-03Merge "Improve kubectl role testability."Samuli Silvius1-1/+1
2019-04-03Merge "Improve rancher role testability"Samuli Silvius10-41/+45
2019-04-03Building and Dockerfile for centos7Samuli Silvius4-0/+96
Add initial Dockerfile for centos7 for molecule testing. Issue-ID: OOM-1750 Change-Id: Ie4da3d80c713d1da56465c598774b370b4c01b36 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-02Add helm override instructions to install guideMichal Zegan1-0/+18
This commit adds instruction about using the new helm chart overrides feature. Change-Id: I6a5d973ee91562ae618d357fd3fdecc1cf4f03bf Issue-ID: OOM-1752 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-04-02Support time synchronization on hostsBartek Grzybowski7-3/+113
This change introduces functionality to synchronize infra/kube nodes' clock with external NTP authority. Configuring external time source is optional, however default behaviour will be to setup NTP time source on infra-node and sync kube-nodes clock with it. It's also possible to setup custom time zone. Change-Id: I725ce9a306da1977628b6c03d5ff10fca77fb3b0 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-01Merge "Wrong filename does not fail transfer"Samuli Silvius1-8/+19
2019-04-01Molecule test for nfs roleSamuli Silvius7-1/+117
Issue-ID: OOM-1756 Change-Id: I2e1aef3296689c284a4b530e6a2022302c7b86f7 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-01Fix nfs role issues based on molecule testingSamuli Silvius3-8/+14
Based on Molecule testing fix following issues on nfs role. - enable nfs services (previously only started) - create handler for exportfs to deal idempotency - add all kubernetes nodes to exports as it was dependent on ansible inventory order wheather correct hosts was on the list - add inventory_hostname as default host incase ansible_host variable not defined. Issue-ID: OOM-1756 Change-Id: Ib93e9d2a9cf49003d04dd5f890294eda1eb966ff Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-01Merge "nginx update for long server names"Samuli Silvius1-0/+1
2019-04-01Allow passing any values to override.yamlMichal Zegan1-6/+6
This change allows passing any values that will then be stored to override.yaml. These values are passed from the "overrides" key, that may be set either as an extra variable or in inventory/group_vars. The root certificate is merged with the overrides dictionary before saving the file. Change-Id: I772c342b3c9eafe1849d1678b810319afaaf75bf Issue-ID: OOM-1752 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-04-01Improve application role testabilitySamuli Silvius13-69/+78
Remove different phases for application role as those are supposed to run after each other anyway from playbook and pre/post steps can be disabled by other means. Enable Helm override file generation customization by delegating it to separate role. Separate Helm file transfer to own module. NOTE: install.yml with all Helm commands (shell/command) is not idempotent and should be fixed with separate commit. Issue-ID: OOM-1655 Change-Id: Ib29773c4d64a0529c71c3f93c2af7265ae94059f Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-01Merge "Fix idempotence for firewall role"Michal Ptacek1-0/+1
2019-04-01Merge "Update Maven artifact dependency list again"Michal Ptacek2-0/+186
2019-03-29Fix helm install command not showing errorMilan Verespej1-0/+2
Issue-ID: OOM-1737 Change-Id: I240415793ea2a078ab6c6d9c0727852dc2d9ada3 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-03-28Update Maven artifact dependency list againkaihlavi2-0/+186
Updated additional Maven artifact dependencies for offline Nexus Issue-ID: OOM-1706 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I3c744be33447fc5816bc547c0ae3cce6428dc57c
2019-03-28nginx update for long server nameseronkeo1-0/+1
This issue addresses the following error when starting nginx container: nginx: [emerg] could not build the \ server_names_hash, you should increase \ server_names_hash_bucket_size: 64 Change-Id: I369075edd16801aca6b09c6727370060225c428c Issue-ID: OOM-1765 Signed-off-by: eronkeo <ronan.keogh@est.tech>
2019-03-28Improving docker restart handlerMichal Ptacek2-4/+19
There is a bug in docker which leads to not properly shutdown service preventing subsequent startup. https://github.com/moby/moby/issues/30348 This commit is preventing this problem to appear. Change-Id: I29505610bd9954af01d73264e5414fdb2b9ac99d Issue-ID: OOM-1735 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-03-26Wrong filename does not fail transferSamuli Silvius1-8/+19
User typo on resource package filename or dir does not cause install to fail but just skips that resource package. Change resource paths handling to skip resource only if variable is not defined or empty, but if a value is given resource must exist or transfer fails otherwise. Issue-ID: OOM-1736 Change-Id: I765c5dc8eb5e58875f032e056f9a8360aee702c0 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-26Add python-jsonpointer as a new dependencyPetr Ospalý2-1/+6
Our custom ansible module requires python-jsonpointer module to deal with jsons. Change-Id: Idd7bfcf8fcf75e4397fba51d8219b73c57df5f0e Issue-ID: OOM-1758 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-26Merge "Sanitize input arguments validation"Michal Ptacek1-4/+18
2019-03-26Rewrite the run_chroot.sh scriptMichal Zegan1-262/+156
This change heavily changes run_chroot.sh script. Major change is that most of the real script logic is now run in a namespace, so that all mounts are done in namespace. Also, all the cleanup code and some checks are removed, also the shell wrapper is removed. This change is for simplifying the run_chroot.sh. It will function the same as before from the user's point of view, except that now the script does not have to explicitly unmount filesystems that it mounted before, so no cleanup code isneeded. Also, all processes run from inside a chroot should be killed immediately when the chroot command finishes. Change-Id: I45a3dc7c6583cb9693746cc04f42b7af325724dd Signed-off-by: Michal Zegan <m.zegan@samsung.com> Issue-ID: OOM-1744
2019-03-26Merge "Fixing some yaml-lint warnings"Michal Ptacek9-16/+40
2019-03-26Fixing some yaml-lint warningsMichal Ptacek9-16/+40
Scope of this commit is to fix warnings reported by offline-installer-master-yaml-lint jenkins job Change-Id: Id858a37ce35d53ad1ffd5e5797607faae484ed15 Issue-ID: OOM-1753 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-03-26Merge ".gitignore for Molecule testing"Michal Ptacek1-0/+3