diff options
| author | Roman Krček <roman.krcek@tietoevry.com> | 2024-08-05 16:57:06 +0200 |
|---|---|---|
| committer | Roman Krček <roman.krcek@tietoevry.com> | 2024-09-04 06:37:09 +0000 |
| commit | 8ae55dd0b8e53e2afcc337204c469ca863823f18 (patch) | |
| tree | 39a6319ec85ca55308b5c142c71612401047703f /docker/base/start.sh | |
| parent | c63961fdbe4b00707dfc744c57b5b7b0a3257a64 (diff) | |
| download | kolla-8ae55dd0b8e53e2afcc337204c469ca863823f18.tar.gz kolla-8ae55dd0b8e53e2afcc337204c469ca863823f18.zip | |
Refactor dev mode
Provides mechanism for future work to fix bug where when package file
manifest changes, the changes were not reflected in to devmode-enabled
container.
It changes the strategy of installing projects in dev mode in containers.
Instead of bind mounting the project's git repository to the venv
of the container, the repository is bind mounted to
/dev-mode/<project_name> from which the it is installed using pip
on every startup of the container using kolla_install_projects script.
Related-bug: #1814515
Change-Id: Ia1bdff87cba73587a03124ab78a56b21c6176373
Signed-off-by: Roman Krček <roman.krcek@tietoevry.com>
Diffstat (limited to 'docker/base/start.sh')
| -rw-r--r-- | docker/base/start.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/base/start.sh b/docker/base/start.sh index 79d7f7c74..2b77b4ea2 100644 --- a/docker/base/start.sh +++ b/docker/base/start.sh @@ -15,6 +15,9 @@ ARGS="" # Install/remove custom CA certificates sudo kolla_copy_cacerts +# Install projects that are in /dev-mode +kolla_install_projects + if [[ ! "${!KOLLA_SKIP_EXTEND_START[@]}" ]]; then # Run additional commands if present . kolla_extend_start |
