Skip to content

Commit

Permalink
[DPE-2784] Update spark-k8s-toolkit library to v0.0.2 and update loca…
Browse files Browse the repository at this point in the history
…tion of the decom script (#49)
  • Loading branch information
welpaolo authored Oct 27, 2023
1 parent 8d0fa86 commit 4e59d5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 4e59d5c

Please sign in to comment.