Files
kolla/tests/templates/docker/releaser/extend_start.sh
Andriy Kurilin cfa266a3a2 Allow to use configure_user macro for external templates
Commit 79a2342395 introduced an ability to
build 'in-house'/'not-built-in' projects with Kolla.

This commits extends this feature with an ability to use configure_user
macro for 'not-built-in' users.
The implementation is done the same way as for 'sources', i.e. engine
after registers new section structure as soon as it finds unknown
'<project>-user' section.

In addition, the documentation and CI are extended to cover
``--docker-dir`` option.

Change-Id: I690d9f3829083f2493bf286a1c45764b9699219b
2025-02-18 09:41:17 +01:00

12 lines
249 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/releaser" ]]; then
mkdir -p /var/log/kolla/releaser
fi
if [[ $(stat -c %a /var/log/kolla/releaser) != "755" ]]; then
chmod 755 /var/log/kolla/releaser
fi
. /usr/local/bin/kolla_releaser_extend_start