Changing RO Pebble Service command to enter the startup directory first 94/13794/5
authorgatici <gulsum.atici@canonical.com>
Mon, 31 Jul 2023 13:18:42 +0000 (16:18 +0300)
committerbeierlm <mark.beierl@canonical.com>
Wed, 9 Aug 2023 13:15:54 +0000 (15:15 +0200)
commit8a0859b3cd1a6652fc7aa87680dd8c233eba4262
tree1ee02345336c4ab5c813bf31100ab3eb1cbda582
parentd8b4673088b0a120e3e6a2dcdafd40aee8799662
Changing RO 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: I44bbe0beeafce3932218a0df1d38191a14cb4a8a
Signed-off-by: gatici <gulsum.atici@canonical.com>
installers/charm/osm-ro/src/charm.py