summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-07Add support for plain files mounting into chrootPetr Ospalý2-13/+28
In this commit I tried to follow a behaviour of docker. If mounted path does not exist then it will handle it as a directory - it creates it and the mountpoint is expected to be a directory also. If the mounted path is a plain file it will do file bind mounting. The mountpoint must be a plain file. Change-Id: Ie8b29442c8ebb8da389ba6c9a152a49d8cf6e9be Issue-ID: OOM-1575 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-07Merge "Fix docker config handling in offline installer"Petr Ospalý1-1/+1
2019-01-04Fix docker config handling in offline installerMichal Zegan1-1/+1
This fixes adding of dns address to /etc/docker/daemon.json to always use infra's ip address instead of possibly using it's hostname. It is done by replacing usage of "ansible_host" by "ansible_default_ipv4.address" fact. Change-Id: If6a29f3bf11ece7f883b099a1ab503341859cb90 Issue-ID: OOM-1573 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-01-04Merge "Add /etc/hosts to the chroot environment"Tomáš Levora1-1/+2
2019-01-03Add /etc/hosts to the chroot environmentPetr Ospalý1-1/+2
This will change in a future commit to be little more flexible. As of now it fixes some usage when host system has defined some custom resolving which are needed. Change-Id: Ifea2ba087982006c0a399d1b225d7ab13f7e94da Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-03Fix permisions on bash scriptsPetr Ospalý19-0/+0
Change-Id: I32813d3f74ddff9099c457c6d5af30fc0e97a835 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-03Fix whitespaces across the bash scriptsPetr Ospalý24-13/+196
Change-Id: I8f3912f1b7f35aa889ce63592b30014d6433a82f Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-03Remove duplicated filePetr Ospalý1-41/+0
Change-Id: I08be749e009712c07240e3f20c9c27519968d332 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-02Rename filename to singular to be consistentPetr Ospalý1-0/+0
Change-Id: Ie6873831e5d67dcc306d8a2e4b930fb8fe11c3d7 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-02Add default onap cfg supportPetr Ospalý2-3/+265
Issue-ID: OOM-1551 Change-Id: If91e00ba49af9b52eea6cabb7cfecc296d1ff596 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-21Oom Onap helm charts patches needed to Beijing.Samuli Silvius1-0/+616
For old bash solution how it got working with Beijing release of ONAP, some of the Helm charts needs to be patched to work offline. This file is tracking what changes are done and these changes are applied by installer on top of cloned Helm charts. Change-Id: Ic2265773de3bcfdb9d6aca19c2bcb4b5852966ba Issue-ID: OOM-1551 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2018-12-21Added config files for old bash offline installer.Samuli Silvius4-0/+280
Old bash installer is still kept usable and these config files are used only by that bash solution. Change-Id: I72d010cc49412f106947e1644ad9c1923ca98772 Issue-ID: OOM-1551 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2018-12-21Added nexus blob data building script.Samuli Silvius1-0/+309
Script can be used to pre-build nexus data blob from given binary files at build time to avoid nexus populating each time from empty state at installation time. This is usefull when most of the binaries are changed rarely and nexus can be just started up with pre-build blob data at installation time. Currently just docker images and NPM packages are supported. Script is generic and should not have any dependency to ONAP as such but there is few lines now that are rererring to onap, see below grep: $ grep -i onap build_nexus_blob.sh SIMUL_HOSTS="docker.elastic.co gcr.io hub.docker.com nexus3.onap.org nexus.onap.org registry.hub.docker.com ${NEXUS_DOMAIN}" def r = repository.createDockerHosted("onap", 8082, 0) sed -i "s|https://nexus.onap-me.novalocal|http://${NEXUS_DOMAIN}:8081|g" package/package.json Change-Id: I008678fdd6dc067e7ecb26969225e2324b44e7ba Issue-ID: OOM-1551 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2018-12-20Add the package.sh with a templatePetr Ospalý3-3/+292
It can be used to distribution of a project via tars. What is part of the package is defined in package.conf Issue-ID: OOM-1551 Change-Id: I8f5509bfb37d5cad510c0c151d49f6944fc6511c Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2018-12-20Update ansible nexus roleMichal Zegan2-1/+2
Looks like this one was a bit out of date, updating it... Change-Id: I7734fc5ccdba001d3c409244cd1625453ab232ed Issue-ID: OOM-1551 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2018-12-20Merge "Add docker login script for bash installer"Petr Ospalý1-0/+38
2018-12-20Merge "Add certificate extraction and generation"Petr Ospalý2-0/+102
2018-12-20Merge "Add download handler script to bash installer"Petr Ospalý1-0/+47
2018-12-20Merge "Add upload script for npms to bash installer"Petr Ospalý1-0/+48
2018-12-20Merge "Add NFS setup for bash installer"Petr Ospalý3-0/+146
2018-12-20Merge "Add handling with offline data"Petr Ospalý2-0/+167
2018-12-20Merge "Add cleanup tools to bash installer"Petr Ospalý2-0/+60
2018-12-20Merge "Add self-installer creation to bash installer"Petr Ospalý1-0/+88
2018-12-20Merge "Add data list gathering script"Petr Ospalý1-0/+34
2018-12-20Add ONAP deploymentTomáš Levora1-0/+55
Adding deploy onap script Issue-ID: OOM-1551 Change-Id: Ib4c876880600431eb87851910f1151c112c9c67e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add data list gathering scriptTomáš Levora1-0/+34
Adding script for gathering data lists Issue-ID: OOM-1551 Change-Id: If2eff9c3eed23e89038d0eab73810b10281de0a4 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add self-installer creation to bash installerTomáš Levora1-0/+88
Adding script creating self-installer package Issue-ID: OOM-1551 Change-Id: If10e12da440864c3d72ca9a5b1fc27d89256225a Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add cleanup tools to bash installerTomáš Levora2-0/+60
Adding script for deleting local images and cleanup script to bash installer Issue-ID: OOM-1551 Change-Id: I9459a9fc803a12abb5e2306d651b5307da5aca6d Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add handling with offline dataTomáš Levora2-0/+167
Adding handling scripts for download and load offline data for bash installer Issue-ID: OOM-1551 Change-Id: I59feea8396841cb660463524f58ec65c626e69a6 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add NFS setup for bash installerTomáš Levora3-0/+146
Adding NFS installation and setup for bash installer Issue-ID: OOM-1551 Change-Id: Iba4b7f7136018027053d1c7cca0641c9d0ee3d7f Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add upload script for npms to bash installerTomáš Levora1-0/+48
Adding script for uploading NPM packages to private Nexus repository Issue-ID: OOM-1551 Change-Id: Ic4d5e28f5bfc80df7db214aec650c99ad91c7730 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add download handler script to bash installerTomáš Levora1-0/+47
Adding handler to help with downloading files for bash installer Issue-ID: OOM-1551 Change-Id: I34008f681274515b833947f4880c8ac0fbfdf34d Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add docker login script for bash installerTomáš Levora1-0/+38
Adding docker login script to log to private nexus registry Issue-ID: OOM-1551 Change-Id: I3420c1427af64ab2db9d0932f2179b4b306128d9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Add certificate extraction and generationTomáš Levora2-0/+102
Adding extraction and generation of certificates for nginx to handle SSL connection to nexus repository in bash installer Issue-ID: OOM-1551 Change-Id: Icf24bea5204c62f398a025178ff6d8a51d6bbb78 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-20Merge "Adding role for application handling"Tomáš Levora4-5/+49
2018-12-20Merge "Adding main README file"Tomáš Levora1-0/+280
2018-12-20Merge "Add ansible role for dns simulation"Michal Ptacek3-0/+53
2018-12-20Merge "Uploading maven files script handler."Michal Ptacek1-0/+38
2018-12-20Merge "Add ansible firewall role"Michal Ptacek2-0/+19
2018-12-19Adding role for application handlingMichal Ptacek4-5/+49
this ansible role contains application specific tasks, it is written in generic way and different helm charts can be used as application. In addition operator can provide proprietary pre_install and post_install hooks. Change-Id: Ibe4b330e5a725dde41aca9f6a59d702cfaba6f52 Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Adding main README fileMichal Ptacek1-0/+280
main documentation for ansible offline installer Change-Id: I4e2cebf26a1720600dfed1a4b4c83a68a85426ed Issue-ID: OOM-1551 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2018-12-19Add ansible role for dns simulationTomáš Levora3-0/+53
Adding role to simulate domain names for offline installation from private nexus repositories Issue-ID: OOM-1551 Change-Id: Ia3fe274e95ef078332627af9229195bd6e9a667d Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-19Add ansible role for docker installationTomáš Levora2-0/+40
Adding ansible role for installation of docker and its setup Issue-ID: OOM-1551 Change-Id: I49bca8eab46a2750cd627cbf709bed6744c88df5 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-19Add ansible firewall roleTomáš Levora2-0/+19
Adding role to disable firewall to prevent any issue with communication during the installation Change-Id: I2390f0bc5062933e6a8bf4dcbc0b255b283f993d Issue-ID: OOM-1551 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2018-12-19Uploading maven files script handler.Piotr Perzanowski1-0/+38
Upload maven files to proper location. Change-Id: Ic529b2ff3ce158f33a33e9f5dd306314040bd6d8 Issue-ID: OOM-1551 Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
2018-12-19Merge "Adding ansible helm role"Petr Ospalý1-0/+7
2018-12-19Merge "Adding ansible vncserver role"Petr Ospalý1-0/+19
2018-12-19Merge "Add resource-data handling role"Petr Ospalý3-0/+113
2018-12-19Merge "Add an ansible config to enable custom roles"Simon Hrabos1-0/+8
2018-12-19Merge "Add the playbook for unpacking the resources"Simon Hrabos1-0/+49