Commit Graph

29 Commits

Author SHA1 Message Date
Tetiana Lashchova
17237b6eb3 Clarify description for Docker mirror and registry
Change-Id: Ia95ad163eb978dd0db5ddc21c901f5ac8877cef9
Closes-Bug: #1630585
2016-10-05 16:33:22 +03:00
alexz
3f7ec09847 Shell files syntax cleanup
* add SC2001 to shellcheck skip-list
* few functions from CloudFoundryDiego application was changed -
  manual deployment test requeired

Change-Id: Ib7b223553bdfc14f7051911d7ed0e4076c6aebb0
2016-07-29 09:05:33 +00:00
alexz
719a47fa86 Yaml syntax cleanup
* remove 'error' like:
- no new line character at the end of file
- trailing spaces

Change-Id: I981f5353a5bd5bfb1546946b240a85905272887e
2016-07-27 14:06:24 +00:00
Jenkins
001f04c3a2 Merge "privileged mode support for KubernetesPod and DockerStandaloneHost" 2016-07-24 18:35:15 +00:00
Vitaly Lopatkin
ba744855df privileged mode support for KubernetesPod and DockerStandaloneHost
Change-Id: I2155b27af1e59bf907d7ad03dedada98ef8ebb76
2016-07-22 16:52:44 +06:00
Dmytro Dovbii
e99577fdc8 [DSH] Delete hardcoded image name
We have a debian 8 image for a long time, which
can be successfully used by docker standalone host
to run dockerized apps, but we still don't use it.
This commit deletes hardcode and adds image field to
ui with filter by type `linux.docker`.

Change-Id: Ie3d9d454cd98f651833b28690d33d55b404dc13d
2016-07-20 15:58:12 +00:00
Tetiana Lashchova
54bdd3f7dc Update namespace for DockerStandaloneHost
Replace com.example with com.mirantis

Change-Id: I03716573186fc0f6a973b25c95116aeea864a077
2016-07-14 13:22:07 +03:00
Jenkins
df5b08864b Merge "Fix usage of id() and super() methods in Docker apps" 2016-06-21 12:33:20 +00:00
Tetiana Lashchova
1d0fc0a3e0 Fix usage of id() and super() methods in Docker apps
Change-Id: Ieb34aee28b796adfceebca0c825d05de02cf37ac
Closes-Bug: #1593682
2016-06-21 13:27:35 +03:00
Tetiana Lashchova
492ec6e097 Update namespaces for docker applications
io.murano.apps -> com.mirantis for k8s applications,
io.murano.apps -> com.example for example applications.

bp fix-fqn-usage

Change-Id: I7061b48ebcc5c33b96a14cfabb982d709f8b709d
2016-06-17 12:37:23 +03:00
Dmytro Dovbii
b46d49af09 Fix yaql related issues in Docker apps
Partially-Implements: bp refactor-apps-scripts

Change-Id: Iaf75ec38b133d45778bb1c0f3328e939a9a54bda
2016-05-11 16:27:06 +00:00
Dmytro Dovbii
aa524e0acc Initial refactoring of murano apllications
* Increases format of packages
* Adds missed licence headers
* Other minor refactoring

Change-Id: I580bea2eb2f7e4616cd12245367ada8d43c5c4ff
Targets: bp refactor-apps-scripts
2016-04-07 12:55:24 +03:00
Tetiana Lashchova
2d2390cb72 Add Google Container Registry to DockerStandaloneHost
Allow access to Google Container Registry using json key as
a password for docker login. The key is scoped to a specific
Google Cloud Platform Console project and its resources.
Add new field for key.

Partially implements: blueprint k8s-google-registry-support

Change-Id: I904110522b482cce56a2fc14ae77eb50064b723f
2015-12-03 14:19:04 +02:00
Jenkins
082cc0c0cc Merge "Add custom docker registry to DockerStandaloneHost" 2015-11-09 10:26:18 +00:00
Tetiana Lashchova
f75e1e9700 Add custom docker registry to DockerStandaloneHost
Allow access to private docker registry using docker argument
'--insecure-registry'.
Add new field for docker private registry host ip or domain name.

Partially implements: blueprint k8s-docker-enterprise-hub-support

