[bitnami/*]Modified the pipelines to contain breaking changes (#9179)

* Changes in the VE pipelines, formatting

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

* Triggering Redis and Wordpress pipeline. Will undo this change before final PR

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

* Removed the Readme changes, triggering both pipelines again

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

* Fixing Redis resilience test issue

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

* Added specific resilience tests

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

* Undo the readme changes, not needed

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

* Checkout readme file

Signed-off-by: superaleks <alukic@vmware.com>
This commit is contained in:
superaleks
2022-02-25 11:10:09 +01:00
committed by GitHub
parent 11c0116857
commit c0838b91ad
7 changed files with 179 additions and 187 deletions

View File

@@ -1,63 +1,66 @@
{
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"actions": [
{
"action_id": "helm-package"
}
]
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "YXV0aDoKICBwYXNzd29yZDogInRlc3RfcGFzc3dvcmQiCm1hc3RlcjoKICBjb250YWluZXJTZWN1cml0eUNvbnRleHQ6CiAgICBlbmFibGVkOiB0cnVlCiAgICBydW5Bc1VzZXI6IDEwMDIgCiAgcGVyc2lzdGVuY2U6CiAgICBwYXRoOiAvZGF0YS1wZXJzaXN0ZW5jZQpyZXBsaWNhOgogIHJlcGxpY2FDb3VudDogMgogIGNvbnRhaW5lclNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIHJ1bkFzVXNlcjogMTAwMg==",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
"actions": [
{
"action_id": "helm-package"
}
]
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "YXV0aDoKICBwYXNzd29yZDogInRlc3RfcGFzc3dvcmQiCm1hc3RlcjoKICBjb250YWluZXJTZWN1cml0eUNvbnRleHQ6CiAgICBlbmFibGVkOiB0cnVlCiAgICBydW5Bc1VzZXI6IDEwMDIgCiAgcGVyc2lzdGVuY2U6CiAgICBwYXRoOiAvZGF0YS1wZXJzaXN0ZW5jZQpyZXBsaWNhOgogIHJlcGxpY2FDb3VudDogMgogIGNvbnRhaW5lclNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIHJ1bkFzVXNlcjogMTAwMg==",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
}
}
},
"actions": [
{
"action_id":"resilience-tests",
"params": {
"test_cases": [
"testKubernetesPodDelete",
"testPodScaleUp",
"testPodScaleDown"
]
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/replicas/goss/goss-master"
},
"remote": {
"workload": "sts-redis-master"
}
}
},
"actions": [
{
"action_id":"resilience-tests"
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/replicas/goss/goss-master"
},
"config": {
"remote": {
"workload": "sts-redis-master"
}
}
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/replicas/goss/goss-replica"
},
"config": {
"remote": {
"workload": "sts-redis-replicas"
}
}
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/replicas/goss/goss-replica"
},
"remote": {
"workload": "sts-redis-replicas"
}
}
]
}
}
]
}
}
}

View File

@@ -1,50 +1,55 @@
{
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"actions": [
{
"action_id": "helm-package"
}
]
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "c2VudGluZWw6CiAgZW5hYmxlZDogdHJ1ZQ==",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
}
"actions": [
{
"action_id": "helm-package"
}
]
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "c2VudGluZWw6CiAgZW5hYmxlZDogdHJ1ZQ==",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
}
}
},
"actions": [
{
"action_id":"resilience-tests",
"params": {
"test_cases": [
"testKubernetesPodDelete",
"testPodScaleUp",
"testPodScaleDown"
]
}
},
"actions": [
{
"action_id":"resilience-tests"
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/sentinel"
},
"config": {
"remote": {
"workload": "sts-redis-node"
}
}
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/sentinel"
},
"remote": {
"workload": "sts-redis-node"
}
}
]
}
}
]
}
}
}

View File

@@ -1,50 +1,55 @@
{
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"actions": [
{
"action_id": "helm-package"
}
]
"phases": {
"package": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
}
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "YXJjaGl0ZWN0dXJlOiBzdGFuZGFsb25l",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
}
"actions": [
{
"action_id": "helm-package"
}
]
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/redis"
},
"runtime_parameters": "YXJjaGl0ZWN0dXJlOiBzdGFuZGFsb25l",
"target_platform": {
"target_platform_id": "{TARGET_PLATFORM}",
"size": {
"name": "S4"
}
}
},
"actions": [
{
"action_id":"resilience-tests",
"params": {
"test_cases": [
"testKubernetesPodDelete",
"testPodScaleUp",
"testPodScaleDown"
]
}
},
"actions": [
{
"action_id":"resilience-tests"
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/standalone"
},
"config": {
"remote": {
"workload": "sts-redis-master"
}
}
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib/redis/standalone"
},
"remote": {
"workload": "sts-redis-master"
}
}
]
}
}
]
}
}
}

View File

@@ -12,10 +12,7 @@
"action_id": "helm-package"
},
{
"action_id": "linter-packaging",
"params": {
"kind": "HELM"
}
"action_id": "helm-lint"
}
]
},
@@ -27,10 +24,8 @@
{
"action_id": "trivy",
"params": {
"config": {
"threshold": "CRITICAL",
"vuln_type": ["OS"]
}
"threshold": "CRITICAL",
"vuln_type": ["OS"]
}
}
]

View File

@@ -12,10 +12,7 @@
"action_id": "helm-package"
},
{
"action_id": "linter-packaging",
"params": {
"kind": "HELM"
}
"action_id": "helm-lint"
}
]
},
@@ -24,12 +21,10 @@
{
"action_id": "trivy",
"params": {
"config": {
"threshold": "CRITICAL",
"vuln_type": [
"OS"
]
}
"threshold": "CRITICAL",
"vuln_type": [
"OS"
]
}
}
]

View File

@@ -12,10 +12,7 @@
"action_id": "helm-package"
},
{
"action_id": "linter-packaging",
"params": {
"kind": "HELM"
}
"action_id": "helm-lint"
}
]
},
@@ -27,13 +24,11 @@
{
"action_id": "trivy",
"params": {
"config": {
"threshold": "CRITICAL",
"vuln_type": ["OS"]
}
"threshold": "CRITICAL",
"vuln_type": ["OS"]
}
}
]
}
}
}
}

View File

@@ -41,13 +41,11 @@
"resources": {
"path": "/.vib/wordpress/goss"
},
"config": {
"remote": {
"workload": "deploy-wordpress"
},
"wait": {
"file": "goss-wait.yaml"
}
"remote": {
"workload": "deploy-wordpress"
},
"wait": {
"file": "goss-wait.yaml"
}
}
},
@@ -57,13 +55,11 @@
"resources": {
"path": "/.vib/wordpress/cypress"
},
"config": {
"endpoint": "lb-wordpress-https",
"app_protocol": "HTTPS",
"env": {
"username": "test_user",
"password": "ComplicatedPassword123!4"
}
"endpoint": "lb-wordpress-https",
"app_protocol": "HTTPS",
"env": {
"username": "test_user",
"password": "ComplicatedPassword123!4"
}
}
},
@@ -73,14 +69,12 @@
"resources": {
"path": "/.vib/wordpress/jmeter"
},
"config": {
"test_plan_file": "wordpress.jmx",
"endpoint": "lb-wordpress-https",
"app_protocol": "HTTPS",
"env": {
"wordpress.username": "test_user",
"wordpress.password": "ComplicatedPassword123!4"
}
"test_plan_file": "wordpress.jmx",
"endpoint": "lb-wordpress-https",
"app_protocol": "HTTPS",
"env": {
"wordpress.username": "test_user",
"wordpress.password": "ComplicatedPassword123!4"
}
}
}