Skip to content

Commit 7615d0d

Browse files
authored
Merge pull request #530 from andyzhangx/blobfuse-proxy-installer
test: add blobfuse-proxy build and verification test
2 parents cae76c1 + 8505646 commit 7615d0d

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/linux.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
run: |
4242
export PATH=$PATH:$HOME/.local/bin
4343
make blobfuse-proxy
44+
sudo dpkg -i pkg/blobfuse-proxy/debpackage.deb
4445
4546
- name: Get code coverage
4647
env:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ cscope.*
6969
/bazel-*
7070
*.pyc
7171
profile.cov
72+
73+
pkg/blobfuse-proxy/debpackage/usr/

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ delete-metrics-svc:
170170

171171
.PHONY: blobfuse-proxy
172172
blobfuse-proxy:
173-
CGO_ENABLED=0 GOOS=linux go build -mod vendor -ldflags="-s -w" -o _output/blobfuse-proxy ./pkg/blobfuse-proxy
173+
mkdir -p ./pkg/blobfuse-proxy/debpackage/usr/bin/
174+
CGO_ENABLED=0 GOOS=linux go build -mod vendor -ldflags="-s -w" -o ./pkg/blobfuse-proxy/debpackage/usr/bin/blobfuse-proxy ./pkg/blobfuse-proxy
175+
dpkg-deb --build pkg/blobfuse-proxy/debpackage
174176

175177
.PHONY: blobfuse-proxy-container
176178
blobfuse-proxy-container:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: blobfuse-proxy
2-
Version: 0.1.0
2+
Version: 0.1.1
33
Section: base
44
Priority: optional
55
Architecture: all
66
Maintainer: Blob CSI driver maintainers
7-
Description: runs blobfuse as a proxy
7+
Description: blobfuse proxy

0 commit comments

Comments
 (0)