aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2020-01-16Add reverse-SSHFS-based file synchronization from Operator's machinePawel Wieczorek2-0/+6
This patch also introduces (almost) empty directory to the repository as a mountpoint for the synchronized files. Additional flag ("nonempty") is passed upon mounting directory to ignore the sole file there ("operator/.gitignore"). Issue-ID: ONAPARC-551 Change-Id: I9187325a08cccb98b7335fcb320c2004ed26e7f3 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-15Add minimal Vagrant environment development documentationPawel Wieczorek1-0/+20
Issue-ID: ONAPARC-551 Change-Id: I1a6f6b998df755734a9c32fbe86473a72a45aae0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-13Add minimal Vagrant environment usage documentationPawel Wieczorek1-1/+14
This patch also clarifies which virtual machines are created within this Vagrant environment. Issue-ID: ONAPARC-551 Change-Id: I2ece1bbf77b147c74f745ddfb26bf80143ac95ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Ensure Helm directory presence prior its first usePawel Wieczorek1-1/+1
It is required for plugins that are installed by copying sources to the Helm directory. Issue-ID: INT-1405 Change-Id: I4ed2708f4af1d745b7e1ffc687ae9674682c374d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Add Hound code search environment quickstart documentationPawel Wieczorek1-0/+56
Issue-ID: ONAPARC-540 Change-Id: I618fcd994f2c6575ee4e388a78606ec59ec4fd02 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add support for using SSHPawel Wieczorek2-23/+54
This patch changes "create_config.py" script interface and its behaviour: * by default anonymous Gerrit is used for repository cloning and code URLS, * external git mirror for code URLs might be provided but there is no default one, * SSH credentials might be provided for repository cloning. Cloning repository using SSH is required due to current ONAP infrastructure HTTPS bandwidth constraints. User wishing to use this setup should provide two environmental variables: 1) API_USER - Gerrit username for cloning repositories via SSH 2) API_KEY - Gerrit API key (User menu -> Settings -> HTTP Credentials) Be aware that a new RSA key will be generated and added to the user's Gerrit account for purposes of Hound code search operation inside a VM. Do remember to delete it (User menu -> Settings -> SSH keys) after evaluating this environment. Issue-ID: ONAPARC-540 Change-Id: I3e98dfa8582322d5b3bbbbf377d748faea0da57b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Run Hound code search as tmux sessionPawel Wieczorek1-2/+8
Code search service can be accessed from host using forwarded port (i.e. at "localhost:6080"). Issue-ID: ONAPARC-540 Change-Id: Ia94956cfeca0af12a0f52ea43abae353c0ba8b1a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add support for using gitwebPawel Wieczorek1-6/+27
There are projects which do not provide git mirror for code URLs apart from Gerrit's gitweb interface (e.g. OpenDaylight [1]). [1] https://www.opendaylight.org Issue-ID: ONAPARC-540 Change-Id: I48c26b81f4886a12e5cdc4dfbfc99538f180449e Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Drop tool-specific naming convention (git hosting service)Pawel Wieczorek1-5/+5
Issue-ID: ONAPARC-540 Change-Id: Id1c8e94008752efd3d40d0e0eca44d81930c692a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Make Gerrit and cgit URLs configurablePawel Wieczorek1-7/+19
Issue-ID: ONAPARC-540 Change-Id: I3d7f04379e31ab73964b8cc6184ca2e4413acb7b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Drop dictionary comprehension from repository list creationPawel Wieczorek1-1/+11
Complex is better than complicated. Issue-ID: ONAPARC-540 Change-Id: I6dbc03166496049e92ff9401450b3ac563b3fb38 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Replace URLs to Gerrit repositories with their cgit mirrorsPawel Wieczorek1-1/+2
Hound does not provide support for linking to source code in Gerrit repositories. Support for cgit mirrors can be achieved by using URL patterns. Issue-ID: ONAPARC-540 Change-Id: Ib73b768d8a636680ab7e4d8d42463a16a9f45275 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add Hound code search configuration generatorPawel Wieczorek4-0/+67
Configuration is generated from Gerrit-supplied data. Issue-ID: ONAPARC-540 Change-Id: I84d5b87580882926b916ed20dbcd2369be4c77f4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add Vagrant environment for Hound code searchPawel Wieczorek1-0/+24
This patch adds build dependencies and builds Hound binaries. Issue-ID: ONAPARC-540 Change-Id: I37b263b3e0c93a9ec08458ec2e08edd75b33d7b4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Describe purpose of Hound code search environmentPawel Wieczorek2-0/+18
Issue-ID: ONAPARC-540 Change-Id: Ie7db4cb6925501fd44dc0372f0a1305463a7e7cc Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add minimal Vagrant environment quickstart documentationPawel Wieczorek1-0/+61
Issue-ID: ONAPARC-537 Change-Id: I86f5db6331980bf7d7ea4074d6e0bbcc84843d3c Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Deploy minimal ONAPPawel Wieczorek2-1/+31
This patch prepares operator's environment for ONAP deployment (by exporting environmental variables for use in helm override file). It also fixes post-setup message regarding additional provisioning steps. Issue-ID: ONAPARC-537 Change-Id: I18815578ddc46a2d5ef31d6cf44b42f9a5d3950d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Prepare cluster for helm-based deploymentsPawel Wieczorek1-0/+27
This patch adds missing client tools ("make" for helm charts generation on operator's machine) as well as the server side: local helm repo and K8s service account. Issue-ID: ONAPARC-537 Change-Id: I34bd5c9422dd1a5be0a1f235be3ee9598cc988c0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Increase resources for K8s worker nodePawel Wieczorek1-14/+14
This patch also changes how resources are assigned to local infrastructure nodes due to increasing number of specific cases. Issue-ID: ONAPARC-537 Change-Id: I914b40508ab388b99d5f124ab1369b152a8ca765 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add helm provisioners (downloading and setting up with OOM plugins)Pawel Wieczorek2-0/+58
Issue-ID: ONAPARC-537 Change-Id: I3b3d731ae016c78b3e00841157c69aded14635e2 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add Devstack machine and its provisioningPawel Wieczorek2-5/+34
Issue-ID: ONAPARC-537 Change-Id: If725843c3e5ee47724a98d70611cbde464b9debc Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Adjust provisioning tools pathsPawel Wieczorek1-10/+10
Issue-ID: ONAPARC-537 Change-Id: I6aeab5db440d35187db84bf6d2525fd61a8737c4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Import Vagrant environment from test/security/k8sPawel Wieczorek11-0/+437
Infrastructure mockup has been previously set up for CIS guidelines checking. Empty Kubernetes cluster was sufficient for that purpose. It will be adjusted to satisfy minimal ONAP requirements and should eventually supersede previous testing environment. Issue-ID: ONAPARC-537 Change-Id: Iada29d86642b8a5513e9d1bbd895db2094ad12b9 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-16Describe purpose of minimal Vagrant environmentPawel Wieczorek2-1/+24
Issue-ID: ONAPARC-537 Change-Id: I75e843794fa43af51e1a2674abede1394a384d15 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-02-11Remove Deprecated VVP from IntegrationLovett, Trevor1-24/+0
In Dublin, the web application portion of VVP is being deprecated, and no longer maintained. A command-line version will be retained in vvp/validation-scripts, but there will be no deployed version going forward. Change-Id: I1d72ea2d9f31d65bec04bec9015cef90dbf267aa Issue-ID: VVP-136 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-03-15Deprecate vagrant-onap toolVictor Morales77-7351/+2
The vagrant-onap tool needs to be moved to its own repo to have better control of versions and autonomy. This change removes the project from integration repository. Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a Issue-ID: INT-441
2018-03-05Move src_folderVictor Morales5-14/+41
The SDC simultator mentions[1] the usage of ChefDK as part of tools for installation/development. The installation process uses the /opt/ folder as destionation and it's affected by the sharing process. This patchset changes the destionation folder for all the ONAP projects. [1] https://git.onap.org/sdc/tree/utils/webseal-simulator/sdc-simulator/chef-solo/README.md#n4 Change-Id: Ib800c48864ce2cbe49e699a6d6e913be137af949 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-214
2018-03-02Refactor install_docker_compose functionVictor Morales6-21/+31
Usually this function is followed by a run command, this change ensure that docker-compose program is installed before its execution Change-Id: Ic68616a1db1e3c5bee516985c74f369a956d6775 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-436
2018-03-02Merge "Remove customize src_folder variables"Gary Wu13-70/+56
2018-03-02Remove customize src_folder variablesVictor Morales13-70/+56
There were some leftovers of variables used for pointing to the project source code folder. This variables are not used anymore. Change-Id: I355930f8ce6acbc31a1adca61741d7221dee196c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2018-02-28Update default vagrant provider.Manjeet Singh Bhatia1-0/+2
Default vagrant provider was showing error for ubuntu/trusty64 or ubuntu/xenial64 not found. This patch updates the default to https://vagrantcloud.com which have recently been changed. Change-Id: I069eae9370ecdf1483098528cee57d9b3e81a41b Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com> Issue-ID: INT-434
2018-02-26Update sdc test and vagrant confJimmy Forsyth1-1/+1
Change-Id: I632b6b8c8c32fe5fd3cab0e7bf6aaf5cb2026cd0 Issue-ID: SDC-821 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-17Improve setup_libvirt.sh scriptVictor Morales2-21/+133
The scope of the setup_libvirt.sh script was limited to cover only the installation of libvirt dependencies, this change pretends to cover the installation of vagrant and virtualbox and/or libvirt for different distros. Change-Id: I1ffd4478046cb64ad164f88d9bab078f246f0677 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-370
2018-02-12Forward port for SDC simulatorVictor Morales2-2/+9
The SDC simulator thru the port 8285, this change allows to accces it using localhost url. Change-Id: I008635047443c11e298e4d15c4d2314b514f8e2f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: SDC-993
2018-02-08Trivial documentation fix.Manjeet Singh Bhatia2-4/+3
Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com> Issue-ID: INT-416 Change-Id: Idd88e2c4fed40cd082d467e9e96570334c09f491
2018-02-05Update SDC instructionsVictor Morales4-34/+46
The variables and instructions of SDC script were out of date. This change includes the usage of "src_folders" variable besides the simplification of the process. Change-Id: I557b2a9a2a2ed567003230febfae56a043a2e9e2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-16
2018-01-22Update AAI instructionsVictor Morales6-125/+76
The AAI instructions were using old variables resulting in some execution errors. This change removes that old variables and updates the methods required for the service. Change-Id: I14f8e598eb8a5fd915b63135c1145ea25f6bcad0 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-18
2018-01-18Add kolla internal vip to no_proxyNate Potter4-1/+37
The internal vip value is calculated at deploy time when bringing up the OpenStack VM, and isn't able to be included in the proxy values in the Vagrantfile. Because of this, we need to add it to no_proxy after it's calculated so that users and other services can access it in a proxy environment. Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: INT-383 Change-Id: Ifed792a4f7e6f4f5a227848486e8165be4a30fc7
2018-01-10Enable ODLVictor Morales6-36/+862
This patch enable the alternative to provision OpenDaylight as a SDN Controller for OpenStack using Kolla as an installer. Change-Id: I4837cc7600cad07600dd5202aa9695ca8b2a8c70 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-329
2018-01-04Fix multicloud build image processVictor Morales2-11/+23
The multicloud script was using old variables and scripts which haven't merged yet. So this commit commented out those invalid instructions and rename old variables. Change-Id: I5566b2fb773f7d7c92493162b0d9e10945382280 Signed-off-by: Victor Morales <victor.morales@intel.com>o Issue-ID: MULTICLOUD-53
2017-12-23Add OOM provisioning scriptVictor Morales13-57/+393
The instructions to provision a ONAP Operations Manager environment was included into the vagrant-onap tool. This script requires a specific docker version besides some tasks that wait for certain services. Change-Id: I39f0b7947e7c87d8aa44ffa93cdb414d700379bd Signed-off-by: Victor Morales <victor.morales@intel.com> Co-Authored-By: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Issue-ID: INT-370
2017-12-08Centralize src_folder and repos infoVictor Morales37-407/+393
The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2017-12-07Fix Robot UTsVictor Morales5-25/+26
The way to clone robot source code repos was depending on the name of the project, but given that robot repos name has different name it was required to handle this exception. This change include Change-Id: If0f4b1cd7866944166b1e81ed417176049251370 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-19
2017-12-01Add MSB supportVictor Morales14-67/+192
The Microservices Bus project has been supported by this change Change-Id: Id86a0a300b2622ee4b0d362c798c9656cb41fa33 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-358
2017-12-01Fix vagrant-libvirtd network adapter infoVictor Morales2-18/+30
This patch removes the network adapter info for libvirt vagrant provider, which was causing conflicts provisioning environments with this provider. Change-Id: Ib84a66227a96e4adbcf5febbe81ec5c15b83636b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-357
2017-11-20Refactor clone and compile functionsVictor Morales35-425/+265
The clone_all_* and compile_all_* functions share same instructions for performing their functionality. This change pretends to reduce the duplication of the code. Change-Id: Ief63a5a58c79af85c829602b0451637424659438 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-339
2017-11-16Implement steps for Multicloud ImagesVictor Morales4-3/+45
It was implemented the steps required for retrieving or building docker images as well as their execution. Change-Id: I20f79c5375377a9406f92f9e3e32a2cbec23a4f9 Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: Idc876574ceee39b7cf389978d6a33eb7c66291a6 Issue-Id: MULTICLOUD-53
2017-11-15Add Windows Networking known issueVictor Morales1-0/+13
Apparently there are some issues in the way that VirtualBox is installed in a Windows Host machine. This commit provides a workaround for that. Change-Id: Ia1142d2980ec9189e2a4ff982fa51e336fa6061b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-98
2017-11-10Clean up install of JJB and add instrumentationGary Wu5-9/+11
Change-Id: I73fcfe0335a7d95beef1570919929e05226adfa6 Issue-ID: INT-146 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-11-08Add OpenStack supportVictor Morales8-10/+94
This change allows the provisioning of an All-in-One OpenStack deployment through ansible-kolla project. Given that it uses System D this adds an exception to use Ubuntu Xenial release. Change-Id: I57973a1b5cc331654fbabf7932ddcfef817afedf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-329