mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 06:48:08 +08:00
* [bitnami/gitlab-runner-helper] Add tests for gitlab-runner-helper Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Fix indentation Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Add comment to try tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Delete comment to try tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Add gosu check, add template checks and remove directories checks Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Add version checker Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Delete directories checker Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Add change to docker-compose to trigger tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Delete changes in docker-compose Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Check gitlab-runner-build binary Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Add change in docker-compose to trigger tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/gitlab-runner-helper] Delete change in docker-compose Signed-off-by: Cori Avila <amisericordi@vmware.com> --------- Signed-off-by: Cori Avila <amisericordi@vmware.com>
70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"context": {
|
|
"resources": {
|
|
"url": "{SHA_ARCHIVE}",
|
|
"path": "{VIB_ENV_PATH}"
|
|
},
|
|
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
|
},
|
|
"phases": {
|
|
"package": {
|
|
"actions": [
|
|
{
|
|
"action_id": "container-image-package",
|
|
"params": {
|
|
"application": {
|
|
"details": {
|
|
"name": "{VIB_ENV_CONTAINER}",
|
|
"tag": "{VIB_ENV_TAG}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action_id": "container-image-lint",
|
|
"params": {
|
|
"threshold": "error"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"verify": {
|
|
"actions": [
|
|
{
|
|
"action_id": "goss",
|
|
"params": {
|
|
"resources": {
|
|
"path": "/.vib"
|
|
},
|
|
"tests_file": "gitlab-runner-helper/goss/goss.yaml",
|
|
"vars_file": "gitlab-runner-helper/goss/vars.yaml",
|
|
"remote": {
|
|
"pod": {
|
|
"workload": "deploy-gitlab-runner-helper"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action_id": "trivy",
|
|
"params": {
|
|
"threshold": "CRITICAL",
|
|
"vuln_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"action_id": "grype",
|
|
"params": {
|
|
"threshold": "CRITICAL",
|
|
"package_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|