Skip to content

Commit d55d07c

Browse files
authored
[DPE-5032] Release 3.5.1-ubuntu1 (#101)
1 parent a9f919a commit d55d07c

File tree

9 files changed

+32
-30
lines changed

9 files changed

+32
-30
lines changed

.github/workflows/on_push.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- '3.4-22.04/*'
5+
- '3.5-22.04/*'
56

67
jobs:
78
publish:

.github/workflows/trivy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- 3.4-22.04/edge
6+
- 3.5-22.04/edge
67
pull_request:
78
jobs:
89
build:

Makefile

+13-13
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $(shell mkdir -p $(_MAKE_DIR))
4343
# eg, charmed-spark
4444
ROCK_NAME := $(shell cat images/charmed-spark/rockcraft.yaml | yq .name)
4545

46-
# eg, 3.4.2
46+
# eg, 3.5.1
4747
SPARK_VERSION := $(shell cat images/charmed-spark/rockcraft.yaml | yq .version)
4848

4949
# eg, 1.9.0
@@ -56,27 +56,27 @@ JUPYTER_VERSION=$(shell cat images/metadata.yaml | yq .flavours.jupyter.version)
5656
ROCK_NAME_GPU := $(shell cat images/charmed-spark-gpu/rockcraft.yaml | yq .name)
5757

5858
# The filename of the Rock file built during the build process.
59-
# eg, charmed-spark_3.4.2_amd64.rock
59+
# eg, charmed-spark_3.5.1_amd64.rock
6060
ROCK_FILE=$(ROCK_NAME)_$(SPARK_VERSION)_$(PLATFORM).rock
6161

6262
# The filename of the final artifact built for Spark image
63-
# eg, charmed-spark_3.4.2_amd64.tar
63+
# eg, charmed-spark_3.5.1_amd64.tar
6464
SPARK_ARTIFACT=$(ROCK_NAME)_$(SPARK_VERSION)_$(PLATFORM).tar
6565

6666
# The filename of the final artifact built for Jupyter image
67-
# eg, charmed-spark-jupyterlab_3.4.2_amd64.tar
67+
# eg, charmed-spark-jupyterlab_3.5.1_amd64.tar
6868
JUPYTER_ARTIFACT=$(ROCK_NAME)-jupyterlab_$(SPARK_VERSION)_$(PLATFORM).tar
6969

7070
# The filename of the final artifact built for Kyuubi image
71-
# eg, charmed-spark-kyuubi_3.4.2_amd64.tar
71+
# eg, charmed-spark-kyuubi_3.5.1_amd64.tar
7272
KYUUBI_ARTIFACT=$(ROCK_NAME)-kyuubi_$(SPARK_VERSION)_$(PLATFORM).tar
7373

7474
# The filename of the Rock file built during the build process.
75-
# eg, charmed-spark_gpu_3.4.2_amd64.rock
75+
# eg, charmed-spark_gpu_3.5.1_amd64.rock
7676
ROCK_FILE_GPU=$(ROCK_NAME_GPU)_$(SPARK_VERSION)_$(PLATFORM).rock
7777

7878
# The filename of the final artifact built for Spark GPU image
79-
# eg, charmed-spark-gpu_3.4.2_amd64.tar
79+
# eg, charmed-spark-gpu_3.5.1_amd64.tar
8080
SPARK_GPU_ARTIFACT=$(ROCK_NAME_GPU)_$(SPARK_VERSION)_$(PLATFORM).tar
8181

8282

@@ -87,13 +87,13 @@ SPARK_GPU_ARTIFACT=$(ROCK_NAME_GPU)_$(SPARK_VERSION)_$(PLATFORM).tar
8787
# TAG: The tag for the image
8888
#
8989
# For eg,
90-
# ARTIFACT = "charmed-spark_3.4.2_amd64.tar" TAG = "3.4.2" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark"
90+
# ARTIFACT = "charmed-spark_3.5.1_amd64.tar" TAG = "3.5.1" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark"
9191
# or,
92-
# ARTIFACT = "charmed-spark-jupyterlab_3.4.2_amd64.tar" TAG = "3.4.2-4.0.11" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-jupyterlab"
92+
# ARTIFACT = "charmed-spark-jupyterlab_3.5.1_amd64.tar" TAG = "3.5.1-4.0.11" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-jupyterlab"
9393
# or,
94-
# ARTIFACT = "charmed-spark-kyuubi_3.4.2_amd64.tar" TAG = "3.4.2-1.9.0" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-kyuubi"
94+
# ARTIFACT = "charmed-spark-kyuubi_3.5.1_amd64.tar" TAG = "3.5.1-1.9.0" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-kyuubi"
9595
# or,
96-
# ARTIFACT = "charmed-spark_gpu_3.4.2_amd64.tar" TAG = "3.4.2" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-gpu"
96+
# ARTIFACT = "charmed-spark_gpu_3.5.1_amd64.tar" TAG = "3.5.1" DISPLAY_NAME = "ghcr.io/canonical/charmed-spark-gpu"
9797

9898
ifeq ($(FLAVOUR), jupyter)
9999
DISPLAY_NAME=$(REPOSITORY)$(PREFIX)$(ROCK_NAME)-jupyterlab
@@ -174,7 +174,7 @@ help:
174174

175175
# Recipe for creating a rock image from the current repository.
176176
#
177-
# ROCK_FILE => charmed-spark_3.4.2_amd64.rock
177+
# ROCK_FILE => charmed-spark_3.5.1_amd64.rock
178178
#
179179
$(ROCK_FILE): images/charmed-spark/rockcraft.yaml $(wildcard images/charmed-spark/*/*)
180180
@echo "=== Building Charmed Image ==="
@@ -275,7 +275,7 @@ endif
275275

276276
# Shorthand recipe to build the image. The flavour is picked from FLAVOUR variable to `make`.
277277
#
278-
# eg, ARTIFACT => charmed-spark_3.4.2_amd64.tar
278+
# eg, ARTIFACT => charmed-spark_3.5.1_amd64.tar
279279
build: $(ARTIFACT)
280280

281281

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The Charmed Spark rock images come with some built-in tooling embedded:
2424

2525
Rocks will be named as `<version>-<series>_<risk>`.
2626

27-
`<version>` is the software version; `<series>` is the Ubuntu LTS series that rocks supports; and the <risk> is the type of release, if it is edge, candidate or stable. Example versioning will be 3.4-22.04_stable which means Charmed Spark is a version 3.4.x of the software, supporting the 22.04 Ubuntu release and currently a 'stable' version of the software. See versioning details [here](https://snapcraft.io/docs/channels).
27+
`<version>` is the software version; `<series>` is the Ubuntu LTS series that rocks supports; and the <risk> is the type of release, if it is edge, candidate or stable. Example versioning will be 3.5-22.04_stable which means Charmed Spark is a version 3.5.x of the software, supporting the 22.04 Ubuntu release and currently a 'stable' version of the software. See versioning details [here](https://snapcraft.io/docs/channels).
2828

2929
Channel can also be represented by combining `<version>_<risk>`
3030

@@ -65,15 +65,15 @@ Charmed Spark rock with Spark Rapids support is available at https://github.com/
6565
The image can be used straight away when running Spark on Kubernetes by setting the appropriate configuration property:
6666

6767
```shell
68-
spark.kubernetes.container.image=ghcr.io/canonical/charmed-spark:3.4-22.04_edge
68+
spark.kubernetes.container.image=ghcr.io/canonical/charmed-spark:3.5-22.04_edge
6969
```
7070

7171
### Using `spark8t` CLI
7272

7373
The `spark8t` CLI tooling interacts with the K8s API to create, manage and delete K8s resources representing the Spark service account.
7474
Make sure that the kube config file is correctly loaded into the container, e.g.
7575
```shell
76-
docker run --name chamed-spark -v /path/to/kube/config:/var/lib/spark/.kube/config ghcr.io/canonical/charmed-spark:3.4-22.04_edge
76+
docker run --name chamed-spark -v /path/to/kube/config:/var/lib/spark/.kube/config ghcr.io/canonical/charmed-spark:3.5-22.04_edge
7777
```
7878

7979
Note that this will start the image and a long-living service, allowing you to exec commands:
@@ -83,7 +83,7 @@ docker exec charmed-spark spark-client.service-account-registry list
8383

8484
If you prefer to run one-shot commands, without having the Charmed Spark image running, use `\; exec` prefix, e.g.
8585
```shell
86-
docker run -v ... ghcr.io/canonical/charmed-spark:3.4-22.04_edge \; exec spark-client.service-account-registry list
86+
docker run -v ... ghcr.io/canonical/charmed-spark:3.5-22.04_edge \; exec spark-client.service-account-registry list
8787
```
8888

8989
For more information about spark-client API and `spark8t` tooling, please refer to [here](https://discourse.charmhub.io/t/spark-client-snap-how-to-manage-spark-accounts/8959).
@@ -95,7 +95,7 @@ Charmed Spark rock Image is delivered with Pebble already included in order to m
9595
#### Starting History Server
9696

9797
```shell
98-
docker run ghcr.io/canonical/charmed-spark:3.4-22.04_edge \; start history-server
98+
docker run ghcr.io/canonical/charmed-spark:3.5-22.04_edge \; start history-server
9999
```
100100

101101
### Running Jupyter Lab
@@ -110,7 +110,7 @@ To start a JupyterLab server using the `charmed-spark-jupyter` image, use
110110
docker run \
111111
-v /path/to/kube/config:/var/lib/spark/.kube/config \
112112
-p <port>:8888
113-
ghcr.io/canonical/charmed-spark-jupyterlab:3.4.2-4.0.11-22.04_edge \
113+
ghcr.io/canonical/charmed-spark-jupyterlab:3.5.1-4.0.11-22.04_edge \
114114
--username <spark-service-account> --namespace <spark-namespace>
115115
```
116116

@@ -123,7 +123,7 @@ JupyterLab server to act as a Spark driver and request resources on the K8s clus
123123

124124
## Developers and Contributing
125125

126-
Please see the [CONTRIBUTING.md](https://github.com/canonical/charmed-spark-rock/blob/3.4-22.04/edge/CONTRIBUTING.md) for guidelines and for developer guidance.
126+
Please see the [CONTRIBUTING.md](https://github.com/canonical/charmed-spark-rock/blob/3.5-22.04/edge/CONTRIBUTING.md) for guidelines and for developer guidance.
127127

128128
## Bugs and feature request
129129

@@ -135,7 +135,7 @@ If you find a bug in this rock or want to request a specific feature, here are t
135135

136136
## Licence statement
137137

138-
Charmed Spark is free software, distributed under the [Apache Software License, version 2.0](https://github.com/canonical/charmed-spark-rock/blob/3.4-22.04/edge/LICENSE).
138+
Charmed Spark is free software, distributed under the [Apache Software License, version 2.0](https://github.com/canonical/charmed-spark-rock/blob/3.5-22.04/edge/LICENSE).
139139

140140
## Trademark Notice
141141

images/charmed-spark-gpu/rockcraft.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: |
1111
1212
license: Apache-2.0
1313

14-
version: "3.4.2"
14+
version: "3.5.1"
1515

1616
1717

@@ -52,8 +52,8 @@ services:
5252
parts:
5353
spark:
5454
plugin: dump
55-
source: https://github.com/canonical/central-uploader/releases/download/spark-3.4.2-ubuntu5/spark-3.4.2-ubuntu5-20240702211805-bin-k8s.tgz
56-
source-checksum: sha512/2d620730b31ddb6532dc0f08c3da92aa4fbc0e3d7eea7628bc9705ae26b3a38db5b776be27e65271d7c375cfc676def233c8de37917c6cb6becd9cbbe6fabb22
55+
source: https://github.com/canonical/central-uploader/releases/download/spark-3.5.1-ubuntu1/spark-3.5.1-ubuntu1-20240801193221-bin-k8s.tgz
56+
source-checksum: sha512/4c9ec4dc3f67602ec9f83fa08486985647b8ab7eaf3748c3042a382ed367fc776b7623a067ceef408337cf5c2171a010da0ff063dcbf76c4b84674b661d2330b
5757
overlay-script: |
5858
sed -i 's/http:\/\/deb.\(.*\)/https:\/\/deb.\1/g' /etc/apt/sources.list
5959
apt-get update
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
spark.kubernetes.container.image=ghcr.io/canonical/charmed-spark:3.4-22.04
1+
spark.kubernetes.container.image=ghcr.io/canonical/charmed-spark:3.5-22.04

images/charmed-spark/rockcraft.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
1111
license: Apache-2.0
1212

13-
version: "3.4.2"
13+
version: "3.5.1"
1414

1515
1616

@@ -51,8 +51,8 @@ services:
5151
parts:
5252
spark:
5353
plugin: dump
54-
source: https://github.com/canonical/central-uploader/releases/download/spark-3.4.2-ubuntu5/spark-3.4.2-ubuntu5-20240702211805-bin-k8s.tgz
55-
source-checksum: sha512/2d620730b31ddb6532dc0f08c3da92aa4fbc0e3d7eea7628bc9705ae26b3a38db5b776be27e65271d7c375cfc676def233c8de37917c6cb6becd9cbbe6fabb22
54+
source: https://github.com/canonical/central-uploader/releases/download/spark-3.5.1-ubuntu1/spark-3.5.1-ubuntu1-20240801193221-bin-k8s.tgz
55+
source-checksum: sha512/4c9ec4dc3f67602ec9f83fa08486985647b8ab7eaf3748c3042a382ed367fc776b7623a067ceef408337cf5c2171a010da0ff063dcbf76c4b84674b661d2330b
5656
overlay-script: |
5757
sed -i 's/http:\/\/deb.\(.*\)/https:\/\/deb.\1/g' /etc/apt/sources.list
5858
apt-get update

tests/integration/integration-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ cleanup_user_failure() {
116116
teardown_test_pod() {
117117
kubectl logs testpod-admin -n $NAMESPACE
118118
kubectl logs testpod -n $NAMESPACE
119-
kubectl logs -l spark-version=3.4.2 -n $NAMESPACE
119+
kubectl logs -l spark-version=3.5.1 -n $NAMESPACE
120120
kubectl -n $NAMESPACE delete pod $ADMIN_POD_NAME
121121
}
122122

tests/integration/resources/testpod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: testpod
55
spec:
66
containers:
7-
- image: ghcr.io/canonical/test-charmed-spark:3.4.2
7+
- image: ghcr.io/canonical/test-charmed-spark:3.5.1
88
name: spark
99
ports:
1010
- containerPort: 18080

0 commit comments

Comments
 (0)