From 4e59d5ccfcfdb5a996b3890c13425246af25677e Mon Sep 17 00:00:00 2001 From: welpaolo Date: Fri, 27 Oct 2023 10:03:22 +0200 Subject: [PATCH] [DPE-2784] Update spark-k8s-toolkit library to v0.0.2 and update location of the decom script (#49) --- rockcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rockcraft.yaml b/rockcraft.yaml index 0a500900..5616f9fb 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -141,7 +141,7 @@ parts: - python3-pip overlay-script: | mkdir -p $CRAFT_PART_INSTALL/opt/spark8t/python/dist - pip install --target=${CRAFT_PART_INSTALL}/opt/spark8t/python/dist https://github.com/canonical/spark-k8s-toolkit-py/releases/download/v0.0.1/spark8t-0.0.1-py3-none-any.whl + pip install --target=${CRAFT_PART_INSTALL}/opt/spark8t/python/dist https://github.com/canonical/spark-k8s-toolkit-py/releases/download/v0.0.2/spark8t-0.0.2-py3-none-any.whl rm usr/bin/pip* stage: - opt/spark8t/python/dist @@ -240,3 +240,5 @@ parts: mkdir -p var/lib/spark/notebook chown -R ${SPARK_GID}:${SPARK_UID} var/lib/spark chmod -R 770 var/lib/spark + mv opt/spark/decom.sh opt/decom.sh + chmod a+x opt/decom.sh