Files
charts/.vib/spring-cloud-dataflow/vib-verify.json
superaleks 8d67e1d058 [bitnami/spring-cloud-dataflow] Added the Spring Cloud Dataflow Helm chart tests (#9835)
* Created the Spring Cloud Dataflow tests

Signed-off-by: alukic <alukic@vmware.com>

* Trigger VIB for Spring Cloud Dataflow

Signed-off-by: alukic <alukic@vmware.com>

* Trigger version bump too

Signed-off-by: alukic <alukic@vmware.com>

* Removed comments

Signed-off-by: alukic <alukic@vmware.com>

* Change the pipeline syntax

Signed-off-by: alukic <alukic@vmware.com>

* Improved the tests, getting ready for the review'

Signed-off-by: alukic <alukic@vmware.com>

* Improved the tests

Signed-off-by: alukic <alukic@vmware.com>

* Added back the Goss tests

Signed-off-by: alukic <alukic@vmware.com>

* Made Goss tests even more minimalistic

Signed-off-by: alukic <alukic@vmware.com>

* Remove the test modification of files

Signed-off-by: alukic <alukic@vmware.com>

* Passed trough linter

Signed-off-by: alukic <alukic@vmware.com>

* Applied PR design suggestion

Signed-off-by: alukic <alukic@vmware.com>

* Updated tests, fixing the flaw in the design

Signed-off-by: alukic <alukic@vmware.com>

* Made changes in test design

Signed-off-by: alukic <alukic@vmware.com>

* Removed the plugin

Signed-off-by: alukic <alukic@vmware.com>

* Removed extra spaces

Signed-off-by: alukic <alukic@vmware.com>

* Fix the formatting issues

Signed-off-by: alukic <alukic@vmware.com>

* Remove a console log

Signed-off-by: alukic <alukic@vmware.com>

* Changed the locator from CSS selector

Signed-off-by: alukic <alukic@vmware.com>

* Applied the CR suggestions

Signed-off-by: alukic <alukic@vmware.com>

* Added regex to check if there are numbers in version

Signed-off-by: alukic <alukic@vmware.com>

* Improved code slightly

Signed-off-by: alukic <alukic@vmware.com>

* Apply PR suggestions

Signed-off-by: alukic <alukic@vmware.com>

* Applying PR suggestions

Signed-off-by: alukic <alukic@vmware.com>

* Applying PR suggestions

Signed-off-by: alukic <alukic@vmware.com>

* Locator change from CSS to text

Signed-off-by: alukic <alukic@vmware.com>

* Formatting, locator change

Signed-off-by: alukic <alukic@vmware.com>

* Used fixture instead of static value

Signed-off-by: alukic <alukic@vmware.com>

* Replaced CSS selectors with text

Signed-off-by: alukic <alukic@vmware.com>

* Apply review suggestions

Signed-off-by: alukic <alukic@vmware.com>

* Reorganised the fixtures

Signed-off-by: alukic <alukic@vmware.com>

* Removed the Plugins

Signed-off-by: alukic <alukic@vmware.com>

* Fix a typo

Signed-off-by: alukic <alukic@vmware.com>

* Non-o instead od 1001 user

Signed-off-by: alukic <alukic@vmware.com>

* Changed the Goss test

Signed-off-by: alukic <alukic@vmware.com>

* User ID test improvement, fixture fix

Signed-off-by: alukic <alukic@vmware.com>

* Renamed files

Signed-off-by: alukic <alukic@vmware.com>

* Applied peer review comments

Signed-off-by: alukic <alukic@vmware.com>
2022-05-11 17:17:08 +02:00

75 lines
1.7 KiB
JSON

{
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/spring-cloud-dataflow"
}
},
"actions": [
{
"action_id": "helm-package"
},
{
"action_id": "helm-lint"
}
]
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/spring-cloud-dataflow"
},
"runtime_parameters": "c2VydmVyOgogIHNlcnZpY2U6CiAgICB0eXBlOiBMb2FkQmFsYW5jZXIKICAgIHBvcnQ6IDgwCg==",
"target_platform": {
"target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
"size": {
"name": "S4"
}
}
},
"actions": [
{
"action_id": "trivy",
"params": {
"threshold": "CRITICAL",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "health-check",
"params": {
"endpoint": "lb-spring-cloud-dataflow-server-http",
"app_protocol": "HTTP"
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/spring-cloud-dataflow/goss"
},
"remote": {
"workload": "deploy-spring-cloud-dataflow-server"
}
}
},
{
"action_id": "cypress",
"params": {
"resources": {
"path": "/.vib/spring-cloud-dataflow/cypress"
},
"endpoint": "lb-spring-cloud-dataflow-server-http",
"app_protocol": "HTTP"
}
}
]
}
}
}