Age | Commit message (Collapse) | Author | Files | Lines |
|
- Default configuration of logging for docker daemon.
- New ansible module for generic handling of JSON files.
- New setting in ansible.cfg: jinja2_native = True
To preserve double-quotes in json values (OOM-1698).
Issue-ID: OOM-1681
Change-Id: I8f8e19ebc290fd48a63146e96f418b98344e4433
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Updating to ansible version: 2.7.8
Current ansible version: 2.6.3
The current version breaks json values in playbooks.
Change-Id: I9858339a08711ad921122b2e7b6ccf04d62454a3
Issue-ID: OOM-1698
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
Inside the build_ansible_image.sh is a variable (label for docker image)
which is set to git commit hash. This is fine but you can just copy
and move ansible directory elsewhere out of git and this script breaks
because of this.
This change preserve previous functionality but only if the script
is run inside a git repository otherwise it will skip setting the
label for the built docker image.
Change-Id: I23f828542efddde21d1c96116de7b20272ef23ef
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
pip-19.0 fails to build with the option --no-cache-dir
Change-Id: I6494c6c6b4dc49d4fbd2ce657ed9824c5b3847e3
Issue-ID: OOM-1607
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
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.
Also similar change is done in handling of
/etc/resolv.conf in infrastructure.yml.
Ip address is specified by the "cluster_ip" variable placed on a host.
Inventory specifies ip for everything except resource server (just for consistency).
Change-Id: I2baa3f4c7d69b8dff109b5f8ae984134caf2af7d
Issue-ID: OOM-1573
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Dockerfile and script for building the image
Change-Id: If1e83095463ae209e284ba92898447a1205a2244
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|