File tree Expand file tree Collapse file tree 4 files changed +105
-0
lines changed
Expand file tree Collapse file tree 4 files changed +105
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright Broadcom, Inc. All Rights Reserved.
2+ # SPDX-License-Identifier: APACHE-2.0
3+
4+ gossfile :
5+ # Goss tests exclusive to the current container
6+ ../../kes/goss/kes.yaml : {}
7+ # Load scripts from .vib/common/goss/templates
8+ ../../common/goss/templates/check-ca-certs.yaml : {}
9+ ../../common/goss/templates/check-files.yaml : {}
Original file line number Diff line number Diff line change 1+ command :
2+ check-kes-version :
3+ exec :
4+ - /kes
5+ - --version
6+ exit-status : 0
7+ stdout :
8+ - {{ .Env.APP_VERSION }}
9+ check-kes-help :
10+ exec :
11+ - /kes
12+ - --help
13+ exit-status : 0
14+ # Replace "-" with "+" in the version string
15+ stderr :
16+ - Start a KES server
Original file line number Diff line number Diff line change 1+ files :
2+ - mode : " 0644"
3+ paths :
4+ - /opt/bitnami/kes/.spdx-kes.spdx
5+ - mode : " 0755"
6+ paths :
7+ - /kes
Original file line number Diff line number Diff line change 1+ {
2+ "context" : {
3+ "resources" : {
4+ "url" : " {SHA_ARCHIVE}" ,
5+ "path" : " {VIB_ENV_PATH}"
6+ },
7+ "runtime_parameters" : " Y29tbWFuZDogWyIvc2hhcmVkL2J1c3lib3giLCAic2xlZXAiLCAiMzYwMCJdCg=="
8+ },
9+ "phases" : {
10+ "package" : {
11+ "actions" : [
12+ {
13+ "action_id" : " container-image-package" ,
14+ "params" : {
15+ "application" : {
16+ "details" : {
17+ "name" : " {VIB_ENV_CONTAINER}" ,
18+ "tag" : " {VIB_ENV_TAG}"
19+ }
20+ },
21+ "architectures" : [
22+ " linux/amd64" ,
23+ " linux/arm64"
24+ ]
25+ }
26+ },
27+ {
28+ "action_id" : " container-image-lint" ,
29+ "params" : {
30+ "threshold" : " error"
31+ }
32+ }
33+ ]
34+ },
35+ "verify" : {
36+ "actions" : [
37+ {
38+ "action_id" : " goss" ,
39+ "params" : {
40+ "resources" : {
41+ "path" : " /.vib"
42+ },
43+ "tests_file" : " kes/goss/goss.yaml" ,
44+ "vars_file" : " kes/goss/vars.yaml" ,
45+ "remote" : {
46+ "pod" : {
47+ "workload" : " deploy-kes"
48+ }
49+ }
50+ }
51+ },
52+ {
53+ "action_id" : " trivy" ,
54+ "params" : {
55+ "threshold" : " LOW" ,
56+ "vuln_type" : [
57+ " OS"
58+ ]
59+ }
60+ },
61+ {
62+ "action_id" : " grype" ,
63+ "params" : {
64+ "threshold" : " CRITICAL" ,
65+ "package_type" : [
66+ " OS"
67+ ]
68+ }
69+ }
70+ ]
71+ }
72+ }
73+ }
You can’t perform that action at this time.
0 commit comments