summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Petr Ospalý [Wed, 19 Dec 2018 13:22:00 +0000 (14:22 +0100)]
Add control variables for the ansible deploy
all.yml should be set or redefined per application
infrastructure.yml should be modified only with a care
Issue-ID: OOM-1551
Change-Id: I05dd6b83d980101214881420e3825949e75afc73
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Michal Ptacek [Wed, 19 Dec 2018 13:12:53 +0000 (13:12 +0000)]
Merge "Adding nginx role"
Michal Ptacek [Wed, 19 Dec 2018 13:12:03 +0000 (13:12 +0000)]
Merge "Add nexus ansible role"
Petr Ospalý [Wed, 19 Dec 2018 12:54:09 +0000 (13:54 +0100)]
Add ansible library for creating the k8n env.
Issue-ID: OOM-1551
Change-Id: I485f58e560086345bd27a4a7f94d2651a0cd357e
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Tomáš Levora [Wed, 19 Dec 2018 12:46:03 +0000 (12:46 +0000)]
Merge "Adding rancher role"
Petr Ospalý [Wed, 19 Dec 2018 12:28:29 +0000 (13:28 +0100)]
Add ansible library to modify json
Issue-ID: OOM-1551
Change-Id: I791bf7163a023ddc140cee22d474fcf532beae17
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Tomáš Levora [Wed, 19 Dec 2018 12:20:40 +0000 (12:20 +0000)]
Merge "Add a wrapper script to run ansible in chroot"
Petr Ospalý [Wed, 19 Dec 2018 12:18:24 +0000 (12:18 +0000)]
Merge "Add .gitignore to docker directory"
Petr Ospalý [Wed, 19 Dec 2018 12:14:54 +0000 (13:14 +0100)]
Add a wrapper script to run ansible in chroot
Script uses namespaces and overlayfs to be more robust.
Also it supports bind mounting to extend the chroot with
external files and directories.
Issue-ID: OOM-1551
Change-Id: I8c554e1b86fca86f86e6c0d0e1b106c97a08ef15
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Michal Ptacek [Wed, 19 Dec 2018 12:13:50 +0000 (12:13 +0000)]
Adding nginx role
nginx is crucial part of our offline solution, within this role
we are covering deployment of this lightweight http server
together with its configuration.
Change-Id: I89695074349f4c6938340ab3bb735108c8c278f4
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Michal Ptacek [Wed, 19 Dec 2018 12:10:34 +0000 (12:10 +0000)]
Adding rancher role
In kubernetes cluster configuration we still use rancher tool,
this ansible role is providing handling for both rancher server
and agent.
Change-Id: I508a42a98902788b940b06cf95009a899c50a3b8
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Petr Ospalý [Wed, 19 Dec 2018 12:08:22 +0000 (13:08 +0100)]
Add a script to convert the docker into chroot
The docker image will be exported into a tar archive
containing the chroot directory
Issue-ID: OOM-1551
Change-Id: I8709ffd59156243e42bebbaf03838120149d47b0
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Petr Ospalý [Wed, 19 Dec 2018 12:03:21 +0000 (13:03 +0100)]
Add .gitignore to docker directory
To avoid including the created image in the git by accident
Issue-ID: OOM-1551
Change-Id: I7144a063ed45ee8511912adb2aa1024965d452d0
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Petr Ospalý [Wed, 19 Dec 2018 11:47:27 +0000 (12:47 +0100)]
Add ansible docker image
Dockerfile and script for building the image
Change-Id: If1e83095463ae209e284ba92898447a1205a2244
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Michal Ptacek [Wed, 19 Dec 2018 11:32:51 +0000 (11:32 +0000)]
Merge "Add ansible nfs role"
Michal Ptacek [Wed, 19 Dec 2018 11:32:16 +0000 (11:32 +0000)]
Merge "Add ansible certificates role"
Michal Zegan [Wed, 19 Dec 2018 10:54:26 +0000 (11:54 +0100)]
Add ansible kubectl role
This role install kubectl tool.
Change-Id: Ie446a68c94138593770f323ec3ee3dc607fdd8e0
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Michal Zegan [Wed, 19 Dec 2018 10:51:26 +0000 (11:51 +0100)]
Add nexus ansible role
This role deploys the internal nexus used as
offline source of docker images/npm packages for onap.
Change-Id: Iaf398eb03614749d2b3c100c241726144ccae1a0
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Michal Zegan [Wed, 19 Dec 2018 10:47:30 +0000 (11:47 +0100)]
Add ansible nfs role
This commit adds role for creating /dockerdata-nfs
and exporting i over nfs for later use during onap deployment.
Change-Id: I0ea8e858d581534b983eaab6e1ee570068fc623c
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Michal Zegan [Wed, 19 Dec 2018 10:20:51 +0000 (11:20 +0100)]
Add ansible certificates role
This role is used to generate and install certificates on instances,
incl. root ca.
Those certificates are used mainly to allow secure access to
internal docker registry with proper certificate verification.
Issue-ID: OOM-1551
Change-Id: I74782dd2938cb51da293f88483d5362981269196
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 16:00:08 +0000 (17:00 +0100)]
Placing script for saving docker images.
This code is required for saving docker images correctly.
Change-Id: I133c78b0596d2741aec001611ee2db822ff59219
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:50:45 +0000 (16:50 +0100)]
Pushing the remote list gathering script.
This script gather docker images list from environment.
Change-Id: Ie02068d652f37b296890f0831e7a6b39cb8c0ba2
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:45:11 +0000 (16:45 +0100)]
Inserting to repo make-npm-list.sh
Script will gather needed npm package.
Change-Id: I18b6c129c8a1f0ad4b3c9f49a4fcec0591ed8efe
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:33:00 +0000 (16:33 +0100)]
Uploading the script for loading images.
This script will push docker images to nexus.
Change-Id: I688a87b98acb919d13bf96fc32d7fd7c958eabb4
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:29:02 +0000 (16:29 +0100)]
Pushing the script for makeing docker image list.
Adding make-docker-images-list under proper location.
Change-Id: Ib108e72f05b8b990339663228a070c551a61436c
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:22:40 +0000 (16:22 +0100)]
Commit with fix for the script name.
Proper name is download-git-repos.sh
Change-Id: I280a5eb38c027a1f800c78337d7fee440644908f
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 15:16:20 +0000 (16:16 +0100)]
Uploading script for downloading packages.
Script will download proper data.
Change-Id: I57bfe723e2e142a2e63f931d7090628a73d0b1c1
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 14:51:39 +0000 (15:51 +0100)]
Sharing script for deploying nexus.
Adding script deploy_nexus.sh
Change-Id: I4a874560ba5ecf200148911887ad74eeef0c3ecf
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 14:33:06 +0000 (15:33 +0100)]
Uploading pip handler.
Adding download-pip.sh for downloading proper components from list.
Change-Id: Ic6473f63f035f26712077905dcf6c385fe9bc8f3
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 14:26:26 +0000 (15:26 +0100)]
This commit adds download-oom script.
Downloading the OOM with proper branch tag.
Change-Id: I25466932001b0077e6c547d171cbfd243aaee179
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 13:57:07 +0000 (14:57 +0100)]
Folder structure change.
Providing script for downloading files.
This script depends on common-function.sh
Issue-ID: OOM-1551 Signed-off-by:
Change-Id: Idf84a42ae62c1ed9dc7486fb64b4de5e44e9ddcc
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Michal Ptacek [Tue, 18 Dec 2018 13:27:24 +0000 (13:27 +0000)]
Merge "Providing download-npm-pkgs."
Michal Ptacek [Tue, 18 Dec 2018 13:27:18 +0000 (13:27 +0000)]
Merge "Pushing script for http components download."
Michal Ptacek [Tue, 18 Dec 2018 13:27:14 +0000 (13:27 +0000)]
Merge "Uploading script for downloading git repositories."
Piotr Perzanowski [Tue, 18 Dec 2018 13:17:49 +0000 (14:17 +0100)]
Providing download-npm-pkgs.
This script will download required npm packages from proper list.
Change-Id: I0f54ee31f54bf54de24e24991e8efc585036a006
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 12:59:38 +0000 (13:59 +0100)]
Pushing script for http components download.
Script will download components from proper list in file.
Change-Id: I2b9cb284bef552dccde56d2ca10f21469103cd25
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 12:53:35 +0000 (13:53 +0100)]
Uploading script for downloading git repositories.
This script will download required repositories found in proper list.
Change-Id: Ica5367c9ddb31055274b906fb1c34fb261a25353
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Michal Ptacek [Tue, 18 Dec 2018 12:51:43 +0000 (12:51 +0000)]
Merge changes I2757cc03,I9ef6640d
* changes:
Share download-docker-image.sh
Script downloading tools.
Petr Ospalý [Tue, 18 Dec 2018 12:23:55 +0000 (13:23 +0100)]
Add a script to deploy kubernetes
This script depends on common-function.sh
Change-Id: I37616f9e0d8ee0bb499e6e192077d76e0d4a574f
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 12:18:15 +0000 (13:18 +0100)]
Share download-docker-image.sh
This script is responsible for downloading docker images.
It takes list from proper txt file.
Change-Id: I2757cc036bf77bea06dfcebd28d7dfc538fec4ba
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 12:07:19 +0000 (13:07 +0100)]
Script downloading tools.
Downloading tools needed for deployment procedure.
Change-Id: I9ef6640dbdb7474c7823dd0bb2ee5d055b43d28f
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Tue, 18 Dec 2018 11:12:51 +0000 (12:12 +0100)]
Sharing base library for bash installer
This common-functions.sh contains main library of functions
for bash installer to work.
Change-Id: I7fe6336ffcfebbe78ab326b561a6a721ff863d7e
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Mon, 17 Dec 2018 15:31:21 +0000 (16:31 +0100)]
Adding "own_nginx" dockerfile.
Dockerfile for nginx configuration to be used with nexus.
Change-Id: I52340eabbc62b2d2f34257e4141c6c9135972e29
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Piotr Perzanowski [Mon, 17 Dec 2018 15:06:50 +0000 (16:06 +0100)]
Adding copyright file.
Issue-ID: OOM-1551
Change-Id: Ieebd4b80ff612478814f694092f211fa5375c0e9
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
Michal Ptacek [Mon, 17 Dec 2018 08:34:20 +0000 (08:34 +0000)]
Adding license file
Issue-ID: OOM-1551
Change-Id: If4c425c6b44f0567b82d4fb7a56f7c7e74dc7a3d
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Jessica Wagantall [Fri, 14 Dec 2018 18:56:14 +0000 (18:56 +0000)]
Initial empty repository