vib-verify.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "phases": {
  3. "package": {
  4. "context": {
  5. "credentials": [
  6. {
  7. "url": "{VIB_ENV_CHARTS_REGISTRY}",
  8. "authn": {
  9. "username": "{VIB_ENV_CHARTS_REGISTRY_USERNAME}",
  10. "password": "{VIB_ENV_CHARTS_REGISTRY_PASSWORD}"
  11. }
  12. }
  13. ],
  14. "resources": {
  15. "url": "{SHA_ARCHIVE}",
  16. "path": "/bitnami/rabbitmq"
  17. }
  18. },
  19. "actions": [
  20. {
  21. "action_id": "helm-package"
  22. },
  23. {
  24. "action_id": "helm-lint"
  25. }
  26. ]
  27. },
  28. "verify": {
  29. "context": {
  30. "resources": {
  31. "url": "{SHA_ARCHIVE}",
  32. "path": "/bitnami/rabbitmq"
  33. },
  34. "target_platform": {
  35. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  36. "size": {
  37. "name": "M4"
  38. }
  39. }
  40. },
  41. "actions": [
  42. {
  43. "action_id": "goss",
  44. "params": {
  45. "resources": {
  46. "path": "/.vib"
  47. },
  48. "tests_file": "rabbitmq/goss/goss.yaml",
  49. "vars_file": "rabbitmq/runtime-parameters.yaml",
  50. "remote": {
  51. "pod": {
  52. "workload": "sts-rabbitmq"
  53. }
  54. }
  55. }
  56. },
  57. {
  58. "action_id": "cypress",
  59. "params": {
  60. "resources": {
  61. "path": "/.vib/rabbitmq/cypress"
  62. },
  63. "endpoint": "lb-rabbitmq-http-stats",
  64. "app_protocol": "HTTP",
  65. "env": {
  66. "username": "test_user",
  67. "password": "ComplicatedPassword123!4"
  68. }
  69. }
  70. },
  71. {
  72. "action_id": "ginkgo",
  73. "params": {
  74. "resources": {
  75. "path": "/.vib/rabbitmq/ginkgo"
  76. },
  77. "params": {
  78. "kubeconfig": "{{kubeconfig}}",
  79. "namespace": "{{namespace}}",
  80. "name": "rabbitmq",
  81. "username": "test_user",
  82. "password": "ComplicatedPassword123!4"
  83. }
  84. }
  85. },
  86. {
  87. "action_id": "kubescape",
  88. "params": {
  89. "threshold": {VIB_ENV_KUBESCAPE_SCORE_THRESHOLD}
  90. }
  91. }
  92. ]
  93. }
  94. }
  95. }