[TNZ-60416] Adapt vib tests for kaniko bash (#86291)

Signed-off-by: David Gomez <david.gomez@broadcom.com>
This commit is contained in:
David Gomez 2025-09-24 10:01:14 +02:00 committed by GitHub
parent aa573729c6
commit 38edb57f5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 10 deletions

View File

@ -5,6 +5,11 @@ gossfile:
# Goss tests exclusive to the current container
../../kaniko/goss/kaniko.yaml: {}
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version-no-shell-stdout.yaml: {}
../../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-files.yaml: {}
../../common/goss/templates/check-linked-libraries.yaml: {}
../../common/goss/templates/check-sed-in-place.yaml: {}
../../common/goss/templates/check-spdx.yaml: {}

View File

@ -2,13 +2,12 @@ files:
- mode: "0644"
paths:
- /opt/bitnami/kaniko/.spdx-kaniko.spdx
- mode: "0755"
paths:
- /kaniko/docker-credential-acr-env
- /kaniko/docker-credential-ecr-login
- /kaniko/docker-credential-gcr
- /kaniko/executor
- /kaniko/warmer
binaries:
- docker-credential-acr-env
- docker-credential-ecr-login
- docker-credential-gcr
- executor
- warmer
version:
bin_name: /kaniko/executor
flag: version

View File

@ -4,7 +4,7 @@
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
},
"runtime_parameters": "Y29tbWFuZDogWyIvc2hhcmVkL2J1c3lib3giLCAic2xlZXAiLCAiMzYwMCJdCg=="
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
},
"phases": {
"package": {
@ -25,7 +25,7 @@
},
"size_thresholds": [
{
"size": "45MB",
"size": "60MB",
"kind": "COMPRESSED"
}
]