Skip to content

Commit 0523ca0

Browse files
authored
add compat to grpc-health-probe package (#57978)
Signed-off-by: kranurag7 <81210977+kranurag7@users.noreply.github.com>
1 parent f07a3d3 commit 0523ca0

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

grpc-health-probe.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
package:
22
name: grpc-health-probe
33
version: "0.4.39"
4-
epoch: 0
4+
epoch: 1
55
description: A command-line tool to perform health-checks for gRPC applications in Kubernetes and elsewhere
66
copyright:
77
- license: Apache-2.0
88
dependencies:
99
# REMOVE_POST_USRMERGE - https://github.com/orgs/wolfi-dev/discussions/40270
10-
provides:
11-
- ${{package.name}}-compat=${{package.full-version}}
1210
runtime:
1311
- merged-bin
1412
- wolfi-baselayout
@@ -30,6 +28,23 @@ pipeline:
3028

3129
- uses: strip
3230

31+
subpackages:
32+
- name: ${{package.name}}-compat
33+
description: Compatibility package for ${{package.name}}
34+
pipeline:
35+
- runs: |
36+
mkdir -p ${{targets.contextdir}}/ko-app/
37+
ln -sf /usr/bin/grpc-health-probe ${{targets.contextdir}}/ko-app/grpc-health-probe
38+
test:
39+
environment:
40+
contents:
41+
packages:
42+
- ${{package.name}}
43+
pipeline:
44+
- runs: |
45+
stat /ko-app/grpc-health-probe
46+
test "$(readlink /ko-app/grpc-health-probe)" = "/usr/bin/grpc-health-probe"
47+
3348
update:
3449
enabled: true
3550
github:

0 commit comments

Comments
 (0)