Valentin Lab
2c409e26ce
fix: [base] accept ``20.10`` docker version as valid
1 year ago
Valentin Lab
c96abd13db
fix: dev: [base] remove obsolete comment !minor
1 year ago
Valentin Lab
914b7ed77b
fix: [base] remove bogus file creation due to typo
1 year ago
Valentin Lab
b3343573e8
chg: [host] only install ``ntp`` if not using ``systemd-timesyncd``
1 year ago
Valentin Lab
46116026b2
chg: [host] remove ``gitsub``
1 year ago
Valentin Lab
6d3e7ce648
new: [host] several small adjustments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f43ff7d5f0
new: [host] add ``logrotate``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
64cf4a75c8
new: [host] add ``ntp``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0c6e2e6496
fix: dev: [host] was failing if ``$NO_DOCKER_RESTART`` was not set
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d116de79e8
fix: dev: [host] on debian 9, ``setuptools`` was not installed and required
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3fdd628f66
fix: dev: [host] we don't always have ``kal-shlib`` when executing this
We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d3f9028aee
new: dev: [host] added ``$NO_DOCKER_RESTART`` variable to disable restarting docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ed8035520
fix: dev: removed ``--force-yes`` everywhere as it is deprecated
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f2d61037b0
fix: [docker-host] don't touch an already installed version of docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
435ef3da11
fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7c83ad0b97
new: [host] minimal host backup config
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93ec99f21f
new: [host] add cron to ``mirror-dir-check`` call
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
48678f64e9
fix: [host] ``shorewall`` installation on debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
84b271b344
fix: [host] ensure to use the full ``kill`` binary
In some circumstances a call to ``kill`` will trigger the
builtin of your shell and could not support given options.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6a221ea964
fix: [host] ``/etc/resolv.conf`` does not support comments
And search configuration is not required.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
deea56bd50
new: [host] add explicit installation of ``bind9``
This is required in debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0878a98dd2
fix: [host] ``dnsmasq`` configuration upgrade
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4f4c41caa9
fix: [host] backup scripts will require ``pick2del_backups`` to be available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d7488054f4
fix: [host] corrected typo in inserted comment of ``/etc/compose/local.conf`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1da56fd41e
new: [host] check if curl is already installed
This was needed in debian 10.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a58f06ebc9
new: [host] debian 10 lxc configuration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
33c92f3be6
new: [host] new dependencies for ``btrfs-tools``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
de449d1921
chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
70405dbf47
new: [docker-host] include dependencies of new `docker-tags-fetch` command
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6146924eba
fix: [docker-host] debian 10 compatibility, removing support for registry v1
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
66be919b7d
chg: [host] remove =docker-clean= from general install
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
960677541f
fix: support updating to compatible layout in ``/srv/charm-store``
Last ``compose`` will require ``/srv/charm-store`` not to use symbolic links
because of bad support in windows support.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
bcdbb12061
fix: [docker-builder,host] update path when using ``0k-docker`` scripts
6 years ago
Valentin Lab
0ba975e9fb
new: [docker-host] don't use hostname anymore for DEFAULT_PROJECT_NAME (fallback to directory name).
6 years ago
Valentin Lab
b8f4a435e0
new: [docker-host] be much more strict in the way to handle creation of links and updates.
6 years ago
Valentin Lab
60502091c2
new: [docker-host] don't restart docker for certificate installation if it is not needed.
6 years ago
Valentin Lab
86b31d4e72
fix: [docker-host] remove possible previous docker-compose related stuff
6 years ago
Valentin Lab
441e669b88
fix: [docker-host] default project name wouldn't have dynamic resolution and would not be lowercase
``docker-compose`` doesn't like lowercase for project name.
6 years ago
Valentin Lab
73ec2f1010
fix: [docker-host] remove installation of docker-compose as it is not anymore used.
Since ``compose`` is now inside a docker with all its dependencies,
(including ``docker-compose``), we do not need to install it on the
host.
6 years ago
Valentin Lab
90d69a1983
new: [docker-host] added ``docker-clean` in cron's daily tasks
6 years ago
Valentin Lab
cb142dd90d
new: [docker-host] fetch and update kal-shlib-* deps
Apt install explicitly dependencies so-as to get updates, if any.
Also, by keeping related dependency fetching code together with the installation
of the intended program, we keep ourselves the possibility to fragment further
these files and/or make appear similarities that might give us hints at
needed factorization.
6 years ago
Valentin Lab
dcb56831da
new: [docker-host] enforcing logs and strict mode on ``70-0k.sh``
6 years ago
Valentin Lab
d91a531edf
chg: [docker-host] pinning all versions of ``docker-compose`` requirements.
6 years ago
Valentin Lab
db24b6a301
fix: [docker-host] soften constraint on ``docker-compose`` exact version string
We had the build number changing from ``a133471`` to ``unknown``.
6 years ago
Valentin Lab
44236c71ec
fix: [docker-host] pin python ``docker`` package.
6 years ago
Valentin Lab
73aeaf15a6
fix: [docker-host] remove warning about ``/etc/default/lxc`` not existent
6 years ago
Valentin Lab
a6ff279b0d
fix: [docker-host] must delete all cache values in case of upgrade
6 years ago
Valentin Lab
fff43fa397
fix: [docker-host] restart docker only if necessary
6 years ago
Valentin Lab
67341f9783
fix: [docker-host] option ``-e`` is not anymore supported for ``docker login``
6 years ago
Valentin Lab
e1e70c944a
new: [docker-host] added ``0k-charm`` installation
It is usually already installed as these scripts are meant to be
used from ``0k-charm`` binary itself. But for hand execution of
the scripts, and update reason, it is a good idea to take care
of it as any other utility.
6 years ago