Changing NBI Pebble Service command to enter the startup directory first 95/13795/8
authorgatici <gulsum.atici@canonical.com>
Wed, 19 Jul 2023 09:45:43 +0000 (12:45 +0300)
committerbeierlm <mark.beierl@canonical.com>
Mon, 14 Aug 2023 19:09:05 +0000 (21:09 +0200)
commitd3fd0b95a493fad347fd7ae8b9e056e4730541f8
tree1e1bfe5970e3954b2edc99cbd78bccc637605c21
parentc7da11d48593106cb9db1f7a3f9208593fdc5ed4
Changing NBI Pebble Service command to enter the startup directory first

In rockcraft.yaml WORKDIR is not supported, so it needs to be specified in Pebble service definition by using working-dir parameter.
However, working-dir is not supported in Juju 2.9.x. So, we are entering to the startup directory first as a workaround.

Change-Id: Ia441b5445822f0833f659f964fc1f2216586cdc5
Signed-off-by: gatici <gulsum.atici@canonical.com>
installers/charm/osm-nbi/config.yaml
installers/charm/osm-nbi/src/charm.py