Skip to content

Commit 46512a3

Browse files
Bump build-base (#26)
* upgrade build-base * bump rock version
1 parent 5ea06c8 commit 46512a3

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
PROVISIONER_NAME = os.getenv("PROVISIONER_NAME", "rawfile.csi.openebs.io")
4-
PROVISIONER_VERSION = "0.8.1"
4+
PROVISIONER_VERSION = "0.8.2"
55
DATA_DIR = "/data"
66
CONFIG = {}
77
RESOURCE_EXHAUSTED_EXIT_CODE = 101

deploy/charts/rawfile-csi/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: rawfile-csi
33
description: RawFile Driver Container Storage Interface
44
type: application
55
version: 0.9.0
6-
appVersion: 0.8.1
6+
appVersion: 0.8.2

deploy/charts/rawfile-csi/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ provisionerName: "rawfile.csi.openebs.io"
33
defaults: &defaults
44
image:
55
repository: ghcr.io/canonical/rawfile-localpv
6-
tag: 0.8.1
6+
tag: 0.8.2
77
pullPolicy: Always
88
resources:
99
limits:

requirements.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile
5+
# pip-compile requirements.in
66
#
77
certifi==2024.12.14
88
# via requests
99
charset-normalizer==3.4.0
1010
# via requests
11-
click==8.1.7
11+
click==8.1.8
1212
# via -r requirements.in
13-
grpcio==1.56.2
13+
grpcio==1.70.0
1414
# via
1515
# -r requirements.in
1616
# grpcio-tools
17-
grpcio-tools==1.56.2
17+
grpcio-tools==1.70.0
1818
# via -r requirements.in
1919
idna==3.10
2020
# via requests
2121
munch==4.0.0
2222
# via -r requirements.in
2323
prometheus-client==0.21.1
2424
# via -r requirements.in
25-
protobuf==4.25.5
25+
protobuf==5.29.3
2626
# via grpcio-tools
2727
pykube-ng==23.6.0
2828
# via -r requirements.in

rockcraft.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
name: rawfile-localpv
44
summary: RawFilePV
55
description: Kubernetes LocalPVs on Steroids
6-
version: "0.8.1"
6+
version: "0.8.2"
77
license: Apache-2.0
88

99
base: bare
10-
build-base: ubuntu@22.04
10+
build-base: ubuntu@24.04
1111
platforms:
1212
amd64:
1313
arm64:
@@ -18,8 +18,8 @@ services:
1818
command: python3 /app/rawfile.py [ csi-driver ]
1919
startup: enabled
2020
environment:
21-
PYTHONUNBUFFERED: '1'
22-
working-dir: '/app'
21+
PYTHONUNBUFFERED: "1"
22+
working-dir: "/app"
2323

2424
parts:
2525
btrfsutil:
@@ -47,6 +47,7 @@ parts:
4747
- $CRAFT_STAGE/wheels/wheels.txt
4848
- ./requirements.txt
4949
stage-packages:
50+
- libc6
5051
- e2fsprogs
5152
- btrfs-progs
5253
- libbtrfsutil1
@@ -56,6 +57,9 @@ parts:
5657
- mount
5758
- coreutils
5859
- util-linux
60+
override-build: |
61+
mkdir $CRAFT_PART_INSTALL/lib64
62+
ln -s /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 $CRAFT_PART_INSTALL/lib64/ld-linux-x86-64.so.2
5963
rawfile:
6064
after: [rawfile-deps]
6165
plugin: dump
@@ -65,4 +69,4 @@ parts:
6569
orchestrator: app/orchestrator
6670
protos: app/protos
6771
templates: app/templates
68-
'*.py': app/
72+
"*.py": app/

tests/sanity/test_rock.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
# Copyright 2024 Canonical, Ltd.
33
#
44
import subprocess
5+
56
import pytest
67
from k8s_test_harness.util import docker_util, env_util
78

89

9-
@pytest.mark.parametrize("image_version", ["0.8.1"])
10+
@pytest.mark.parametrize("image_version", ["0.8.2"])
1011
def test_sanity(image_version):
1112
rock = env_util.get_build_meta_info_for_rock_version(
1213
"rawfile-localpv", image_version, "amd64"

0 commit comments

Comments
 (0)