Skip to content

Commit e35346f

Browse files
authored
etcd: Expand compat package tests. Define runtime dependencies. (#47689)
Adds test to validate the welcome message displayed upon invocation of entrypoint script, is the Chainguard version. Follow-on from: #47597. Adds required runtime dependencies to -compat package, which where previously defined as runtime dependencies at the image level. This aligns with other similar packages. --------- Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
1 parent de0c04a commit e35346f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

etcd-3.5.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: etcd-3.5
33
version: "3.5.20"
4-
epoch: 0
4+
epoch: 1
55
description: A highly-available key value store for shared configuration and service discovery.
66
copyright:
77
- license: Apache-2.0
@@ -41,6 +41,14 @@ pipeline:
4141
subpackages:
4242
- name: etcd-3.5-bitnami-compat
4343
description: "compat package with bitnami/etcd image"
44+
dependencies:
45+
runtime:
46+
- bash
47+
- coreutils
48+
- gawk
49+
- grep
50+
- posix-libc-utils
51+
- procps
4452
pipeline:
4553
- uses: bitnami/compat
4654
with:
@@ -54,10 +62,17 @@ subpackages:
5462
ln -sf /usr/bin/etcdutl ${{targets.subpkgdir}}/opt/bitnami/etcd/bin/etcdutl
5563
cp LICENSE ${{targets.subpkgdir}}/opt/bitnami/licenses/LICENSE
5664
test:
65+
environment:
66+
contents:
67+
packages:
68+
- ${{package.name}}
5769
pipeline:
5870
- runs: |
5971
run-script --version
6072
run-script --help
73+
- uses: bitnami/validate-welcome-message
74+
with:
75+
app-name: etcd
6176

6277
update:
6378
enabled: true

0 commit comments

Comments
 (0)