[bitnami/external-dns] Add VIB tests (#34267)

Signed-off-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
Andrés Bono
2023-05-22 13:39:19 +02:00
committed by GitHub
parent d7c26c2375
commit 050a8f3e52
4 changed files with 49 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
gossfile:
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version.yaml: {}
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
../../common/goss/templates/check-linked-libraries.yaml: {}
../../common/goss/templates/check-sed-in-place.yaml: {}
../../common/goss/templates/check-spdx.yaml: {}

View File

@@ -0,0 +1,6 @@
binaries:
- external-dns
root_dir: /opt/bitnami
version:
bin_name: external-dns
flag: --version

View File

@@ -3,7 +3,8 @@
"resources": {
"url": "{VIB_ENV_CONTAINER_URL}",
"path": "{VIB_ENV_PATH}"
}
},
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
},
"phases": {
"package": {
@@ -82,6 +83,21 @@
}
}
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "external-dns/goss/goss.yaml",
"vars_file": "external-dns/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-external-dns"
}
}
}
}
]
},

View File

@@ -3,7 +3,8 @@
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
},
"phases": {
"package": {
@@ -46,6 +47,21 @@
"OS"
]
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "external-dns/goss/goss.yaml",
"vars_file": "external-dns/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-external-dns"
}
}
}
}
]
}