Change-Id: I0e7b0ceebe9deda090fff56ec87f3c615050cc2a
2015-11-02 14:28:51 +02:00
Ekaterina Chernova
576cd97d0c Remove 'images.lst' files
Some images are updated and may not supported in the future.
Murano admins should build images by there own
from fresh elements, provided in the application folder

Change-Id: I683bcac64e46e4c93a1b958e5b79452874c44288
(cherry picked from commit bd51f268525a55c7800a32a3e3d3fd5e9ffc4fb0)
2015-10-20 12:05:20 +00:00
Stan Lagun
0549313491 [Docker] Do not try to delete container on destroyed host
When Environment get deleted both Docker/k8s host and
Docker applications get deleted. So it is possible that host
will try to delete container from an Instance that was already
destroyed. Attempt to send commands to such instance
will hang until timeout because there is no more agent
exist on the other side.

Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
Closes-Bug: #1504623
Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6
2015-10-12 11:23:27 +00:00
Dmytro Dovbii
36bb9cc86a Delete unused parameter from Start Docker EP
Change-Id: I9f0cf09e4f301e39dd15cdc9568da0f1fb36f5fd
2015-07-02 10:23:11 +03:00
Dmytro Dovbii
0fc2e52dc4 Add Require section to maniest file for all apps
Change-Id: I88d690eab977d54e8272fd66a4b785ee5022a2c6
Closes-Bug: #1446563
2015-05-26 09:41:30 +03:00
Jenkins
39dc31ae4b Merge "Adds force docker service start" 2015-05-07 16:31:43 +00:00
Stan Lagun
626370becf Adds force docker service start
Despite being started via upstart in rare cases docker service
wasn't available on VM first boot. This commit adds force
server star step

Change-Id: I6fb0d247a4333c9444629c23dbc259de12f05805
Closes-Bug: #1449510
(cherry picked from commit 6944505e75aee39058eb2567f872c3416ca3fd60)
2015-05-01 22:44:47 +00:00
Stan Lagun
39a9001c04 Adds ability to delete docker applications from the host
Application deletion were supported on DSH/Pod but not exposed
in DockerApplication. Once it became exposed number of bugs in
KubernetesPod and DSH became visible.

Change-Id: I33650936a73994668f72348a909b7a51bae2b98c
Closes-Bug: #1446582
(cherry picked from commit a74293e2b4ed5695737066d9154d51a4170b8a80)
2015-05-01 22:44:24 +00:00
Ekaterina Chernova
53c9a9ad26 Add license information
* LICENSE file placed to every package
* License information is shown during application creation
* License added to every file

Change-Id: I682f3d9a09d0c0b575206d79223c1822c4b94f27
Closes-Bug: #1446121
2015-04-20 19:15:15 +03:00
Jenkins
317af79e6b Merge "Fixes port acquiring logic in DockerStandaloneHost" 2015-04-16 09:36:29 +00:00
Ekaterina Chernova
d44ea97fd3 Add requirements to docker host and k8s cluster
Since now, all flavors that have less than 10 GB disk will
not be added to the possible selection.

Also, unnecessary backslashes were removed.

Change-Id: I0839a4252957acd2be9dddbd335674c22c3d57a5
2015-04-16 08:24:31 +00:00
Stan Lagun
52a4621626 Fixes port acquiring logic in DockerStandaloneHost
Previous code used integer keys in port map. But because
JSON doesn't support integer keys they were converted
to corresponding string representations and were not
found on subsequent deployments

Change-Id: I0477a043854a5ed78545d3b944397cdbf2352bd8
Closes-Bug: #1444681
2015-04-16 03:05:36 +03:00
Stan Lagun
414c8cdf83 Fixes port binding in Docker
Host port and container port were mixed up in container
run command

Change-Id: I128b6bf575b06c10ac80e2352d08e794ff897dc7
Closes-Bug: #1443725
2015-04-15 04:12:26 +03:00
Dmytro Dovbii
fc827e50b2 Fix the incorrect work of method _removeApplicationEndpoints()
Fixed typo in method implementation. `select` command was used
for data filtration instead of `where` 

Change-Id: I80b859333089865f8f054b3cf35746e65eeef192
Closes-Bug: #1443686
2015-04-14 14:26:36 +00:00
Dmytro Dovbii
7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00